com.atlassian.confluence.servlet
Class FileServerServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.atlassian.plugin.servlet.AbstractFileServerServlet
              extended by com.atlassian.confluence.servlet.FileServerServlet
All Implemented Interfaces:
java.io.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.

See Also:
Serialized Form

Field Summary
static java.lang.String ATTACHMENTS_URL_PREFIX
           
static java.lang.String RESOURCE_URL_PREFIX
           
static java.lang.String THUMBNAILS_URL_PREFIX
           
static java.lang.String USER_RESOURCE_URL_PREFIX
           
 
Fields inherited from class com.atlassian.plugin.servlet.AbstractFileServerServlet
PATH_SEPARATOR, SERVLET_PATH
 
Constructor Summary
FileServerServlet()
           
 
Method Summary
protected  java.util.List<com.atlassian.plugin.servlet.DownloadStrategy> getDownloadStrategies()
           
 
Methods inherited from class com.atlassian.plugin.servlet.AbstractFileServerServlet
doGet
 
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
 

Field Detail

ATTACHMENTS_URL_PREFIX

public static final java.lang.String ATTACHMENTS_URL_PREFIX
See Also:
Constant Field Values

RESOURCE_URL_PREFIX

public static final java.lang.String RESOURCE_URL_PREFIX
See Also:
Constant Field Values

USER_RESOURCE_URL_PREFIX

public static final java.lang.String USER_RESOURCE_URL_PREFIX
See Also:
Constant Field Values

THUMBNAILS_URL_PREFIX

public static final java.lang.String THUMBNAILS_URL_PREFIX
See Also:
Constant Field Values
Constructor Detail

FileServerServlet

public FileServerServlet()
Method Detail

getDownloadStrategies

protected java.util.List<com.atlassian.plugin.servlet.DownloadStrategy> getDownloadStrategies()
Specified by:
getDownloadStrategies in class com.atlassian.plugin.servlet.AbstractFileServerServlet


Copyright © 2003-2014 Atlassian. All Rights Reserved.