Interface Context.AfterMarshalling
- All Superinterfaces:
Context.BeforeExecution,Context.BeforeMarshalling,Context.ModifyRequest
- All Known Subinterfaces:
Context.AfterExecution,Context.AfterTransmission,Context.AfterUnmarshalling,Context.BeforeTransmission,Context.BeforeUnmarshalling,Context.ModifyHttpRequest,Context.ModifyHttpResponse,Context.ModifyResponse
- All Known Implementing Classes:
InterceptorContext
- Enclosing class:
Context
The state of the execution when the
ExecutionInterceptor.afterMarshalling(software.amazon.awssdk.core.interceptor.Context.AfterMarshalling, software.amazon.awssdk.core.interceptor.ExecutionAttributes) method is invoked.-
Method Summary
Modifier and TypeMethodDescriptionTheAsyncRequestBodythat allows non-blocking streaming of request content.TheSdkHttpRequestthat was created as a result of marshalling theContext.BeforeExecution.request().TheRequestBodythat represents the body of an HTTP request.Methods inherited from interface software.amazon.awssdk.core.interceptor.Context.BeforeExecution
request
-
Method Details
-
httpRequest
SdkHttpRequest httpRequest()TheSdkHttpRequestthat was created as a result of marshalling theContext.BeforeExecution.request(). This is the HTTP request that will be sent to the downstream service. -
requestBody
Optional<RequestBody> requestBody()TheRequestBodythat represents the body of an HTTP request. -
asyncRequestBody
Optional<AsyncRequestBody> asyncRequestBody()TheAsyncRequestBodythat allows non-blocking streaming of request content.
-