Package com.atlassian.jira.web.servlet
Class FileServerServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.atlassian.plugin.servlet.AbstractFileServerServlet
com.atlassian.jira.web.servlet.FileServerServlet
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@Path("download")
@Consumes("text/plain")
@Produces("text/plain")
public class FileServerServlet
extends com.atlassian.plugin.servlet.AbstractFileServerServlet
This is used to serve up download references in JIRA plugins.
- See Also:
-
Field Summary
Fields inherited from class com.atlassian.plugin.servlet.AbstractFileServerServlet
PATH_SEPARATOR, RESOURCE_URL_PREFIX, SERVLET_PATH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetContentType(String location) getDecodedPathInfo(javax.servlet.http.HttpServletRequest httpServletRequest) protected List<com.atlassian.plugin.servlet.DownloadStrategy>protected StringMethods inherited from class com.atlassian.plugin.servlet.AbstractFileServerServlet
doGetMethods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
-
Constructor Details
-
FileServerServlet
public FileServerServlet()
-
-
Method Details
-
getDecodedPathInfo
-
urlDecode
-
getContentType
-
getDownloadStrategies
- Specified by:
getDownloadStrategiesin classcom.atlassian.plugin.servlet.AbstractFileServerServlet
-