HydraExpress 4.6 |
HydraExpress C++ API Reference Guide |
|
Holds configuration information from the deployment descriptor. More...
#include <rwsf/servlet/FilterConfig.h>
Public Member Functions | |
FilterConfig () | |
FilterConfig (const FilterConfig &config) | |
virtual | ~FilterConfig () |
FilterConfig & | operator= (const FilterConfig &second) |
rwsf::ServletContext | getServletContext () const |
std::string | getFilterName () const |
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 rwsf::FilterConfig::~FilterConfig | ( | ) | [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 © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.