|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DynamicContentProvider
Implement this interface in your Servlet or JSP to have a callback invoked during cache hits. This will allow Dynamic Cache to imbed your dynamic content within a cached fragment.
Method Summary | |
---|---|
void |
provideDynamicContent(javax.servlet.http.HttpServletRequest request,
java.io.OutputStream streamWriter)
This method generates and writes the dynamic content to the OutputStream. |
void |
provideDynamicContent(javax.servlet.http.HttpServletRequest request,
java.io.Writer streamWriter)
This method generates and writes the dynamic content to the Writer. |
Method Detail |
---|
void provideDynamicContent(javax.servlet.http.HttpServletRequest request, java.io.OutputStream streamWriter) throws java.io.IOException
request
- The HttpServletRequest to determin what dynamic content to create.streamWriter
- The OutputStream that this method will write the dynamic content to.
java.io.IOException
void provideDynamicContent(javax.servlet.http.HttpServletRequest request, java.io.Writer streamWriter) throws java.io.IOException
request
- The HttpServletRequest to determin what dynamic content to create.streamWriter
- The Writer that this method will write the dynamic content to.
java.io.IOException
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |