com.amazonaws.services.sqs
Class QueueUrlHandler

java.lang.Object
  extended by com.amazonaws.handlers.AbstractRequestHandler
      extended by 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
QueueUrlHandler()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueUrlHandler

public QueueUrlHandler()
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 interface RequestHandler
Overrides:
beforeRequest in class AbstractRequestHandler
Parameters:
request - The low level request being processed.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.