|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.webresource.AbstractBatchDownloadableResource
public abstract class AbstractBatchDownloadableResource
A base class that batches together a sequence of DownloableResources
| Method Summary | |
|---|---|
String |
getContentType()
Returns the content type for the resource. |
Map<String,String> |
getParams()
|
String |
getType()
|
boolean |
isEmpty()
|
boolean |
isResourceModified(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns true if the plugin resource has been modified. |
void |
serveResource(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Writes the resource content out into the response. |
void |
streamResource(OutputStream originalOut)
Write the resource to the supplied OutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean isEmpty()
public boolean isResourceModified(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
DownloadableResource
isResourceModified in interface DownloadableResource
public void serveResource(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws DownloadException
DownloadableResource
serveResource in interface DownloadableResourceDownloadException - if there were errors writing to the response.
public void streamResource(OutputStream originalOut)
throws DownloadException
DownloadableResource
streamResource in interface DownloadableResourceoriginalOut - the stream to write to
DownloadException - if there were errors writing to the response. Since 2.3.public String getContentType()
DownloadableResource
getContentType in interface DownloadableResourcepublic Map<String,String> getParams()
public String getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||