public class NettyHttpOperationFailedException
extends org.apache.camel.CamelException
| Constructor and Description |
|---|
NettyHttpOperationFailedException(String uri,
int statusCode,
String statusText,
String location,
io.netty.handler.codec.http.HttpContent content) |
| Modifier and Type | Method and Description |
|---|---|
io.netty.handler.codec.http.HttpContent |
getHttpContent()
Gets the
HttpContent. |
String |
getRedirectLocation() |
int |
getStatusCode() |
String |
getStatusText() |
String |
getUri() |
boolean |
hasRedirectLocation() |
boolean |
isRedirectError() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getUri()
public boolean isRedirectError()
public boolean hasRedirectLocation()
public String getRedirectLocation()
public int getStatusCode()
public String getStatusText()
public io.netty.handler.codec.http.HttpContent getHttpContent()
HttpContent.
Notice this may be null if this exception has been serialized,
as the HttpContent instance is marked as transient in this class.Apache Camel