com.atlassian.confluence.servlet.simpledisplay
Class SimpleDisplayServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.atlassian.confluence.servlet.ConfluenceHttpServlet
              extended bycom.atlassian.confluence.servlet.simpledisplay.SimpleDisplayServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SimpleDisplayServlet
extends ConfluenceHttpServlet

See Also:
Serialized Form

Field Summary
protected static String HOMEPAGE_PATH
           
 
Fields inherited from class com.atlassian.confluence.servlet.ConfluenceHttpServlet
log
 
Constructor Summary
SimpleDisplayServlet()
           
 
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 com.atlassian.confluence.servlet.ConfluenceHttpServlet
getDecodedPathInfo
 
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
 

Field Detail

HOMEPAGE_PATH

protected static final String HOMEPAGE_PATH
See Also:
Constant Field Values
Constructor Detail

SimpleDisplayServlet

public SimpleDisplayServlet()
Method Detail

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.


Confluence is developed by Atlassian.