| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final RequestInterceptor[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static RequestInterceptor | |
| public void | dispose()
Implements reactor. |
| public void | onCancel(int
used by this request streamId, FrameType of the request. Must be one of the following types requestType)FrameType#REQUEST_FNF, FrameType#REQUEST_RESPONSE, FrameType#REQUEST_STREAM or FrameType#REQUEST_CHANNELImplements io. |
| public void | onReject(Throwable
exception which causes rejection of a particular request rejectionReason, FrameType of the request. Must be one of the following types requestType, ByteBuf FrameType#REQUEST_FNF, FrameType#REQUEST_RESPONSE, FrameType#REQUEST_STREAM or FrameType#REQUEST_CHANNELtaken from the initial frame metadata)Implements io. |
| public void | onStart(int
used for the request streamId, FrameType of the request. Must be one of the following types requestType, ByteBuf FrameType#REQUEST_FNF, FrameType#REQUEST_RESPONSE, FrameType#REQUEST_STREAM or FrameType#REQUEST_CHANNELtaken from the initial frame metadata)Implements io. |
| public void | onTerminate(int
used by this request streamId, FrameType of the request. Must be one of the following types requestType, Throwable FrameType#REQUEST_FNF, FrameType#REQUEST_RESPONSE, FrameType#REQUEST_STREAM or FrameType#REQUEST_CHANNELwith which this finished has terminated. Must be one of the following signals cause)Implements io. |
| requestInterceptors | back to summary |
|---|---|
| pack-priv final RequestInterceptor[] requestInterceptors | |
| CompositeRequestInterceptor | back to summary |
|---|---|
| pack-priv CompositeRequestInterceptor(RequestInterceptor[] requestInterceptors) | |
| create | back to summary |
|---|---|
pack-priv static RequestInterceptor create(List<RequestInterceptor> interceptors)
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements reactor. Doc from reactor. Cancel or dispose the underlying task or resource. Implementations are required to make this method idempotent.
| |
| onCancel | back to summary |
|---|---|
| public void onCancel(int streamId, FrameType requestType) Implements io. Doc from io. Method which is being invoked once a successfully accepted request is cancelled. This method
can be invoked only after the
| |
| onReject | back to summary |
|---|---|
| public void onReject(Throwable rejectionReason, FrameType requestType, ByteBuf metadata) Implements io. Doc from io. Method which is being invoked on the request rejection. This method is being called only if the
actual request can not be started and is called instead of the
| |
| onStart | back to summary |
|---|---|
| public void onStart(int streamId, FrameType requestType, ByteBuf metadata) Implements io. Doc from io. Method which is being invoked on successful acceptance and start of a request.
| |
| onTerminate | back to summary |
|---|---|
| public void onTerminate(int streamId, FrameType requestType, Throwable cause) Implements io. Doc from io. Method which is being invoked once a successfully accepted request is terminated. This method
can be invoked only after the
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final RequestInterceptor |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements reactor. |
| public boolean | isDisposed()
Overrides default reactor. |
| public void | onCancel(int
used by this request streamId, FrameType of the request. Must be one of the following types requestType)FrameType#REQUEST_FNF, FrameType#REQUEST_RESPONSE, FrameType#REQUEST_STREAM or FrameType#REQUEST_CHANNELImplements io. |
| public void | onReject(Throwable
exception which causes rejection of a particular request rejectionReason, FrameType of the request. Must be one of the following types requestType, ByteBuf FrameType#REQUEST_FNF, FrameType#REQUEST_RESPONSE, FrameType#REQUEST_STREAM or FrameType#REQUEST_CHANNELtaken from the initial frame metadata)Implements io. |
| public void | onStart(int
used for the request streamId, FrameType of the request. Must be one of the following types requestType, ByteBuf FrameType#REQUEST_FNF, FrameType#REQUEST_RESPONSE, FrameType#REQUEST_STREAM or FrameType#REQUEST_CHANNELtaken from the initial frame metadata)Implements io. |
| public void | onTerminate(int
used by this request streamId, FrameType of the request. Must be one of the following types requestType, Throwable FrameType#REQUEST_FNF, FrameType#REQUEST_RESPONSE, FrameType#REQUEST_STREAM or FrameType#REQUEST_CHANNELwith which this finished has terminated. Must be one of the following signals cause)Implements io. |
| requestInterceptor | back to summary |
|---|---|
| pack-priv final RequestInterceptor requestInterceptor | |
| SafeRequestInterceptor | back to summary |
|---|---|
| public SafeRequestInterceptor(RequestInterceptor requestInterceptor) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements reactor. Doc from reactor. Cancel or dispose the underlying task or resource. Implementations are required to make this method idempotent.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Overrides default reactor. Doc from reactor. Optionally return true when the resource or task is disposed. Implementations are not required to track disposition and as such may never return true even when disposed. However, they MUST only return true when there's a guarantee the resource or task is disposed.
| |
| onCancel | back to summary |
|---|---|
| public void onCancel(int streamId, FrameType requestType) Implements io. Doc from io. Method which is being invoked once a successfully accepted request is cancelled. This method
can be invoked only after the
| |
| onReject | back to summary |
|---|---|
| public void onReject(Throwable rejectionReason, FrameType requestType, ByteBuf metadata) Implements io. Doc from io. Method which is being invoked on the request rejection. This method is being called only if the
actual request can not be started and is called instead of the
| |
| onStart | back to summary |
|---|---|
| public void onStart(int streamId, FrameType requestType, ByteBuf metadata) Implements io. Doc from io. Method which is being invoked on successful acceptance and start of a request.
| |
| onTerminate | back to summary |
|---|---|
| public void onTerminate(int streamId, FrameType requestType, Throwable cause) Implements io. Doc from io. Method which is being invoked once a successfully accepted request is terminated. This method
can be invoked only after the
| |