Class InterceptorContext
java.lang.Object
software.amazon.awssdk.core.interceptor.InterceptorContext
- All Implemented Interfaces:
 Context.AfterExecution,Context.AfterMarshalling,Context.AfterTransmission,Context.AfterUnmarshalling,Context.BeforeExecution,Context.BeforeMarshalling,Context.BeforeTransmission,Context.BeforeUnmarshalling,Context.ModifyHttpRequest,Context.ModifyHttpResponse,Context.ModifyRequest,Context.ModifyResponse,ToCopyableBuilder<InterceptorContext.Builder,InterceptorContext> 
public final class InterceptorContext
extends Object
implements Context.AfterExecution, Context.ModifyHttpRequest, ToCopyableBuilder<InterceptorContext.Builder,InterceptorContext> 
An SDK-internal implementation of 
Context.AfterExecution and its parent interfaces.- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionTheAsyncRequestBodythat allows non-blocking streaming of request content.static InterceptorContext.Builderbuilder()TheSdkHttpRequestthat was created as a result of marshalling theContext.BeforeExecution.request().The HTTP response returned by the service with which the SDK is communicating.request()TheSdkRequestto be executed.TheRequestBodythat represents the body of an HTTP request.response()TheSdkResponsethat was generated by unmarshalling theContext.AfterTransmission.httpResponse().TheInputStreamthat provides streaming content returned from the service.Optional<org.reactivestreams.Publisher<ByteBuffer>> ThePublisherthat providesByteBufferevents upon request.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy 
- 
Method Details
- 
builder
 - 
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToCopyableBuilder<InterceptorContext.Builder,InterceptorContext> - Returns:
 - a builder for type T
 
 - 
request
Description copied from interface:Context.BeforeExecutionTheSdkRequestto be executed.- Specified by:
 requestin interfaceContext.BeforeExecution
 - 
requestBody
Description copied from interface:Context.AfterMarshallingTheRequestBodythat represents the body of an HTTP request.- Specified by:
 requestBodyin interfaceContext.AfterMarshalling
 - 
asyncRequestBody
Description copied from interface:Context.AfterMarshallingTheAsyncRequestBodythat allows non-blocking streaming of request content.- Specified by:
 asyncRequestBodyin interfaceContext.AfterMarshalling
 - 
responsePublisher
Description copied from interface:Context.AfterTransmissionThePublisherthat providesByteBufferevents upon request.- Specified by:
 responsePublisherin interfaceContext.AfterTransmission
 - 
httpRequest
Description copied from interface:Context.AfterMarshallingTheSdkHttpRequestthat was created as a result of marshalling theContext.BeforeExecution.request(). This is the HTTP request that will be sent to the downstream service.- Specified by:
 httpRequestin interfaceContext.AfterMarshalling
 - 
httpResponse
Description copied from interface:Context.AfterTransmissionThe HTTP response returned by the service with which the SDK is communicating.- Specified by:
 httpResponsein interfaceContext.AfterTransmission
 - 
responseBody
Description copied from interface:Context.AfterTransmissionTheInputStreamthat provides streaming content returned from the service.- Specified by:
 responseBodyin interfaceContext.AfterTransmission
 - 
response
Description copied from interface:Context.AfterUnmarshallingTheSdkResponsethat was generated by unmarshalling theContext.AfterTransmission.httpResponse().- Specified by:
 responsein interfaceContext.AfterUnmarshalling
 
 -