public final class GetBucketPolicyInterceptor extends Object implements ExecutionInterceptor
| Constructor and Description |
|---|
GetBucketPolicyInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Optional<InputStream> |
modifyHttpResponseContent(Context.ModifyHttpResponse context,
ExecutionAttributes executionAttributes)
Modify the
SdkHttpFullRequest before it is unmarshalled into an SdkResponse. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyRequest, modifyResponse, onExecutionFailurepublic Optional<InputStream> modifyHttpResponseContent(Context.ModifyHttpResponse context, ExecutionAttributes executionAttributes)
ExecutionInterceptorSdkHttpFullRequest before it is unmarshalled into an SdkResponse.
Note: Unlike many other lifecycle methods, this one may be invoked multiple times. If the RetryPolicy determines
the error code returned by the service is retriable, this will be invoked for each response returned by the service.
modifyHttpResponseContent in interface ExecutionInterceptorcontext - The current state of the execution, including the SDK and HTTP requests and the current 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.