Interface BeforeStartTransactionCallback

All Superinterfaces:
Callback, NetworkCallback, NetworkSyncCallback<BeforeStartTransactionCallback.Params,BeforeStartTransactionCallback.Response>, SyncCallback<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.