public class EC2Interceptor extends Object implements ExecutionInterceptor
| Constructor and Description |
|---|
EC2Interceptor() |
| Modifier and Type | Method and Description |
|---|---|
SdkHttpFullRequest |
modifyHttpRequest(Context.ModifyHttpRequest context,
ExecutionAttributes executionAttributes)
Modify the
SdkHttpFullRequest before it is sent to the service. |
SdkResponse |
modifyResponse(Context.ModifyResponse context,
ExecutionAttributes executionAttributes)
Modify the
SdkResponse before it is returned by the client. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyHttpResponse, modifyRequest, onExecutionFailurepublic SdkHttpFullRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
ExecutionInterceptorSdkHttpFullRequest before it is sent to the service.modifyHttpRequest in interface ExecutionInterceptorcontext - The current state of the execution, including the SDK and current HTTP request.executionAttributes - A mutable set of attributes scoped to one specific request/response cycle that can be used to
give data to future lifecycle methods.public SdkResponse modifyResponse(Context.ModifyResponse context, ExecutionAttributes executionAttributes)
ExecutionInterceptorSdkResponse before it is returned by the client.modifyResponse in interface ExecutionInterceptorcontext - The current state of the execution, including the SDK and HTTP requests as well as the SDK and HTTP
response.executionAttributes - A mutable set of attributes scoped to one specific request/response cycle that can be used to
give data to future lifecycle methods.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.