Class GetBucketPolicyInterceptor
java.lang.Object
software.amazon.awssdk.services.s3.internal.handlers.GetBucketPolicyInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
@SdkInternalApi
public final class GetBucketPolicyInterceptor
extends Object
implements ExecutionInterceptor
GetBucketPolicy returns just JSON so we wrap in XML so that it is unmarshalled correctly.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.reactivestreams.Publisher<ByteBuffer>>modifyAsyncHttpResponseContent(Context.ModifyHttpResponse context, ExecutionAttributes executionAttributes) modifyHttpResponseContent(Context.ModifyHttpResponse context, ExecutionAttributes executionAttributes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor
afterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyRequest, modifyResponse, onExecutionFailure
-
Constructor Details
-
GetBucketPolicyInterceptor
public GetBucketPolicyInterceptor()
-
-
Method Details
-
modifyHttpResponseContent
public Optional<InputStream> modifyHttpResponseContent(Context.ModifyHttpResponse context, ExecutionAttributes executionAttributes) - Specified by:
modifyHttpResponseContentin interfaceExecutionInterceptor
-
modifyAsyncHttpResponseContent
public Optional<org.reactivestreams.Publisher<ByteBuffer>> modifyAsyncHttpResponseContent(Context.ModifyHttpResponse context, ExecutionAttributes executionAttributes) - Specified by:
modifyAsyncHttpResponseContentin interfaceExecutionInterceptor
-