default void |
ProxyListener.onAfterProxyToTargetHeadersSent(ProxyInfo info,
io.muserver.Headers headers) |
This is called if async method which used to send request headers has already called.
|
default void |
ProxyListener.onAfterTargetToProxyHeadersReceived(ProxyInfo info,
int status,
io.muserver.Headers headers) |
This is called if response headers has already received from target
|
default void |
ProxyListener.onBeforeProxyToTarget(ProxyInfo info,
io.muserver.Headers requestHeadersToTarget) |
This is called before sending a request to the target service
|
default void |
ProxyListener.onBeforeRespondingToClient(ProxyInfo info) |
This is called before sending the response to the client.
|
default void |
ProxyListener.onComplete(ProxyInfo proxyInfo) |
This is called after a response has been completed.
|
default void |
ProxyListener.onFailureToAcquireProxySocket(ProxyInfo proxyInfo) |
|
default void |
ProxyListener.onRequestBodyChunkSentToTarget(ProxyInfo info,
ByteBuffer chunk) |
Called when a chunk of request body data is sent to the target
This will be called many times if the body has been fragmented
|
default void |
ProxyListener.onRequestBodySentToTarget(ProxyInfo info) |
Called when the full request body has been received to the target
|
default void |
ProxyListener.onResponseBodyChunkReceived(ProxyInfo info) |
Called when the full response body has been received from the target
|
default void |
ProxyListener.onResponseBodyChunkReceivedFromTarget(ProxyInfo info,
ByteBuffer chunk) |
Called when a chunk of response body data is received from the target
This will be called many times if the body has been fragmented
|