Class SdkSyncClientHandler
- java.lang.Object
-
- software.amazon.awssdk.core.internal.handler.BaseClientHandler
-
- software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler
-
- software.amazon.awssdk.core.client.handler.SdkSyncClientHandler
-
- All Implemented Interfaces:
AutoCloseable
,SyncClientHandler
,SdkAutoCloseable
@ThreadSafe @Immutable public class SdkSyncClientHandler extends BaseSyncClientHandler implements SyncClientHandler
Client handler for SDK clients.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SdkSyncClientHandler(SdkClientConfiguration clientConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <InputT extends SdkRequest,OutputT extends SdkResponse>
OutputTexecute(ClientExecutionParams<InputT,OutputT> executionParams)
Execute's a web service request.<InputT extends SdkRequest,OutputT extends SdkResponse,ReturnT>
ReturnTexecute(ClientExecutionParams<InputT,OutputT> executionParams, ResponseTransformer<OutputT,ReturnT> responseTransformer)
Execute's a streaming web service request.-
Methods inherited from class software.amazon.awssdk.core.internal.handler.BaseSyncClientHandler
close
-
Methods inherited from class software.amazon.awssdk.core.internal.handler.BaseClientHandler
invokeInterceptorsAndCreateExecutionContext, isCalculateCrc32FromCompressedData, resolveRequestConfiguration, validateSigningConfiguration
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
-
-
-
Constructor Detail
-
SdkSyncClientHandler
protected SdkSyncClientHandler(SdkClientConfiguration clientConfiguration)
-
-
Method Detail
-
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 interfaceSyncClientHandler
- Overrides:
execute
in classBaseSyncClientHandler
- Type Parameters:
InputT
- Input POJO typeOutputT
- Output POJO type- Parameters:
executionParams
- Parameters specific to this invocation of an API.- Returns:
- Unmarshalled output POJO type.
-
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 interfaceSyncClientHandler
- Overrides:
execute
in classBaseSyncClientHandler
- Type Parameters:
InputT
- Input POJO typeOutputT
- Output POJO typeReturnT
- 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.
-
-