public final class InterceptorContext extends Object implements Context.AfterExecution, ToCopyableBuilder<InterceptorContext.Builder,InterceptorContext>
Context.AfterExecution and its parent interfaces.| Modifier and Type | Class and Description |
|---|---|
static class |
InterceptorContext.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InterceptorContext.Builder |
builder() |
SdkHttpFullRequest |
httpRequest()
The
SdkHttpFullRequest that was created as a result of marshalling the Context.BeforeExecution.request(). |
SdkHttpFullResponse |
httpResponse()
The HTTP response returned by the service with which the SDK is communicating.
|
SdkRequest |
request()
The
SdkRequest to be executed. |
SdkResponse |
response()
The
SdkResponse that was generated by unmarshalling the Context.AfterTransmission.httpResponse(). |
InterceptorContext.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopypublic static InterceptorContext.Builder builder()
public InterceptorContext.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<InterceptorContext.Builder,InterceptorContext>public SdkRequest request()
Context.BeforeExecutionSdkRequest to be executed.request in interface Context.BeforeExecutionpublic SdkHttpFullRequest httpRequest()
Context.AfterMarshallingSdkHttpFullRequest that was created as a result of marshalling the Context.BeforeExecution.request(). This is the HTTP
request that will be sent to the downstream service.httpRequest in interface Context.AfterMarshallingpublic SdkHttpFullResponse httpResponse()
Context.AfterTransmissionhttpResponse in interface Context.AfterTransmissionpublic SdkResponse response()
Context.AfterUnmarshallingSdkResponse that was generated by unmarshalling the Context.AfterTransmission.httpResponse().response in interface Context.AfterUnmarshallingCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.