Package com.amazonaws.handlers
Class HandlerChainFactory
java.lang.Object
com.amazonaws.handlers.HandlerChainFactory
Factory for creating request/response handler chains.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewRequestHandler2Chain
(String resource) Constructs a new request handler (v2) chain by analyzing the specified classpath resource.newRequestHandlerChain
(String resource) For backward compatibility, constructs a new request handler chain adapted toRequestHandler2
by analyzing the specified classpath resource.
-
Constructor Details
-
HandlerChainFactory
public HandlerChainFactory()
-
-
Method Details
-
newRequestHandlerChain
For backward compatibility, constructs a new request handler chain adapted toRequestHandler2
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.
-
newRequestHandler2Chain
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.
-