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 Details

    • DecodeUrlEncodedResponseInterceptor

      public DecodeUrlEncodedResponseInterceptor()
  • Method Details

    • modifyResponse

      public SdkResponse modifyResponse(Context.ModifyResponse context, ExecutionAttributes executionAttributes)
      Description copied from interface: ExecutionInterceptor
      Modify the SdkResponse before it is returned by the client.
      Specified by:
      modifyResponse in interface ExecutionInterceptor
      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.