Filter.Dispatcher| Constructor and Description |
|---|
FilterImpl() |
| Modifier and Type | Method and Description |
|---|---|
Filter.Dispatcher[] |
getDispatchers() |
javax.servlet.Filter |
getFilter()
Get the Servlet API filter.
|
Map<String,String> |
getInitParameters()
Get the parameters, which which the Filter will be initialized.
|
String |
getPath()
Get the path for, which the filter is triggered.
|
void |
setDispatchers(Filter.Dispatcher[] dispatchers) |
void |
setFilter(javax.servlet.Filter filter)
Set the Servlet API Filter.
|
void |
setInitParameters(Map<String,String> params)
Set the initial configuration of the Filter.
|
void |
setPath(String path)
Set the path for which the filter is triggered.
|
public Filter.Dispatcher[] getDispatchers()
getDispatchers in interface Filterpublic void setDispatchers(Filter.Dispatcher[] dispatchers)
setDispatchers in interface Filterdispatchers - should not have duplicates and nulls.public String getPath()
Filterpublic void setPath(String path)
FilterThe path must follow the standard Servlet spec mapping patterns:
Request paths are tested against the mapping patterns in the standard order:
public javax.servlet.Filter getFilter()
Filterpublic void setFilter(javax.servlet.Filter filter)
Filterpublic Map<String,String> getInitParameters()
FiltergetInitParameters in interface Filternull if no
initial configuration is set.public void setInitParameters(Map<String,String> params)
FilterFilterConfig.setInitParameters in interface Filterparams - the parameters.Copyright © 2022. All rights reserved.