Package com.amazonaws.services.sqs
Class MessageMD5ChecksumHandler
- java.lang.Object
-
- com.amazonaws.handlers.AbstractRequestHandler
-
- com.amazonaws.services.sqs.MessageMD5ChecksumHandler
-
- All Implemented Interfaces:
RequestHandler
public class MessageMD5ChecksumHandler extends AbstractRequestHandler
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 MessageMD5ChecksumHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterResponse(Request<?> request, Object response, TimingInfo timingInfo)
Runs any additional processing logic on the specified request (after is has been executed by the client runtime).-
Methods inherited from class com.amazonaws.handlers.AbstractRequestHandler
afterError, beforeRequest
-
-
-
-
Method Detail
-
afterResponse
public void afterResponse(Request<?> request, Object response, TimingInfo timingInfo)
Description copied from interface:RequestHandler
Runs any additional processing logic on the specified request (after is has been executed by the client runtime).- Specified by:
afterResponse
in interfaceRequestHandler
- Overrides:
afterResponse
in classAbstractRequestHandler
- Parameters:
request
- The low level request being processed.response
- The response generated from the specified request.timingInfo
- Timing information on the request's processing.
-
-