Interface ReceiveHeadersCallback
- All Superinterfaces:
Callback
,NetworkCallback
,NetworkSyncCallback<ReceiveHeadersCallback.Params,
,ReceiveHeadersCallback.Response> SyncCallback<ReceiveHeadersCallback.Params,
ReceiveHeadersCallback.Response>
public interface ReceiveHeadersCallback
extends NetworkSyncCallback<ReceiveHeadersCallback.Params,ReceiveHeadersCallback.Response>
The callback is invoked when the response headers have been received for a URL request.
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.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The parameters of theReceiveHeadersCallback
.static interface
A response forReceiveHeadersCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.SyncCallback
on