public interface

DownloadStrategy

com.atlassian.plugin.servlet.DownloadStrategy
Known Indirect Subclasses

Summary

Public Methods
abstract boolean matches(String requestUri)
Returns true if the DownloadStrategy is supported for the given url path.
abstract void serveFile(HttpServletRequest request, HttpServletResponse response)
Serves the file for the given request and response.

Public Methods

public abstract boolean matches (String requestUri)

Returns true if the DownloadStrategy is supported for the given url path.

Parameters
requestUri the result of getRequestURI() converted to lowercase

public abstract void serveFile (HttpServletRequest request, HttpServletResponse response)

Serves the file for the given request and response.

Throws
DownloadException if there was an error during serving of the file.