Class EventStreamInitialRequestInterceptor
java.lang.Object
software.amazon.awssdk.awscore.eventstream.EventStreamInitialRequestInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
@SdkProtectedApi
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 -
Method Summary
Modifier and TypeMethodDescriptionmodifyAsyncHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
EventStreamInitialRequestInterceptor
public EventStreamInitialRequestInterceptor()
-
-
Method Details
-
modifyHttpRequest
public SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) - Specified by:
modifyHttpRequestin interfaceExecutionInterceptor
-
modifyAsyncHttpContent
public Optional<AsyncRequestBody> modifyAsyncHttpContent(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) - Specified by:
modifyAsyncHttpContentin interfaceExecutionInterceptor
-