All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface org.doit.muffin.ContentFilter

public interface ContentFilter
extends Filter, Runnable
Filter interface for content filtering.

Author:
Mark Boyns
See Also:
RequestFilter, ReplyFilter, Filter, InputObjectStream, OutputObjectStream

Method Index

 o needsFiltration(Request, Reply)
Specify whether or not this filter is interested in filtering the content related to request and reply.
 o setInputObjectStream(InputObjectStream)
Set the input stream to be used.
 o setOutputObjectStream(OutputObjectStream)
Set the output stream to be used.

Methods

 o needsFiltration
 public abstract boolean needsFiltration(Request request,
                                         Reply reply)
Specify whether or not this filter is interested in filtering the content related to request and reply.

Parameters:
request - the request
reply - the reply
 o setInputObjectStream
 public abstract void setInputObjectStream(InputObjectStream in)
Set the input stream to be used.

Parameters:
in - the input stream
 o setOutputObjectStream
 public abstract void setOutputObjectStream(OutputObjectStream out)
Set the output stream to be used.

Parameters:
out - the output stream

All Packages  Class Hierarchy  This Package  Previous  Next  Index