Class EventStreamInitialRequestInterceptor
- java.lang.Object
-
- software.amazon.awssdk.awscore.eventstream.EventStreamInitialRequestInterceptor
-
- All Implemented Interfaces:
ExecutionInterceptor
public class EventStreamInitialRequestInterceptor extends Object implements ExecutionInterceptor
An interceptor for event stream requests sent over RPC. This interceptor will prepend the initial request (i.e. the serialized request POJO) to the stream of events supplied by the caller.
-
-
Constructor Summary
Constructors Constructor Description EventStreamInitialRequestInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<AsyncRequestBody>
modifyAsyncHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
SdkHttpRequest
modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor
afterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
-
-
-
-
Method Detail
-
modifyHttpRequest
public SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
- Specified by:
modifyHttpRequest
in interfaceExecutionInterceptor
-
modifyAsyncHttpContent
public Optional<AsyncRequestBody> modifyAsyncHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
- Specified by:
modifyAsyncHttpContent
in interfaceExecutionInterceptor
-
-