HydraExpress™ C++ 2020 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
Holds configuration information from the deployment descriptor. More...
#include <rwsf/servlet/FilterConfig.h>
Public Member Functions | |
FilterConfig () | |
FilterConfig (const FilterConfig &config) | |
virtual | ~FilterConfig () |
std::string | getFilterName () const |
rwsf::ServletContext | getServletContext () const |
FilterConfig & | operator= (const FilterConfig &second) |
Public Member Functions inherited from rwsf::Config | |
Config () | |
Config (const Config &config) | |
virtual | ~Config () |
bool | containsParameter (const std::string &name) const |
bool | getBoolInitParameter (const std::string &key, bool def=false) const |
std::string | getInitParameter (const std::string &name) const |
rwsf::Enumeration< std::string > | getInitParameterNames () const |
long | getLongInitParameter (const std::string &key, long def=0) const |
Config & | operator= (const Config &rhs) |
void | setBoolInitParameter (const std::string &key, bool value) |
void | setInitParameter (const std::string &key, const std::string &value) |
void | setLongInitParameter (const std::string &key, long value) |
Public Member Functions inherited from rwsf::HandleBase | |
bool | isValid (void) const |
bool | operator!= (const HandleBase &second) const |
bool | operator== (const HandleBase &second) const |
Additional Inherited Members | |
Protected Member Functions inherited from rwsf::HandleBase | |
HandleBase (void) | |
HandleBase (StaticCtor) | |
HandleBase (BodyBase *body) | |
HandleBase (const HandleBase &second) | |
virtual | ~HandleBase (void) |
BodyBase & | body (void) const |
HandleBase & | operator= (const HandleBase &second) |
rwsf::FilterConfig contains the configuration information provided in the deployment descriptor of a given filter. After a filter is initialized, the filter accesses configuration information by using the method rwsf::Filter::getFilterConfig(). This class provides a function that returns the filter name, and inherits functions for working with initialization parameters and the filter context.
The behavior of the following functions are inconsistent with or not defined in the Java Servlet Specification v2.3.
getInitParameter(std::string) | In the HydraExpress implementation, this method inherits from base class rwsf::Config |
getInitParameterNames() | In the HydraExpress implementation, this method inherits from base class rwsf::Config |
rwsf::FilterConfig::FilterConfig | ( | ) |
Creates an empty, invalid instance. Use the assignment operator or copy constructor to create a valid instance.
rwsf::FilterConfig::FilterConfig | ( | const FilterConfig & | config | ) |
Creates a new FilterConfig handle to the config body instance.
|
virtual |
Detaches from the current body (if any), decrements its reference count, and deletes it if there are no other references.
std::string rwsf::FilterConfig::getFilterName | ( | ) | const |
Returns the name of this filter as defined by the filter-name
element of the deployment descriptor.
rwsf::ServletContext rwsf::FilterConfig::getServletContext | ( | ) | const |
Returns the servlet context for this object.
FilterConfig& rwsf::FilterConfig::operator= | ( | const FilterConfig & | second | ) |
Associates this handle with the body instance of second. Returns a reference to self.
Copyright © 2020 Rogue Wave Software, Inc. All Rights Reserved. |