public interface IBufferedContent
extends java.io.Serializable
IBufferedStreamContent interface.| Modifier and Type | Method and Description |
|---|---|
void |
beginGetting()
Called directly before accessing the content.
|
void |
endGetting()
Called directly after accessing the content.
|
byte[] |
getContent()
The content that is downloaded.
|
long |
getContentLength()
Explicit implementation of this method is not required by default, it is
covered by the default implementation
DefaultBufferedContent. |
java.lang.String |
getContentType()
Content type of download.
|
java.lang.String |
getFileName()
File name for download, which is set within the http header response parameters.
|
java.lang.String |
getId()
Get unique id of this instance.
|
java.lang.String |
getURL()
URL that can be passed to the client side component.
|
java.lang.String |
getURLForBROWSERUsage()
Deprecated.
|
void |
passClientFileName(java.lang.String clientFileName)
If the access to the buffered content is associated with the download
to a client file then the name of the file is passed through this
method.
|
void |
passCurrentRequestQueryString(java.lang.String value)
In case the buffered content is accessed from the client side then
the query string of the access is passed.
|
void |
passCurrentRequestURL(java.lang.String url)
In case the buffered content is accessed from the client side then
the URL of the access is passed.
|
void |
preProcessResponse(HttpServletResponse response)
This methods is called at the very beginning of the response processing.
|
java.lang.String getId()
BufferedContentMgr.long getContentLength()
DefaultBufferedContent.void preProcessResponse(HttpServletResponse response)
void passClientFileName(java.lang.String clientFileName)
getContent() or
getContentType() is called when a download is processed.void passCurrentRequestURL(java.lang.String url)
getContent() or
getContentType() is called when a download is processed.void passCurrentRequestQueryString(java.lang.String value)
getContent() or
getContentType() is called when a download is processed.void beginGetting()
void endGetting()
byte[] getContent()
java.lang.String getContentType()
java.lang.String getURL()
getURLForBROWSERUsage()@Deprecated java.lang.String getURLForBROWSERUsage()
getURL()
method.
java.lang.String getFileName()
Copyright © CaptainCasa Gmbh. All Rights Reserved.