Interface Context.AfterTransmission
-
- All Superinterfaces:
Context.AfterMarshalling,Context.BeforeExecution,Context.BeforeMarshalling,Context.BeforeTransmission,Context.ModifyHttpRequest,Context.ModifyRequest
- All Known Subinterfaces:
Context.AfterExecution,Context.AfterUnmarshalling,Context.BeforeUnmarshalling,Context.ModifyHttpResponse,Context.ModifyResponse
- All Known Implementing Classes:
InterceptorContext
- Enclosing class:
- Context
@ThreadSafe public static interface Context.AfterTransmission extends Context.BeforeTransmission
The state of the execution when theExecutionInterceptor.afterTransmission(software.amazon.awssdk.core.interceptor.Context.AfterTransmission, software.amazon.awssdk.core.interceptor.ExecutionAttributes)method is invoked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SdkHttpResponsehttpResponse()The HTTP response returned by the service with which the SDK is communicating.Optional<InputStream>responseBody()TheInputStreamthat provides streaming content returned from the service.Optional<org.reactivestreams.Publisher<ByteBuffer>>responsePublisher()ThePublisherthat providesByteBufferevents upon request.-
Methods inherited from interface software.amazon.awssdk.core.interceptor.Context.AfterMarshalling
asyncRequestBody, httpRequest, requestBody
-
Methods inherited from interface software.amazon.awssdk.core.interceptor.Context.BeforeExecution
request
-
-
-
-
Method Detail
-
httpResponse
SdkHttpResponse httpResponse()
The HTTP response returned by the service with which the SDK is communicating.
-
responsePublisher
Optional<org.reactivestreams.Publisher<ByteBuffer>> responsePublisher()
ThePublisherthat providesByteBufferevents upon request.
-
responseBody
Optional<InputStream> responseBody()
TheInputStreamthat provides streaming content returned from the service.
-
-