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:
- Serializable
public class HttpOperationFailedException
- extends org.apache.camel.CamelException
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
HttpOperationFailedException
public HttpOperationFailedException(String uri,
int statusCode,
String statusText,
String location,
Map<String,String> responseHeaders,
String responseBody)
getUri
public String getUri()
isRedirectError
public boolean isRedirectError()
hasRedirectLocation
public boolean hasRedirectLocation()
getRedirectLocation
public String getRedirectLocation()
getStatusCode
public int getStatusCode()
getStatusText
public String getStatusText()
getResponseHeaders
public Map<String,String> getResponseHeaders()
getResponseBody
public String getResponseBody()
Apache CAMEL