Class RdsPresignInterceptor<T extends RdsRequest>
- java.lang.Object
-
- software.amazon.awssdk.services.rds.internal.RdsPresignInterceptor<T>
-
- Type Parameters:
T- The request type.
- All Implemented Interfaces:
ExecutionInterceptor
- Direct Known Subclasses:
CopyDbClusterSnapshotPresignInterceptor,CopyDbSnapshotPresignInterceptor,CreateDbClusterPresignInterceptor,CreateDbInstanceReadReplicaPresignInterceptor,StartDbInstanceAutomatedBackupsReplicationPresignInterceptor
public abstract class RdsPresignInterceptor<T extends RdsRequest> extends Object implements ExecutionInterceptor
Abstract pre-sign handler that follows the pre-signing scheme outlined in the 'RDS Presigned URL for Cross-Region Copying' SEP.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRdsPresignInterceptor.PresignableRequest
-
Field Summary
Fields Modifier and Type Field Description protected static AwsQueryProtocolFactoryPROTOCOL_FACTORY
-
Constructor Summary
Constructors Modifier Constructor Description protectedRdsPresignInterceptor(Class<T> requestClassToPreSign)protectedRdsPresignInterceptor(Class<T> requestClassToPreSign, Clock signingClockOverride)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract RdsPresignInterceptor.PresignableRequestadaptRequest(T originalRequest)Adapts the request to theRdsPresignInterceptor.PresignableRequest.SdkHttpRequestmodifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)-
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.core.interceptor.ExecutionInterceptor
afterExecution, afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
-
-
-
-
Field Detail
-
PROTOCOL_FACTORY
protected static final AwsQueryProtocolFactory PROTOCOL_FACTORY
-
-
Method Detail
-
modifyHttpRequest
public final SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes)
- Specified by:
modifyHttpRequestin interfaceExecutionInterceptor
-
adaptRequest
protected abstract RdsPresignInterceptor.PresignableRequest adaptRequest(T originalRequest)
Adapts the request to theRdsPresignInterceptor.PresignableRequest.- Parameters:
originalRequest- the original request- Returns:
- a PresignableRequest
-
-