public class ServletMapper
extends java.lang.Object
Constructor and Description |
---|
ServletMapper(WebApp webApp) |
Modifier and Type | Method and Description |
---|---|
void |
addUrlRegexp(java.lang.String regexp,
java.lang.String servletName,
ServletMapping mapping)
Adds a servlet mapping
|
void |
destroy() |
java.util.ArrayList<java.lang.String> |
getIgnorePatterns()
Returns the servlet plugin_ignore patterns.
|
java.lang.String |
getServletClassByUri(java.lang.String uri) |
ServletManager |
getServletManager()
Returns the servlet manager.
|
ServletMapping |
getServletMapping(java.lang.String pattern) |
java.lang.String |
getServletPattern(java.lang.String uri) |
java.util.ArrayList<java.lang.String> |
getURLPatterns()
Returns the servlet matching patterns.
|
java.util.Set<java.lang.String> |
getUrlPatterns(java.lang.String servletName) |
WebApp |
getWebApp()
Gets the servlet context.
|
FilterChain |
mapServlet(ServletInvocation invocation) |
void |
setDefaultServlet(java.lang.String servletName)
Sets the default servlet.
|
void |
setServletManager(ServletManager manager)
Sets the servlet manager.
|
public ServletMapper(WebApp webApp)
public WebApp getWebApp()
public ServletManager getServletManager()
public void setServletManager(ServletManager manager)
public void addUrlRegexp(java.lang.String regexp, java.lang.String servletName, ServletMapping mapping) throws ServletException
ServletException
public java.util.Set<java.lang.String> getUrlPatterns(java.lang.String servletName)
public void setDefaultServlet(java.lang.String servletName) throws ServletException
ServletException
public FilterChain mapServlet(ServletInvocation invocation) throws ServletException
ServletException
public java.lang.String getServletPattern(java.lang.String uri)
public java.lang.String getServletClassByUri(java.lang.String uri)
public java.util.ArrayList<java.lang.String> getURLPatterns()
public ServletMapping getServletMapping(java.lang.String pattern)
public java.util.ArrayList<java.lang.String> getIgnorePatterns()
public void destroy()