Package com.atlassian.confluence.servlet
Class FileServerServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.atlassian.plugin.servlet.AbstractFileServerServlet
-
- com.atlassian.confluence.servlet.FileServerServlet
-
- All Implemented Interfaces:
Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
public class FileServerServlet extends com.atlassian.plugin.servlet.AbstractFileServerServlet
Serves files from Confluence: attachments, custom resources, thumbnails, plugin resources, etc.Sources its
DownloadStrategies
from either the setup or main context depending on which one is up.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTACHMENTS_URL_PREFIX
static String
RESOURCE_URL_PREFIX
static String
THUMBNAILS_URL_PREFIX
static String
TOKEN_AUTH_ATTACHMENTS_URL_PREFIX
-
Constructor Summary
Constructors Constructor Description FileServerServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<com.atlassian.plugin.servlet.DownloadStrategy>
getDownloadStrategies()
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Field Detail
-
ATTACHMENTS_URL_PREFIX
public static final String ATTACHMENTS_URL_PREFIX
- See Also:
- Constant Field Values
-
TOKEN_AUTH_ATTACHMENTS_URL_PREFIX
public static final String TOKEN_AUTH_ATTACHMENTS_URL_PREFIX
- See Also:
- Constant Field Values
-
RESOURCE_URL_PREFIX
public static final String RESOURCE_URL_PREFIX
- See Also:
- Constant Field Values
-
THUMBNAILS_URL_PREFIX
public static final String THUMBNAILS_URL_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDownloadStrategies
protected List<com.atlassian.plugin.servlet.DownloadStrategy> getDownloadStrategies()
- Specified by:
getDownloadStrategies
in classcom.atlassian.plugin.servlet.AbstractFileServerServlet
-
-