com.amazonaws.handlers
Class HandlerChainFactory
java.lang.Object
   com.amazonaws.handlers.HandlerChainFactory
com.amazonaws.handlers.HandlerChainFactory
- public class HandlerChainFactory 
- extends java.lang.Object
Factory for creating request/response handler chains.
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
HandlerChainFactory
public HandlerChainFactory()
newRequestHandlerChain
public java.util.List<RequestHandler2> newRequestHandlerChain(java.lang.String resource)
- For backward compatibility, constructs a new request handler chain
 adapted to RequestHandler2by analyzing the specified classpath
 resource.
 
- 
- Parameters:
- resource- The resource to load from the classpath containing the list of
            request handlers to instantiate.
- Returns:
- A list of request handlers based on the handlers referenced in
         the specified resource.
 
newRequestHandler2Chain
public java.util.List<RequestHandler2> newRequestHandler2Chain(java.lang.String resource)
- Constructs a new request handler (v2) chain by analyzing the specified
 classpath resource.
 
- 
- Parameters:
- resource- The resource to load from the classpath containing the list of
            request handlers to instantiate.
- Returns:
- A list of request handlers based on the handlers referenced in
         the specified resource.
 
                Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.