public abstract class AbstractTransformedDownloadableResource extends Object implements com.atlassian.plugin.servlet.DownloadableResource
WebResourceTransformer implementation. Subclasses are expected to implement DownloadableResource.streamResource(OutputStream),
while the other methods are delegated by default.| Constructor and Description |
|---|
AbstractTransformedDownloadableResource(com.atlassian.plugin.servlet.DownloadableResource originalResource) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
protected com.atlassian.plugin.servlet.DownloadableResource |
getOriginalResource() |
boolean |
isResourceModified(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
void |
serveResource(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse response) |
String |
toString() |
public AbstractTransformedDownloadableResource(com.atlassian.plugin.servlet.DownloadableResource originalResource)
public boolean isResourceModified(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
isResourceModified in interface com.atlassian.plugin.servlet.DownloadableResourcepublic void serveResource(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse response)
throws com.atlassian.plugin.servlet.DownloadException
serveResource in interface com.atlassian.plugin.servlet.DownloadableResourcecom.atlassian.plugin.servlet.DownloadExceptionpublic String getContentType()
getContentType in interface com.atlassian.plugin.servlet.DownloadableResourceprotected com.atlassian.plugin.servlet.DownloadableResource getOriginalResource()
Copyright © 2017 Atlassian. All rights reserved.