Skip navigation links
A C D E F G I L M P R S T U 

A

AbstractFileServerServlet - Class in com.atlassian.plugin.servlet
 
AbstractFileServerServlet() - Constructor for class com.atlassian.plugin.servlet.AbstractFileServerServlet
 
addCachingHeaders(HttpServletRequest, HttpServletResponse, String...) - Static method in class com.atlassian.plugin.servlet.ResourceDownloadUtils
Set 'expire' headers to cache for one year.
addCachingHeaders(HttpServletRequest, HttpServletResponse) - Static method in class com.atlassian.plugin.servlet.ResourceDownloadUtils
addPrivateCachingHeaders(HttpServletRequest, HttpServletResponse) - Static method in class com.atlassian.plugin.servlet.ResourceDownloadUtils
Sets caching headers with private cache control.
addPublicCachingHeaders(HttpServletRequest, HttpServletResponse) - Static method in class com.atlassian.plugin.servlet.ResourceDownloadUtils
Sets caching headers with public cache control.

C

checkRequest(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.plugin.servlet.util.LastModifiedHandler
Check whether we need to generate a response for this request.
checkRequest(HttpServletRequest, HttpServletResponse, Date) - Static method in class com.atlassian.plugin.servlet.util.LastModifiedHandler
This static method is used when the resource being served by the servlet keeps track of the last modified date, and so no state needs to be maintained by this handler.
com.atlassian.plugin.servlet - package com.atlassian.plugin.servlet
 
com.atlassian.plugin.servlet.download.plugin - package com.atlassian.plugin.servlet.download.plugin
 
com.atlassian.plugin.servlet.util - package com.atlassian.plugin.servlet.util
 
ContentTypeResolver - Interface in com.atlassian.plugin.servlet
Looks up content types for URL paths in an application-specific way.

D

doGet(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.plugin.servlet.AbstractFileServerServlet
 
DownloadableClasspathResource - Class in com.atlassian.plugin.servlet
A DownloadableResource that will serve the resource from the plugin.
DownloadableClasspathResource(Plugin, ResourceLocation, String) - Constructor for class com.atlassian.plugin.servlet.DownloadableClasspathResource
 
DownloadableResource - Interface in com.atlassian.plugin.servlet
Represents a plugin resource that can be downloaded.
DownloadableWebResource - Class in com.atlassian.plugin.servlet
A DownloadableResource that will serve the resource via the web application's ServletContext.
DownloadableWebResource(Plugin, ResourceLocation, String, ServletContext, boolean) - Constructor for class com.atlassian.plugin.servlet.DownloadableWebResource
 
DownloadException - Exception in com.atlassian.plugin.servlet
An exception was encountered while trying to write a resource to the client.
DownloadException(String) - Constructor for exception com.atlassian.plugin.servlet.DownloadException
 
DownloadException(String, Exception) - Constructor for exception com.atlassian.plugin.servlet.DownloadException
 
DownloadException(Exception) - Constructor for exception com.atlassian.plugin.servlet.DownloadException
 
DownloadStrategy - Interface in com.atlassian.plugin.servlet
 
DownloadStrategyModuleDescriptor - Class in com.atlassian.plugin.servlet.download.plugin
A plugin module which provides a DownloadStrategy.
DownloadStrategyModuleDescriptor(ModuleFactory) - Constructor for class com.atlassian.plugin.servlet.download.plugin.DownloadStrategyModuleDescriptor
Creates a download strategy.

E

EmptyDownloadableResource - Class in com.atlassian.plugin.servlet
A DownloadableResource with no content
EmptyDownloadableResource(Plugin, ResourceLocation) - Constructor for class com.atlassian.plugin.servlet.EmptyDownloadableResource
 

F

ForwardableResource - Class in com.atlassian.plugin.servlet
A DownloadableResource that simply forwards the request to the given location.
ForwardableResource(ResourceLocation) - Constructor for class com.atlassian.plugin.servlet.ForwardableResource
 

G

getContentType(String) - Method in interface com.atlassian.plugin.servlet.ContentTypeResolver
Returns the content type for the given resource path.
getContentType() - Method in interface com.atlassian.plugin.servlet.DownloadableResource
Returns the content type for the resource.
getContentType() - Method in class com.atlassian.plugin.servlet.ForwardableResource
 
getDownloadStrategies() - Method in class com.atlassian.plugin.servlet.AbstractFileServerServlet
Returns a list of DownloadStrategy objects in the order that they will be matched against.
getLocation() - Method in class com.atlassian.plugin.servlet.ForwardableResource
 
getModule() - Method in class com.atlassian.plugin.servlet.download.plugin.DownloadStrategyModuleDescriptor
 
getResourceAsStream(String) - Method in class com.atlassian.plugin.servlet.DownloadableClasspathResource
 
getResourceAsStream(String) - Method in class com.atlassian.plugin.servlet.DownloadableWebResource
 
getResourceAsStream(String) - Method in class com.atlassian.plugin.servlet.EmptyDownloadableResource
 
getResourceLocation() - Method in class com.atlassian.plugin.servlet.DownloadableClasspathResource
 
getServletContext() - Method in interface com.atlassian.plugin.servlet.ServletContextFactory
 

I

isResourceModified(HttpServletRequest, HttpServletResponse) - Method in interface com.atlassian.plugin.servlet.DownloadableResource
Returns true if the plugin resource has been modified.
isResourceModified(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.plugin.servlet.ForwardableResource
 

L

LastModifiedHandler - Class in com.atlassian.plugin.servlet.util
This class manages the last modified date of a single HTTP resource.
LastModifiedHandler() - Constructor for class com.atlassian.plugin.servlet.util.LastModifiedHandler
 
LastModifiedHandler(Date) - Constructor for class com.atlassian.plugin.servlet.util.LastModifiedHandler
 

M

matches(String) - Method in class com.atlassian.plugin.servlet.download.plugin.PluggableDownloadStrategy
 
matches(String) - Method in interface com.atlassian.plugin.servlet.DownloadStrategy
Returns true if the DownloadStrategy is supported for the given url path.
matches(String) - Method in class com.atlassian.plugin.servlet.ResourceUrlParser
Deprecated.
Returns true if the provided URL matches a the URL prefix defined for this download strategy.
modified() - Method in class com.atlassian.plugin.servlet.util.LastModifiedHandler
The content has changed, reset the modified date and the etag

P

parse(String) - Method in class com.atlassian.plugin.servlet.ResourceUrlParser
Deprecated.
Parses resource download URLs for this plugin resource download strategy, returning a PluginResource.
PATH_SEPARATOR - Static variable in class com.atlassian.plugin.servlet.AbstractFileServerServlet
 
PluggableDownloadStrategy - Class in com.atlassian.plugin.servlet.download.plugin
A download strategy which maintains a list of DownloadStrategyModuleDescriptors and delegates to them in order.
PluggableDownloadStrategy(PluginEventManager) - Constructor for class com.atlassian.plugin.servlet.download.plugin.PluggableDownloadStrategy
 
pluginModuleDisabled(PluginModuleDisabledEvent) - Method in class com.atlassian.plugin.servlet.download.plugin.PluggableDownloadStrategy
 
pluginModuleEnabled(PluginModuleEnabledEvent) - Method in class com.atlassian.plugin.servlet.download.plugin.PluggableDownloadStrategy
 

R

register(String, DownloadStrategy) - Method in class com.atlassian.plugin.servlet.download.plugin.PluggableDownloadStrategy
 
RESOURCE_URL_PREFIX - Static variable in class com.atlassian.plugin.servlet.AbstractFileServerServlet
 
ResourceDownloadUtils - Class in com.atlassian.plugin.servlet
 
ResourceDownloadUtils() - Constructor for class com.atlassian.plugin.servlet.ResourceDownloadUtils
 
ResourceUrlParser - Class in com.atlassian.plugin.servlet
Deprecated.
Since 2.2
ResourceUrlParser(String) - Constructor for class com.atlassian.plugin.servlet.ResourceUrlParser
Deprecated.
Create a parser with the given strategy prefix for parsing URLs.

S

serveFile(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.plugin.servlet.download.plugin.PluggableDownloadStrategy
 
serveFile(HttpServletRequest, HttpServletResponse) - Method in interface com.atlassian.plugin.servlet.DownloadStrategy
Serves the file for the given request and response.
serveFileImpl(HttpServletResponse, InputStream) - Static method in class com.atlassian.plugin.servlet.ResourceDownloadUtils
Deprecated.
Since 2.0. Use IOUtils.copy(InputStream, OutputStream) instead. The method calling this should be responsible for closing streams and flushing if necessary.
serveResource(HttpServletRequest, HttpServletResponse) - Method in interface com.atlassian.plugin.servlet.DownloadableResource
Writes the resource content out into the response.
serveResource(HttpServletRequest, HttpServletResponse) - Method in class com.atlassian.plugin.servlet.ForwardableResource
 
SERVLET_PATH - Static variable in class com.atlassian.plugin.servlet.AbstractFileServerServlet
 
ServletContextFactory - Interface in com.atlassian.plugin.servlet
A factory for providing access to a ServletContext.
streamResource(OutputStream) - Method in interface com.atlassian.plugin.servlet.DownloadableResource
Write the resource to the supplied OutputStream.
streamResource(OutputStream) - Method in class com.atlassian.plugin.servlet.ForwardableResource
Not implemented by a ForwardableResource.

T

toString() - Method in class com.atlassian.plugin.servlet.ForwardableResource
 

U

unregister(String) - Method in class com.atlassian.plugin.servlet.download.plugin.PluggableDownloadStrategy
 
A C D E F G I L M P R S T U 
Skip navigation links

Copyright © 2018 Atlassian. All rights reserved.