Package com.amazonaws.services.sqs
Class QueueUrlHandler
- java.lang.Object
-
- com.amazonaws.handlers.AbstractRequestHandler
-
- com.amazonaws.services.sqs.QueueUrlHandler
-
- All Implemented Interfaces:
RequestHandler
public class QueueUrlHandler extends AbstractRequestHandler
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 Constructor Description QueueUrlHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
-
-
-
-
Method Detail
-
beforeRequest
public void beforeRequest(Request<?> request)
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.
-
-