public class HttpClientException extends AbortedException
| Constructor and Description |
|---|
HttpClientException(java.lang.String uri,
io.netty.handler.codec.http.HttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
fillInStackTrace() |
io.netty.handler.codec.http.HttpHeaders |
headers()
Return the HTTP response headers
|
io.netty.handler.codec.http.HttpResponse |
message()
Return the netty HTTP response message
Note: When the message is of type
FullHttpResponse then ReferenceCounted.release()
has to be invoked after consuming the response. |
io.netty.handler.codec.http.HttpResponseStatus |
status()
Return the HTTP status
|
java.lang.String |
uri()
Return the original request uri
|
isConnectionResetpublic HttpClientException(java.lang.String uri,
io.netty.handler.codec.http.HttpResponse response)
public io.netty.handler.codec.http.HttpResponseStatus status()
public io.netty.handler.codec.http.HttpHeaders headers()
public io.netty.handler.codec.http.HttpResponse message()
FullHttpResponse then ReferenceCounted.release()
has to be invoked after consuming the response.public java.lang.String uri()
public java.lang.Throwable fillInStackTrace()
fillInStackTrace in class AbortedException