com.atlassian.confluence.servlet.simpledisplay
Class SimpleDisplayServlet
java.lang.Object
com.atlassian.confluence.servlet.simpledisplay.SimpleDisplayServlet
- All Implemented Interfaces:
- ServletManager
public class SimpleDisplayServlet
- extends Object
- implements ServletManager
This servlet uses the PathConverterManager
to convert the incoming (friendly) url into a url
that maps to an webwork action. Its wrapped by spring so its auto wired.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HOMEPAGE_PATH
protected static final String HOMEPAGE_PATH
- See Also:
- Constant Field Values
SimpleDisplayServlet
public SimpleDisplayServlet()
servletDestroyed
public void servletDestroyed(SpringManagedServlet springManagedServlet)
- Specified by:
servletDestroyed
in interface ServletManager
servletInitialised
public void servletInitialised(SpringManagedServlet springManagedServlet,
ServletConfig servletConfig)
throws ServletException
- Specified by:
servletInitialised
in interface ServletManager
- Throws:
ServletException
service
public void service(SpringManagedServlet springManagedServlet,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse)
throws ServletException,
IOException
- Specified by:
service
in interface ServletManager
- Throws:
ServletException
IOException
stripSlashes
public static String stripSlashes(String path)
- Returns:
- the path with any leading or trailing slashes stripped. If path is null
returns an empty string.
getPathConverterManager
public PathConverterManager getPathConverterManager()
setPathConverterManager
public void setPathConverterManager(PathConverterManager pathConverterManager)