org.apache.hadoop.http
Interface FilterContainer

All Known Implementing Classes:
HttpServer

public interface FilterContainer

A container class for javax.servlet.Filter.


Method Summary
 void addFilter(String name, String classname, Map<String,String> parameters)
          Add a filter to the container.
 void addGlobalFilter(String name, String classname, Map<String,String> parameters)
          Add a global filter to the container.
 

Method Detail

addFilter

void addFilter(String name,
               String classname,
               Map<String,String> parameters)
Add a filter to the container.

Parameters:
name - Filter name
classname - Filter class name
parameters - a map from parameter names to initial values

addGlobalFilter

void addGlobalFilter(String name,
                     String classname,
                     Map<String,String> parameters)
Add a global filter to the container.

Parameters:
name - filter name
classname - filter class name
parameters - a map from parameter names to initial values


Copyright © 2009 The Apache Software Foundation