public abstract class

AbstractFileServerServlet

extends HttpServlet
java.lang.Object
   ↳ javax.servlet.GenericServlet
     ↳ javax.servlet.http.HttpServlet
       ↳ com.atlassian.plugin.servlet.AbstractFileServerServlet
Known Direct Subclasses

Summary

Constants
String PATH_SEPARATOR
String RESOURCE_URL_PREFIX
String SERVLET_PATH
Public Constructors
AbstractFileServerServlet()
Protected Methods
final void doGet(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)
abstract List<DownloadStrategy> getDownloadStrategies()
Returns a list of DownloadStrategy objects in the order that they will be matched against.
[Expand]
Inherited Methods
From class javax.servlet.http.HttpServlet
From class javax.servlet.GenericServlet
From class java.lang.Object
From interface javax.servlet.Servlet
From interface javax.servlet.ServletConfig

Constants

public static final String PATH_SEPARATOR

Constant Value: "/"

public static final String RESOURCE_URL_PREFIX

Constant Value: "resources"

public static final String SERVLET_PATH

Constant Value: "download"

Public Constructors

public AbstractFileServerServlet ()

Protected Methods

protected final void doGet (HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse)

Throws
IOException

protected abstract List<DownloadStrategy> getDownloadStrategies ()

Returns a list of DownloadStrategy objects in the order that they will be matched against. The list returned should be cached as this method is called for every request.