Package | Description |
---|---|
org.apache.struts2.dispatcher |
This package contains a reimagining of the traditional Struts filter dispatchers.
|
org.apache.struts2.dispatcher.filter | |
org.apache.struts2.util |
Modifier and Type | Class and Description |
---|---|
class |
MockDispatcher |
Modifier and Type | Method and Description |
---|---|
protected Dispatcher |
InitOperations.createDispatcher(HostConfig filterConfig)
Create a
Dispatcher |
Dispatcher |
InitOperations.findDispatcherOnThread() |
static Dispatcher |
Dispatcher.getInstance()
Provide the dispatcher instance for the current thread.
|
Dispatcher |
InitOperations.initDispatcher(HostConfig filterConfig)
Creates and initializes the dispatcher
|
Modifier and Type | Method and Description |
---|---|
List<Pattern> |
InitOperations.buildExcludedPatternsList(Dispatcher dispatcher)
Extract a list of patterns to exclude from request filtering
|
void |
DispatcherListener.dispatcherDestroyed(Dispatcher du)
Called when the dispatcher is destroyed
|
void |
DispatcherListener.dispatcherInitialized(Dispatcher du)
Called when the dispatcher is initialized
|
StaticContentLoader |
InitOperations.initStaticContentLoader(HostConfig filterConfig,
Dispatcher dispatcher)
Initializes the static content loader with the filter configuration
|
static void |
Dispatcher.setInstance(Dispatcher instance)
Store the dispatcher instance for this thread.
|
Constructor and Description |
---|
ExecuteOperations(Dispatcher dispatcher) |
PrepareOperations(Dispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
protected ExecuteOperations |
StrutsPrepareAndExecuteFilter.createExecuteOperations(Dispatcher dispatcher)
Creates a new instance of
ExecuteOperations to be used during
initialising Dispatcher |
protected PrepareOperations |
StrutsPrepareAndExecuteFilter.createPrepareOperations(Dispatcher dispatcher)
Creates a new instance of
PrepareOperations to be used during
initialising Dispatcher |
protected void |
StrutsPrepareAndExecuteFilter.postInit(Dispatcher dispatcher,
javax.servlet.FilterConfig filterConfig)
Callback for post initialization
|
protected void |
StrutsPrepareFilter.postInit(Dispatcher dispatcher,
javax.servlet.FilterConfig filterConfig)
Callback for post initialization
|
Modifier and Type | Method and Description |
---|---|
static Dispatcher |
StrutsTestCaseHelper.initDispatcher(javax.servlet.ServletContext ctx,
Map<String,String> params) |
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.