public interface ReceiveHeadersCallback extends NetworkSyncCallback<ReceiveHeadersCallback.Params,ReceiveHeadersCallback.Response>
The callback can be used to add, modify, or remove the HTTP headers received over the network.
Use the ReceiveHeadersCallback.Response.override(List)
method to override the response headers.
Use the ReceiveHeadersCallback.Response.proceed()
method if you do not need to modify the headers.
If the callback throws an exception, the ReceiveHeadersCallback.Response.proceed()
method will be invoked.
Modifier and Type | Interface and Description |
---|---|
static interface |
ReceiveHeadersCallback.Params
The parameters of the
ReceiveHeadersCallback . |
static interface |
ReceiveHeadersCallback.Response
A response for
ReceiveHeadersCallback . |
on