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.AbstractFileServerServletServes files from Confluence: attachments, custom resources, thumbnails, plugin resources, etc.Sources its
DownloadStrategiesfrom 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 StringATTACHMENTS_URL_PREFIXstatic StringRESOURCE_URL_PREFIXstatic StringTHUMBNAILS_URL_PREFIXstatic StringTOKEN_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:
getDownloadStrategiesin classcom.atlassian.plugin.servlet.AbstractFileServerServlet
-
-