org.apache.camel.component.http
Class HttpOperationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.component.http.HttpOperationFailedException
- All Implemented Interfaces:
- java.io.Serializable
public class HttpOperationFailedException
- extends org.apache.camel.CamelException
- See Also:
- Serialized Form
Constructor Summary |
HttpOperationFailedException(java.lang.String uri,
int statusCode,
java.lang.String statusText,
java.lang.String location,
java.util.Map<java.lang.String,java.lang.String> responseHeaders,
java.lang.String responseBody)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
HttpOperationFailedException
public HttpOperationFailedException(java.lang.String uri,
int statusCode,
java.lang.String statusText,
java.lang.String location,
java.util.Map<java.lang.String,java.lang.String> responseHeaders,
java.lang.String responseBody)
getUri
public java.lang.String getUri()
isRedirectError
public boolean isRedirectError()
hasRedirectLocation
public boolean hasRedirectLocation()
getRedirectLocation
public java.lang.String getRedirectLocation()
getStatusCode
public int getStatusCode()
getStatusText
public java.lang.String getStatusText()
getResponseHeaders
public java.util.Map<java.lang.String,java.lang.String> getResponseHeaders()
getResponseBody
public java.lang.String getResponseBody()
Apache CAMEL