    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

##

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

##

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

setInputObjectStream

     public abstract void setInputObjectStream(InputObjectStream in)

  Set the input stream to be used.

  Parameters:
    in - the input stream

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