Class BaseSyncClientHandler

java.lang.Object
software.amazon.awssdk.core.internal.handler.BaseClientHandler
software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler
All Implemented Interfaces:
AutoCloseable, SyncClientHandler, SdkAutoCloseable
Direct Known Subclasses:
SdkSyncClientHandler

public abstract class BaseSyncClientHandler extends BaseClientHandler implements SyncClientHandler
  • Method Details

    • execute

      public <InputT extends SdkRequest, OutputT extends SdkResponse, ReturnT> ReturnT execute(ClientExecutionParams<InputT,OutputT> executionParams, ResponseTransformer<OutputT,ReturnT> responseTransformer)
      Description copied from interface: SyncClientHandler
      Execute's a streaming web service request. Handles marshalling and unmarshalling of data and making the underlying HTTP call(s).
      Specified by:
      execute in interface SyncClientHandler
      Type Parameters:
      InputT - Input POJO type
      OutputT - Output POJO type
      ReturnT - Transformed result returned by responseTransformer. Returned by this method.
      Parameters:
      executionParams - Parameters specific to this invocation of an API.
      responseTransformer - Response handler for a streaming response. Receives unmarshalled POJO and input stream and returns a transformed result.
      Returns:
      Transformed result as returned by responseTransformer.
    • execute

      public <InputT extends SdkRequest, OutputT extends SdkResponse> OutputT execute(ClientExecutionParams<InputT,OutputT> executionParams)
      Description copied from interface: SyncClientHandler
      Execute's a web service request. Handles marshalling and unmarshalling of data and making the underlying HTTP call(s).
      Specified by:
      execute in interface SyncClientHandler
      Type Parameters:
      InputT - Input POJO type
      OutputT - Output POJO type
      Parameters:
      executionParams - Parameters specific to this invocation of an API.
      Returns:
      Unmarshalled output POJO type.
    • close

      public void close()
      Description copied from interface: SdkAutoCloseable
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface SdkAutoCloseable