| Modifier and Type | Field and Description |
|---|---|
| private final ReactiveRequest |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | onBegin(Request
the request that begins being processed request)Overrides default org. |
| public void | onCommit(Request
the request that has been committed request)Overrides default org. |
| public void | onContent(Request
the request that has been committed request, ByteBuffer the content content)Overrides default org. |
| public void | onFailure(Request
the request that failed request, Throwable the failure failure)Overrides default org. |
| public void | onHeaders(Request
the request that is about to be committed request)Overrides default org. |
| public void | onQueued(Request
the request being queued request)Overrides default org. |
| public void | onSuccess(Request
the request sent request)Overrides default org. |
| request | back to summary |
|---|---|
| private final ReactiveRequest request | |
| RequestEventPublisher | back to summary |
|---|---|
| public RequestEventPublisher(ReactiveRequest request) | |
| onBegin | back to summary |
|---|---|
| public void onBegin(Request request) Overrides default org. Doc from org. Callback method invoked when the request begins being processed in order to be sent. This is the last opportunity to modify the request. | |
| onCommit | back to summary |
|---|---|
| public void onCommit(Request request) Overrides default org. Doc from org. Callback method invoked when the request headers (and perhaps small content) have been sent. The request is now committed, and in transit to the server, and further modifications to the request may have no effect. | |
| onContent | back to summary |
|---|---|
| public void onContent(Request request, ByteBuffer content) Overrides default org. Doc from org. Callback method invoked when a chunk of request content has been sent successfully. Changes to bytes in the given buffer have no effect, as the content has already been sent.
| |
| onFailure | back to summary |
|---|---|
| public void onFailure(Request request, Throwable failure) Overrides default org. Doc from org. Callback method invoked when the request has failed to be sent | |
| onHeaders | back to summary |
|---|---|
| public void onHeaders(Request request) Overrides default org. Doc from org. Callback method invoked when the request headers (and perhaps small content) are ready to be sent. The request has been converted into bytes, but not yet sent to the server, and further modifications to the request may have no effect. | |
| onQueued | back to summary |
|---|---|
| public void onQueued(Request request) Overrides default org. Doc from org. Callback method invoked when the request is queued, waiting to be sent | |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(Request request) Overrides default org. Doc from org. Callback method invoked when the request has been successfully sent. | |