Package com.amazonaws.services.sqs
Class QueueUrlHandler
java.lang.Object
com.amazonaws.handlers.AbstractRequestHandler
com.amazonaws.services.sqs.QueueUrlHandler
- All Implemented Interfaces:
RequestHandler
Custom request handler for SQS that processes the request before it gets routed to the client
runtime layer.
SQS MessageQueue operations take a QueueUrl parameter that needs special handling to update the endpoint and resource path on the request before it's executed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
beforeRequest
(Request<?> request) Runs any additional processing logic on the specified request (before it is executed by the client runtime).Methods inherited from class com.amazonaws.handlers.AbstractRequestHandler
afterError, afterResponse
-
Constructor Details
-
QueueUrlHandler
public QueueUrlHandler()
-
-
Method Details
-
beforeRequest
Description copied from interface:RequestHandler
Runs any additional processing logic on the specified request (before it is executed by the client runtime).- Specified by:
beforeRequest
in interfaceRequestHandler
- Overrides:
beforeRequest
in classAbstractRequestHandler
- Parameters:
request
- The low level request being processed.
-