rwsf::FilterConfig rwsf::Config
#include <rwsf/servlet/FilterConfig.h>
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 getFilterConfig() method of rwsf::Filter. This class provides a function that returns the filter name, and inherits functions for working with initialization parameters and the filter context.
Table 2 lists methods that are either non-standard or not supported at this release.
Member | Description of Difference from Servlet Specification |
getInitParameter(std::string) | In the HydraExpress implementation, this member is included in base class rwsf::Config |
getInitParameterName() | In the HydraExpress implementation, this member is included in base class rwsf::Config |
getServletContext() | In the HydraExpress implementation, this member is included in base class rwsf::Config |
FilterConfig();
Creates an empty, invalid instance. Use the assignment operator or copy constructor to create valid instances.
FilterConfig(const FilterConfig& config);
Attaches to and increments the reference count on config's body.
tor or copy constructor to create valid instances.
FilterConfig(const FilterConfigImp& *impl);
Attaches to and increments the reference count on config's body.
~FilterConfig();
Detaches from the current body (if any), decrements its reference count, and deletes it if there are no other references.
rwsf::FilterConfig& operator=(const rwsf::FilterConfig& second);
Detaches from the current body (if any), decrements its reference count, deletes it if there are no other references, and then attaches to second's body and increments its reference count.
rwsf::ServletContext getServletContext() const;
Returns the servlet context for this object. This is a convenience function equivalent to calling getServletConfig().getServletContext().
std::string getFilterName() const;
Returns the name of this filter as defined by the filter-name element of the deployment descriptor.
©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.