Class TimestampFormatInterceptor
java.lang.Object
software.amazon.awssdk.services.ec2.transform.internal.TimestampFormatInterceptor
- All Implemented Interfaces:
ExecutionInterceptor
@SdkInternalApi
public final class TimestampFormatInterceptor
extends Object
implements ExecutionInterceptor
A request handler that strips out millisecond precision from requests to
RequestSpotFleet and DescribeSpotFleetRequestHistory, which don't expect
timestamps to be so precise.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmodifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
Constructor Details
-
TimestampFormatInterceptor
public TimestampFormatInterceptor()
-
-
Method Details
-
modifyHttpRequest
public SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest context, ExecutionAttributes executionAttributes) - Specified by:
modifyHttpRequestin interfaceExecutionInterceptor
-