com.sap.tc.webdynpro.services.sal.url.api
Interface IWDCachedWebResource
- All Superinterfaces:
- IWDService, IWDWebResource
- public interface IWDCachedWebResource
- extends IWDWebResource
Created on 15.07.2002
|
Method Summary |
boolean |
isExpired()
Method isExpired. |
void |
setAttachement(boolean isAttachment)
defines that the element is send back to the client as attachment and not inplace, so that the attachement is opened by
a specific client program, which is specified by the content-type of the attachement |
void |
setMakeCopy(boolean makeCopy)
method setMakeCopy - sets a flag that the inputstream of this CachedWebResource is always copied before it is added to the cache. |
void |
setReadOnce(boolean isReadOnce)
defines that the element is read once and directly removed from the cache after the first time, it is read. |
void |
setResourceName(java.lang.String resourceName)
Method setResourceName - sets the name of the resource/file, expects filename + suffix |
setAttachement
public void setAttachement(boolean isAttachment)
- defines that the element is send back to the client as attachment and not inplace, so that the attachement is opened by
a specific client program, which is specified by the content-type of the attachement
- Parameters:
isAttachment - - true means that it is handled as attachement
setMakeCopy
public void setMakeCopy(boolean makeCopy)
- method setMakeCopy - sets a flag that the inputstream of this CachedWebResource is always copied before it is added to the cache.
It is important for inputstreams like httpinputstream, which have only a shortterm endurance.
- Parameters:
makeCopy -
setResourceName
public void setResourceName(java.lang.String resourceName)
- Method setResourceName - sets the name of the resource/file, expects filename + suffix
- Parameters:
resourceName -
setReadOnce
public void setReadOnce(boolean isReadOnce)
- defines that the element is read once and directly removed from the cache after the first time, it is read.
- Parameters:
isReadonce -
isExpired
public boolean isExpired()
- Method isExpired.
- Returns:
- boolean - returns if cache element is expired
Copyright © 2004 SAP AG. Automatically generated Thu Mar 3 2005, 22:15