Class AcceptJsonInterceptor

java.lang.Object
software.amazon.awssdk.services.glacier.internal.AcceptJsonInterceptor
All Implemented Interfaces:
ExecutionInterceptor

public final class AcceptJsonInterceptor extends Object implements ExecutionInterceptor
  • Constructor Details

    • AcceptJsonInterceptor

      public AcceptJsonInterceptor()
  • Method Details

    • modifyHttpRequest

      public SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
      Description copied from interface: ExecutionInterceptor
      Modify the SdkHttpFullRequest before it is sent to the service.
      Specified by:
      modifyHttpRequest in interface ExecutionInterceptor
      Parameters:
      context - 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.
      Returns:
      The potentially-modified HTTP request that should be sent to the service. Must not be null.