Package org.apache.hadoop.hbase.http
Interface FilterContainer
- All Known Implementing Classes:
HttpServer
A container interface to add javax.servlet.Filter.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a filter to the container.void
Add a global filter to the container - This global filter will be applied to all available web contexts.
-
Method Details
-
addFilter
Add a filter to the container.- Parameters:
name
- Filter nameclassname
- Filter class nameparameters
- a map from parameter names to initial values
-
addGlobalFilter
Add a global filter to the container - This global filter will be applied to all available web contexts.- Parameters:
name
- filter nameclassname
- filter class nameparameters
- a map from parameter names to initial values
-