com.atlassian.jira.web.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.jira.web.servlet.FileServerServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class FileServerServlet
extends com.atlassian.plugin.servlet.AbstractFileServerServlet

This is used to serve up download references in JIRA plugins.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.plugin.servlet.AbstractFileServerServlet
PATH_SEPARATOR, RESOURCE_URL_PREFIX, SERVLET_PATH
 
Constructor Summary
FileServerServlet()
           
 
Method Summary
protected  String getContentType(String location)
           
 String getDecodedPathInfo(javax.servlet.http.HttpServletRequest httpServletRequest)
           
protected  List<com.atlassian.plugin.servlet.DownloadStrategy> getDownloadStrategies()
           
protected  String urlDecode(String url)
           
 
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
 

Constructor Detail

FileServerServlet

public FileServerServlet()
Method Detail

getDecodedPathInfo

public String getDecodedPathInfo(javax.servlet.http.HttpServletRequest httpServletRequest)

urlDecode

protected String urlDecode(String url)

getContentType

protected String getContentType(String location)

getDownloadStrategies

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


Copyright © 2002-2013 Atlassian. All Rights Reserved.