com.atlassian.confluence.servlet.simpledisplay
Class SimpleDisplayServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.atlassian.confluence.servlet.ConfluenceHttpServlet
com.atlassian.confluence.servlet.simpledisplay.SimpleDisplayServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class SimpleDisplayServlet
- extends ConfluenceHttpServlet
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
void |
init()
|
static String |
stripSlashes(String path)
|
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
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()
init
public void init()
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
doGet
protected void doGet(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.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.