public interface BeforeStartTransactionCallback extends NetworkSyncCallback<BeforeStartTransactionCallback.Params,BeforeStartTransactionCallback.Response>
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.
Modifier and Type | Interface and Description |
---|---|
static interface |
BeforeStartTransactionCallback.Params
The parameters of the
BeforeStartTransactionCallback . |
static interface |
BeforeStartTransactionCallback.Response
A response for
BeforeStartTransactionCallback . |
on