public class HttpOperationFailedException
extends org.apache.camel.CamelException
Constructor and Description |
---|
HttpOperationFailedException(String uri,
int statusCode,
String statusText,
String location,
Map<String,String> responseHeaders,
String responseBody) |
Modifier and Type | Method and Description |
---|---|
String |
getRedirectLocation() |
String |
getResponseBody() |
Map<String,String> |
getResponseHeaders() |
int |
getStatusCode() |
String |
getStatusText() |
String |
getUri() |
boolean |
hasRedirectLocation() |
boolean |
isRedirectError() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getUri()
public boolean isRedirectError()
public boolean hasRedirectLocation()
public String getRedirectLocation()
public int getStatusCode()
public String getStatusText()
public String getResponseBody()
Apache Camel