com.ibm.wbi.protocol.http.beans
Class NoCacheEditor
com.ibm.wbi.Meg
|
+--com.ibm.wbi.Editor
|
+--com.ibm.wbi.protocol.http.HttpEditor
|
+--com.ibm.wbi.protocol.http.beans.NoCacheEditor
- public class NoCacheEditor
- extends HttpEditor
An Editor that modifies a document's HTTP header to indicate that the
document should not be cached.
|
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright information |
| Methods inherited from class com.ibm.wbi.Meg |
forwardRequest, getCondition, getEnabled, getMegProperty, getMegProperty, getMegPropertyKeys, getName, getPlugin, getPriority, getSystemContext, initialize, initialize, isEnabled, isMegApplicable, loadMegResources, run, setCondition, setEnabled, setMegProperty, setName, setPriority, setSystemContext, setup, setup, setup, setup |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright information
NoCacheEditor
public NoCacheEditor()
handleRequest
public void handleRequest(RequestEvent e)
throws RequestRejectedException,
java.io.IOException
- The method used by the proxy to edit the document header.
Note that this method does not alter documents if they have a response
code other than 200 (Ok).
- Overrides:
handleRequest in class HttpEditor
- Following copied from class:
com.ibm.wbi.protocol.http.HttpEditor
- Parameters:
event - The request event with an input and output stream.- Throws:
RequestRejectedException - If rejecting request, this
must be thrown before the first write() is
made to the output stream.java.io.Exception - can be thrown if an exception was generated
by the Meg while processing the MegInput/OutputStreams.