jrun.servlet
Class FilterObject

jrun.servlet.FilterObject

public class FilterObject

Represents a single Filter object

Author:
Karl Moss

Field Summary
protected  javax.servlet.ServletContext context
           
protected  javax.servlet.Filter filter
           
protected  FilterMetaData metadata
           
protected  java.util.Hashtable params
           
 
Constructor Summary
FilterObject(javax.servlet.ServletContext context, javax.servlet.Filter filter, FilterMetaData metadata)
          Create a new FilterObject and initialize the given Filter object
 
Method Summary
 void destroy()
          Destroys the underlying Filter
 javax.servlet.Filter getFilter()
          Gets the underlying Filter object
 java.lang.String getFilterName()
           
 java.lang.String getInitParameter(java.lang.String name)
           
 java.util.Enumeration getInitParameterNames()
           
 javax.servlet.ServletContext getServletContext()
           
 void init()
          Initializes the filter
 java.lang.String toString()
           
 

Field Detail

context

protected javax.servlet.ServletContext context

filter

protected javax.servlet.Filter filter

params

protected java.util.Hashtable params

metadata

protected FilterMetaData metadata
Constructor Detail

FilterObject

public FilterObject(javax.servlet.ServletContext context,
                    javax.servlet.Filter filter,
                    FilterMetaData metadata)
Create a new FilterObject and initialize the given Filter object
Parameters:
context - The servlet context
filter - The Filter object
metadata - The FilterMetaData from web.xml
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Initializes the filter

destroy

public void destroy()
Destroys the underlying Filter

getFilter

public javax.servlet.Filter getFilter()
Gets the underlying Filter object

getFilterName

public java.lang.String getFilterName()

getServletContext

public javax.servlet.ServletContext getServletContext()

getInitParameterNames

public java.util.Enumeration getInitParameterNames()

getInitParameter

public java.lang.String getInitParameter(java.lang.String name)

toString

public java.lang.String toString()


Copyright � 2002 Macromedia Corporation. All Rights Reserved.