com.atlassian.plugin.servlet
Class AbstractFileServerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.atlassian.plugin.servlet.AbstractFileServerServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Direct Known Subclasses:
- FileServerServlet
public abstract class AbstractFileServerServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
|
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
|
protected abstract java.util.List<DownloadStrategy> |
getDownloadStrategies()
Returns a list of DownloadStrategy objects in the order that they will be matched against. |
| 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, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATH_SEPARATOR
public static final java.lang.String PATH_SEPARATOR
- See Also:
- Constant Field Values
RESOURCE_URL_PREFIX
public static final java.lang.String RESOURCE_URL_PREFIX
- See Also:
- Constant Field Values
SERVLET_PATH
public static final java.lang.String SERVLET_PATH
- See Also:
- Constant Field Values
AbstractFileServerServlet
public AbstractFileServerServlet()
doGet
protected final void doGet(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Throws:
java.io.IOException
getDownloadStrategies
protected abstract java.util.List<DownloadStrategy> getDownloadStrategies()
- Returns a list of
DownloadStrategy objects in the order that they will be matched against.
The list returned should be cached as this method is called for every request.
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.