Interface BeforeStartTransactionCallback
- All Superinterfaces:
Callback
,NetworkCallback
,NetworkSyncCallback<BeforeStartTransactionCallback.Params,
,BeforeStartTransactionCallback.Response> SyncCallback<BeforeStartTransactionCallback.Params,
BeforeStartTransactionCallback.Response>
public interface BeforeStartTransactionCallback
extends NetworkSyncCallback<BeforeStartTransactionCallback.Params,BeforeStartTransactionCallback.Response>
The callback that is invoked before the network transaction starts.
The callback can be used to override the HTTP headers before they are sent out.
Use the BeforeStartTransactionCallback.Response.override(List)
method to modify the HTTP headers.
Use the BeforeStartTransactionCallback.Response.proceed()
method if you do not need to modify the headers.
If the callback throws an exception, the BeforeStartTransactionCallback.Response.proceed()
method will be invoked.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The parameters of theBeforeStartTransactionCallback
.static interface
A response forBeforeStartTransactionCallback
. -
Method Summary
Methods inherited from interface com.teamdev.jxbrowser.callback.SyncCallback
on