A filter configuration object used by a servlet container to pass information to a filter during initialization.
More...
#include <context.h>
A filter configuration object used by a servlet container to pass information to a filter during initialization.
- See Also
- http_filter
servlet::filter_config::filter_config |
( |
const std::string & |
filter_name | ) |
|
|
inline |
Creates new filter_config object with a given filter name.
- Parameters
-
filter_name | The name of the filter. |
servlet::filter_config::filter_config |
( |
std::string && |
filter_name | ) |
|
|
inline |
const std::string& servlet::filter_config::get_filter_name |
( |
| ) |
const |
|
inline |
Get the name of the filter.
- Returns
- The filter-name of this filter as defined in the deployment descriptor.
template<typename KeyType >
optional_ref<const std::string> servlet::filter_config::get_init_parameter |
( |
const KeyType & |
key | ) |
|
|
inline |
Returns a std::string
containing the value of the named initialization parameter, or empty_reference if the parameter does not exist.
- Parameters
-
key | a string specifying the name of the initialization parameter |
- Returns
- a reference to a
std::string
containing the value of the initialization parameter
const std::map<std::string, std::string, std::less<> >& servlet::filter_config::get_init_parameters |
( |
| ) |
|
|
inline |
Returns all the filter's initialization parameters as a tree_map
.
- Returns
- a
tree_map
of all the filter's initialization parameters
The documentation for this class was generated from the following file: