public class NettyHttpOperationFailedException
extends org.apache.camel.CamelException
Constructor and Description |
---|
NettyHttpOperationFailedException(String uri,
int statusCode,
String statusText,
String location,
org.jboss.netty.handler.codec.http.HttpResponse response) |
Modifier and Type | Method and Description |
---|---|
String |
getRedirectLocation() |
org.jboss.netty.handler.codec.http.HttpResponse |
getResponse()
Gets the
HttpResponse . |
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 org.jboss.netty.handler.codec.http.HttpResponse getResponse()
HttpResponse
.
Notice this may be null if this exception has been serialized,
as the HttpResponse
instance is marked as transient in this class.Apache Camel