public class QueueUrlHandler extends AbstractRequestHandler
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 and Description |
---|
QueueUrlHandler() |
Modifier and Type | Method and Description |
---|---|
void |
beforeRequest(Request<?> request)
Runs any additional processing logic on the specified request (before it
is executed by the client runtime).
|
String |
retrieveQueueUrl(AmazonWebServiceRequest request) |
afterError, afterResponse
public void beforeRequest(Request<?> request)
RequestHandler
beforeRequest
in interface RequestHandler
beforeRequest
in class AbstractRequestHandler
request
- The low level request being processed.public String retrieveQueueUrl(AmazonWebServiceRequest request)