public interface ProxyCallback<T>
Modifier and Type | Method | Description |
---|---|---|
void |
completed(HttpServerExchange exchange,
T result) |
|
void |
couldNotResolveBackend(HttpServerExchange exchange) |
Callback if no backend server could be found.
|
void |
failed(HttpServerExchange exchange) |
Callback if establishing the connection to a backend server fails.
|
void |
queuedRequestFailed(HttpServerExchange exchange) |
This is invoked when the target connection pool transitions to problem status.
|
void completed(HttpServerExchange exchange, T result)
void failed(HttpServerExchange exchange)
exchange
- the http server exchangevoid couldNotResolveBackend(HttpServerExchange exchange)
exchange
- the http server exchangevoid queuedRequestFailed(HttpServerExchange exchange)
exchange
- The exchangeCopyright © 2018. All rights reserved.