public class HandlerChainFactory extends Object
Constructor and Description |
---|
HandlerChainFactory() |
Modifier and Type | Method and Description |
---|---|
List<RequestHandler2> |
getGlobalHandlers() |
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 to
RequestHandler2 by analyzing the
specified classpath resource. |
public List<RequestHandler2> newRequestHandlerChain(String resource)
RequestHandler2
by analyzing the
specified classpath resource.resource
- The resource to load from the classpath containing the list of request handlers to instantiate.public List<RequestHandler2> newRequestHandler2Chain(String resource)
resource
- The resource to load from the classpath containing the list of request handlers to instantiate.public List<RequestHandler2> getGlobalHandlers()
Copyright © 2020. All rights reserved.