| java.lang.Object | |
| ↳ | com.atlassian.plugin.servlet.DefaultServletModuleManager |
Known Direct Subclasses
|
A simple servletModuleManager to track and retrieve the loaded servlet plugin modules.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor that sets itself in the servlet context for later use in
dispatching servlets and filters.
| |||||||||||
Creates the servlet module manager, but assumes you will be calling
setServletModuleManager(javax.servlet.ServletContext, ServletModuleManager)
yourself if you don't extend the dispatching servlet and filter classes
to provide the servlet module manager instance. | |||||||||||
Creates the servlet module manager, but assumes you will be calling
setServletModuleManager(javax.servlet.ServletContext, ServletModuleManager)
yourself if you don't extend the dispatching servlet and filter classes
to provide the servlet module manager instance. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Register a new filter plugin module.
| |||||||||||
Register a new servlet plugin module.
| |||||||||||
Returns the filters that have been registered to filter requests at the specified path matching the location
in the filter stack.
| |||||||||||
Returns the filters that have been registered to filter requests at the specified path matching the location
in the filter stack and registered for the specific dispatcher condition.
| |||||||||||
Return an instance of the HttpServlet that should be used to serve content matching the provided url path.
| |||||||||||
Call the plugins servlet context listeners contextDestroyed methods and
cleanup any servlet contexts that are associated with the plugin that was
disabled.
| |||||||||||
Remove a previously registered filter plugin module.
| |||||||||||
Remove a previously registered servlet plugin module.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.servlet.ServletModuleManager
| |||||||||||
Constructor that sets itself in the servlet context for later use in dispatching servlets and filters.
| servletContext | The servlet context to store itself in |
|---|---|
| pluginEventManager | The plugin event manager |
Creates the servlet module manager, but assumes you will be calling
setServletModuleManager(javax.servlet.ServletContext, ServletModuleManager)
yourself if you don't extend the dispatching servlet and filter classes
to provide the servlet module manager instance.
| pluginEventManager | The plugin event manager |
|---|
Creates the servlet module manager, but assumes you will be calling
setServletModuleManager(javax.servlet.ServletContext, ServletModuleManager)
yourself if you don't extend the dispatching servlet and filter classes
to provide the servlet module manager instance.
| pluginEventManager | The plugin event manager |
|---|---|
| servletPathMapper | The path mapper used for mapping servlets to paths |
| filterPathMapper | The path mapper used for mapping filters to paths |
Register a new filter plugin module.
| descriptor | Details of what the filter class is and the path it should serve. |
|---|
Register a new servlet plugin module.
| descriptor | Details of what the servlet class is and the path it should serve. |
|---|
Returns the filters that have been registered to filter requests at the specified path matching the location in the filter stack. The filter dispatcher condition will be set to REQUEST.
| location | Place in the applications filter stack the filters should be applied. |
|---|---|
| path | Path of the incoming request to filter. |
| filterConfig | FilterConfig given to the delegating filter. |
| ServletException |
|---|
Returns the filters that have been registered to filter requests at the specified path matching the location in the filter stack and registered for the specific dispatcher condition.
| location | Place in the applications filter stack the filters should be applied. |
|---|---|
| path | Path of the incoming request to filter. |
| filterConfig | FilterConfig given to the delegating filter. |
| condition | The dispatcher tag that filters have been registered to. Cannot be null. |
| ServletException |
|---|
Return an instance of the HttpServlet that should be used to serve content matching the provided url path.
| path | Path of the incoming request to serve. |
|---|---|
| servletConfig | ServletConfig given to the delegating servlet. |
| ServletException |
|---|
Call the plugins servlet context listeners contextDestroyed methods and cleanup any servlet contexts that are associated with the plugin that was disabled.
Remove a previously registered filter plugin module. Requests that come in on the path described in the descriptor will no longer be served.
| descriptor | Details of what filter module to remove. |
|---|
Remove a previously registered servlet plugin module. Requests that come in on the path described in the descriptor will no longer be served.
| descriptor | Details of what servlet module to remove. |
|---|