Package | Description |
---|---|
org.apache.struts2.dispatcher |
Classes for action dispatching in Struts (the Controller part of MVC).
|
org.apache.struts2.dispatcher.ng |
This package contains a reimagining of the traditional Struts filter dispatchers.
|
org.apache.struts2.dispatcher.ng.filter | |
org.apache.struts2.util |
Miscellaneous helper classes.
|
Modifier and Type | Field and Description |
---|---|
protected Dispatcher |
FilterDispatcher.dispatcher
Deprecated.
Expose Dispatcher instance to subclass.
|
Modifier and Type | Method and Description |
---|---|
protected Dispatcher |
FilterDispatcher.createDispatcher(javax.servlet.FilterConfig filterConfig)
Deprecated.
Create a default
Dispatcher that subclasses can override
with a custom Dispatcher, if needed. |
protected Dispatcher |
FilterDispatcher.createDispatcher(javax.servlet.ServletContext ctx,
Map<String,String> params)
Deprecated.
Create a default
Dispatcher that subclasses can override
with a custom Dispatcher, if needed. |
static Dispatcher |
Dispatcher.getInstance()
Provide the dispatcher instance for the current thread.
|
Modifier and Type | Method and Description |
---|---|
void |
DispatcherListener.dispatcherDestroyed(Dispatcher du)
Called when the dispatcher is destroyed
|
void |
DispatcherListener.dispatcherInitialized(Dispatcher du)
Called when the dispatcher is initialized
|
static void |
Dispatcher.setInstance(Dispatcher instance)
Store the dispatcher instance for this thread.
|
Modifier and Type | Method and Description |
---|---|
Dispatcher |
InitOperations.findDispatcherOnThread() |
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
|
StaticContentLoader |
InitOperations.initStaticContentLoader(HostConfig filterConfig,
Dispatcher dispatcher)
Initializes the static content loader with the filter configuration
|
Constructor and Description |
---|
ExecuteOperations(javax.servlet.ServletContext servletContext,
Dispatcher dispatcher) |
PrepareOperations(javax.servlet.ServletContext servletContext,
Dispatcher dispatcher) |
Modifier and Type | Method and Description |
---|---|
protected void |
StrutsPrepareFilter.postInit(Dispatcher dispatcher,
javax.servlet.FilterConfig filterConfig)
Callback for post initialization
|
protected void |
StrutsPrepareAndExecuteFilter.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-2014 Apache Software Foundation. All Rights Reserved.