Class MessageMD5ChecksumInterceptor
- java.lang.Object
-
- software.amazon.awssdk.services.sqs.internal.MessageMD5ChecksumInterceptor
-
- All Implemented Interfaces:
ExecutionInterceptor
public final class MessageMD5ChecksumInterceptor extends Object implements ExecutionInterceptor
SQS operations on sending and receiving messages will return the MD5 digest of the message body. This custom request handler will verify that the message is correctly received by SQS, by comparing the returned MD5 with the calculation according to the original request.
-
-
Constructor Summary
Constructors Constructor Description MessageMD5ChecksumInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterExecution(Context.AfterExecution 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
afterMarshalling, afterTransmission, afterUnmarshalling, beforeExecution, beforeMarshalling, beforeTransmission, beforeUnmarshalling, modifyAsyncHttpContent, modifyAsyncHttpResponseContent, modifyException, modifyHttpContent, modifyHttpRequest, modifyHttpResponse, modifyHttpResponseContent, modifyRequest, modifyResponse, onExecutionFailure
-
-
-
-
Method Detail
-
afterExecution
public void afterExecution(Context.AfterExecution context, ExecutionAttributes executionAttributes)
- Specified by:
afterExecution
in interfaceExecutionInterceptor
-
-