Package com.atlassian.plugin.servlet
Class AbstractFileServerServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.atlassian.plugin.servlet.AbstractFileServerServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public abstract class AbstractFileServerServlet
extends jakarta.servlet.http.HttpServlet
- See Also:
-
Field Summary
FieldsFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voiddoGet(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) protected abstract List<DownloadStrategy> Returns a list ofDownloadStrategyobjects in the order that they will be matched against.Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Field Details
-
PATH_SEPARATOR
- See Also:
-
RESOURCE_URL_PREFIX
- See Also:
-
SERVLET_PATH
- See Also:
-
-
Constructor Details
-
AbstractFileServerServlet
public AbstractFileServerServlet()
-
-
Method Details
-
doGet
protected final void doGet(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse) throws IOException - Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Throws:
IOException
-
getDownloadStrategies
Returns a list ofDownloadStrategyobjects in the order that they will be matched against. The list returned should be cached as this method is called for every request.
-