Interface sun.server.http.Filter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface sun.server.http.Filter

public interface Filter
extends Object
This is an interface for objects which are being server-side included. When ServletRequests are extended to include properties, this may be replaced with the generic servlet interface. It is termed Filter because you should be able to line them up such that output from one of these objects becomes the input for another repeatedly before it is written out to the final stream.


Method Index

 o service(InputStream, OutputStream, Hashtable)
The servlet should use this to contribute whatever it has to contribute to the stream.

Methods

 o service
  public abstract void service(InputStream in,
                               OutputStream out,
                               Hashtable params) throws IOException
The servlet should use this to contribute whatever it has to contribute to the stream.
Parameters:
in - the InputStream to parse.
out - the OutputStream to write to.
params - a hashtable of the parameters for this request.

All Packages  Class Hierarchy  This Package  Previous  Next  Index