|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The response to be issued as the result of the invocation of an accessor
Method Summary | |
void |
addAspect(IURAspect aAspect)
Add an additional aspect into a response. |
void |
setCacheable()
Declares that the response may have merit in being cached. |
void |
setCreationCost(int aCost)
Sets the creation cost of this response over and above the accumulated cost of any subrequests, by default 0. |
void |
setExpired()
Forces the response to be immediately expired so it and any derived results are uncacheable. |
void |
setExpiryPeriod(long aPeriod)
Forces a specific expiry period (in milliseconds) on the response |
void |
setMimeType(String aType)
Sets the mimetype of this response. |
void |
setNeverExpire()
Forces the response to never expire so that an dependencies are ignored and the result will be valid forever |
void |
setUsageCost(int aCost)
Sets the usage cost of this response over and above the accumulated cost of any subrequests, by default 0. |
Method Detail |
public void setCreationCost(int aCost)
aCost
- public void setUsageCost(int aCost)
aCost
- public void setMimeType(String aType)
aType
- public void setExpired()
public void setNeverExpire()
public void setExpiryPeriod(long aPeriod)
aPeriod
- the number of milliseconds for which the response is
validpublic void setCacheable()
public void addAspect(IURAspect aAspect)
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |