java.lang.Object | |
↳ | com.atlassian.plugin.servlet.ResourceDownloadUtils |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Set 'expire' headers to cache for one year.
| |||||||||||
This method is deprecated.
Please use
addPublicCachingHeaders(HttpServletRequest, HttpServletResponse) or
addPrivateCachingHeaders(HttpServletRequest, HttpServletResponse) instead.
| |||||||||||
Sets caching headers with private cache control.
| |||||||||||
Sets caching headers with public cache control.
| |||||||||||
This method is deprecated.
Since 2.0. Use
copy(InputStream, OutputStream) instead. The method calling
this should be responsible for closing streams and flushing if necessary.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Set 'expire' headers to cache for one year. Also adds the additional cache control values passed in. Note, this method resets the cache control headers if set previously.
This method is deprecated.
Please use addPublicCachingHeaders(HttpServletRequest, HttpServletResponse)
or
addPrivateCachingHeaders(HttpServletRequest, HttpServletResponse)
instead.
Set 'expire' headers to cache for one year, with public caching turned on.
Sets caching headers with private cache control. Applications should call this method from urlrewrite.xml to
decorate urls like /sp/{build num}/.../_/resourceurl
.
Sets caching headers with public cache control. Applications should call this method from urlrewrite.xml to
decorate urls like /s/{build num}/.../_/resourceurl
.
This method is deprecated.
Since 2.0. Use copy(InputStream, OutputStream)
instead. The method calling
this should be responsible for closing streams and flushing if necessary.
IOException |
---|