org.jwarp.service.web.cache
Interface ICacheableResponse
- All Known Implementing Classes:
- CacheableResponse
- public interface ICacheableResponse
Interface to extend the HttpServletResopnse to enable caching. This response just records
all the operations to it. It then can be stored to a cache and the metho defined here
can be called repedetely to fill in the data without calling any underlying operations.
All operations executed to the response must be recorded and reexecuted.
- Version:
- 1.0
- Author:
- Anatole Tresch
|
Method Summary |
void |
copyData(javax.servlet.http.HttpServletResponse res)
Get a representaion object for this response. |
copyData
public void copyData(javax.servlet.http.HttpServletResponse res)
throws java.io.IOException
- Get a representaion object for this response. The representation object
must contain all data needed for generating a full response.
This representation object then will be cached for accelerating
any web access.
- Parameters:
res - The http respnse to be set with the cached data.- Throws:
java.io.IOException - If something went wrong
|
|
© O R C A S y s t e m s
|
|
PREV CLASS
NEXT CLASS |
FRAMES
NO FRAMES |
|
SUMMARY: INNER | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |