# Uses of Class
org.apache.struts2.dispatcher.Dispatcher

Packages that use Dispatcher
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
XWork util classes.

- ## Uses of Dispatcher in org.apache.struts2.dispatcher

  Subclasses of Dispatcher in org.apache.struts2.dispatcher
  Modifier and Type
  Class
  Description
  `class`
  `MockDispatcher`
  Methods in org.apache.struts2.dispatcher that return Dispatcher
  Modifier and Type
  Method
  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.
  `static Dispatcher`
  Dispatcher.`getInstance(jakarta.servlet.ServletContext servletContext)`
  `Dispatcher`
  InitOperations.`initDispatcher(HostConfig filterConfig)`
  Creates and initializes the dispatcher
  Methods in org.apache.struts2.dispatcher with parameters of type Dispatcher
  Modifier and Type
  Method
  Description
  `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.
  Constructors in org.apache.struts2.dispatcher with parameters of type Dispatcher
  Modifier
  Constructor
  Description
  ``
  `ExecuteOperations(Dispatcher dispatcher)`
  ``
  `PrepareOperations(Dispatcher dispatcher)`

- ## Uses of Dispatcher in org.apache.struts2.dispatcher.filter

  Methods in org.apache.struts2.dispatcher.filter with parameters of type Dispatcher
  Modifier and Type
  Method
  Description
  `protected ExecuteOperations`
  StrutsExecuteFilter.`createExecuteOperations(Dispatcher dispatcher)`
  Creates a new instance of `ExecuteOperations` to be used during initialising `Dispatcher`
  `protected ExecuteOperations`
  StrutsPrepareAndExecuteFilter.`createExecuteOperations(Dispatcher dispatcher)`
  Creates a new instance of `ExecuteOperations` to be used during initialising `Dispatcher`
  `protected PrepareOperations`
  StrutsExecuteFilter.`createPrepareOperations(Dispatcher dispatcher)`
  Creates a new instance of `PrepareOperations` 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 PrepareOperations`
  StrutsPrepareFilter.`createPrepareOperations(Dispatcher dispatcher)`
  Creates a new instance of `PrepareOperations` to be used during initialising `Dispatcher`
  `protected void`
  StrutsPrepareAndExecuteFilter.`postInit(Dispatcher dispatcher, jakarta.servlet.FilterConfig filterConfig)`
  Callback for post initialization
  `protected void`
  StrutsPrepareFilter.`postInit(Dispatcher dispatcher, jakarta.servlet.FilterConfig filterConfig)`
  Callback for post initialization

- ## Uses of Dispatcher in org.apache.struts2.util

  Methods in org.apache.struts2.util that return Dispatcher
  Modifier and Type
  Method
  Description
  `static Dispatcher`
  StrutsTestCaseHelper.`initDispatcher(jakarta.servlet.ServletContext ctx, Map<String,String> params)`
  Methods in org.apache.struts2.util with parameters of type Dispatcher
  Modifier and Type
  Method
  Description
  `static void`
  StrutsTestCaseHelper.`tearDown(Dispatcher dispatcher)`