Package com.amazonaws.handlers
Class HandlerChainFactory
- java.lang.Object
-
- com.amazonaws.handlers.HandlerChainFactory
-
public class HandlerChainFactory extends Object
Factory for creating request/response handler chains.
-
-
Constructor Summary
Constructors Constructor Description HandlerChainFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RequestHandler2>newRequestHandler2Chain(String resource)Constructs a new request handler (v2) chain by analyzing the specified classpath resource.List<RequestHandler2>newRequestHandlerChain(String resource)For backward compatibility, constructs a new request handler chain adapted toRequestHandler2by analyzing the specified classpath resource.
-
-
-
Method Detail
-
newRequestHandlerChain
public List<RequestHandler2> newRequestHandlerChain(String resource)
For backward compatibility, constructs a new request handler chain adapted toRequestHandler2by 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 List<RequestHandler2> newRequestHandler2Chain(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.
-
-