Class DecodeUrlEncodedResponseInterceptor
java.lang.Object
software.amazon.awssdk.services.s3.internal.handlers.DecodeUrlEncodedResponseInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
public final class DecodeUrlEncodedResponseInterceptor
extends Object
implements ExecutionInterceptor
Encoding type affects the following values in the response:
- V1: Delimiter, Marker, Prefix, NextMarker, Key
- V2: Delimiter, Prefix, Key, and StartAfter
See https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGET.html and https://docs.aws.amazon.com/AmazonS3/latest/API/v2-RESTBucketGET.html
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmodifyResponse
(Context.ModifyResponse context, ExecutionAttributes executionAttributes) Modify theSdkResponse
before it is returned by the client.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.core.interceptor.ExecutionInterceptor
afterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, onExecutionFailure
-
Constructor Details
-
DecodeUrlEncodedResponseInterceptor
public DecodeUrlEncodedResponseInterceptor()
-
-
Method Details
-
modifyResponse
public SdkResponse modifyResponse(Context.ModifyResponse context, ExecutionAttributes executionAttributes) Description copied from interface:ExecutionInterceptor
Modify theSdkResponse
before it is returned by the client.- Specified by:
modifyResponse
in interfaceExecutionInterceptor
- Parameters:
context
- 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.- Returns:
- The potentially-modified SDK response that should be returned by the client. Must not be null.
-