public interface HttpErrorStatusListener
| Modifier and Type | Field and Description |
|---|---|
static HttpErrorStatusListener |
IGNORE_ERROR_STATUS |
| Modifier and Type | Method and Description |
|---|---|
static HttpErrorStatusListener |
compose(HttpErrorStatusListener... listeners) |
void |
proxyErrorOccurred(HttpResponseStatus status,
Throwable cause)
To be called when an exception was thrown in styx while proxying.
|
void |
proxyErrorOccurred(LiveHttpRequest request,
InetSocketAddress clientAddress,
HttpResponseStatus status,
Throwable cause)
To be called when an exception was thrown in styx while proxying.
|
void |
proxyErrorOccurred(Throwable cause)
To be called when an exception was thrown in styx while proxying.
|
void |
proxyingFailure(LiveHttpRequest request,
LiveHttpResponse response,
Throwable cause)
To be called when an exception was thrown in styx while proxying.
|
void |
proxyWriteFailure(LiveHttpRequest request,
LiveHttpResponse response,
Throwable cause)
To be called when an exception was thrown in styx while writing response.
|
static final HttpErrorStatusListener IGNORE_ERROR_STATUS
static HttpErrorStatusListener compose(HttpErrorStatusListener... listeners)
void proxyErrorOccurred(Throwable cause)
cause - the throwable class associated with this errorvoid proxyWriteFailure(LiveHttpRequest request, LiveHttpResponse response, Throwable cause)
cause - the throwable class associated with this errorvoid proxyingFailure(LiveHttpRequest request, LiveHttpResponse response, Throwable cause)
cause - the throwable class associated with this errorvoid proxyErrorOccurred(HttpResponseStatus status, Throwable cause)
status - HTTP response statuscause - the throwable class associated with this errorvoid proxyErrorOccurred(LiveHttpRequest request, InetSocketAddress clientAddress, HttpResponseStatus status, Throwable cause)
request - Proxied requeststatus - HTTP response statuscause - the throwable class associated with this errorCopyright © 2013–2020 Hotels.com. All rights reserved.