Interface FilterContainer

All Known Implementing Classes:
HttpServer

@Private public interface FilterContainer
A container interface to add javax.servlet.Filter.
  • Method Summary

    Modifier and Type
    Method
    Description
    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 - This global filter will be applied to all available web contexts.
  • Method Details

    • 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 - This global filter will be applied to all available web contexts.
      Parameters:
      name - filter name
      classname - filter class name
      parameters - a map from parameter names to initial values