public interface BeforeSendProxyHeadersCallback extends NetworkSyncCallback<BeforeSendProxyHeadersCallback.Params,BeforeSendProxyHeadersCallback.Response>
The callback can be used to add, modify, and delete the HTTP request headers before they will be sent to a web server.
Use the BeforeSendProxyHeadersCallback.Response.override(List) to modify the HTTP request headers.
Use the BeforeSendProxyHeadersCallback.Response.proceed() method if you do not need to modify the headers.
If the callback throws an exception, the BeforeSendProxyHeadersCallback.Response.proceed() method will be invoked.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BeforeSendProxyHeadersCallback.Params
The parameters of the
BeforeSendProxyHeadersCallback. |
static interface |
BeforeSendProxyHeadersCallback.Response
A response for
BeforeSendProxyHeadersCallback. |
on