com.ibm.websphere.servlet.cache
Interface DynamicContentProvider
- public interface DynamicContentProvider
Method Summary
Modifier and Type | Method and Description |
---|---|
|
provideDynamicContent(javax.servlet.http.HttpServletRequest request,java.io.OutputStream streamWriter)
This method generates and writes the dynamic content to the OutputStream.
|
|
provideDynamicContent(javax.servlet.http.HttpServletRequest request,java.io.Writer streamWriter)
This method generates and writes the dynamic content to the Writer.
|
Method Detail
provideDynamicContent
- void provideDynamicContent(javax.servlet.http.HttpServletRequest request,
- java.io.OutputStream streamWriter)
- throws java.io.IOException
This method generates and writes the dynamic content to the OutputStream.
It is called on a cache hit or miss to generate the dynamic content of the cacheable servlet.
Parameters:
request
- The HttpServletRequest to determin what dynamic content to create. streamWriter
- The OutputStream that this method will write the dynamic content to. Throws:
java.io.IOException
provideDynamicContent
- void provideDynamicContent(javax.servlet.http.HttpServletRequest request,
- java.io.Writer streamWriter)
- throws java.io.IOException
This method generates and writes the dynamic content to the Writer.
It is called on a cache hit or miss to generate the dynamic content of the cacheable servlet.
Parameters:
request
- The HttpServletRequest to determin what dynamic content to create. streamWriter
- The Writer that this method will write the dynamic content to. Throws:
java.io.IOException