org.apache.camel.component.ahc
Class AhcOperationFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.CamelException
org.apache.camel.component.ahc.AhcOperationFailedException
- All Implemented Interfaces:
- Serializable
public class AhcOperationFailedException
- 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 |
AhcOperationFailedException
public AhcOperationFailedException(String url,
int statusCode,
String statusText,
String location,
Map<String,String> responseHeaders,
String responseBody)
getUrl
public String getUrl()
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