rwlogo
HydraExpress 4.6

HydraExpress C++ API Reference Guide


   


Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::FilterConfig Class Reference
[Servlet]

Holds configuration information from the deployment descriptor. More...

#include <rwsf/servlet/FilterConfig.h>

Inheritance diagram for rwsf::FilterConfig:
rwsf::Config rwsf::HandleBase

List of all members.

Public Member Functions

 FilterConfig ()
 FilterConfig (const FilterConfig &config)
virtual ~FilterConfig ()
FilterConfigoperator= (const FilterConfig &second)
rwsf::ServletContext getServletContext () const
std::string getFilterName () const

Detailed Description

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

Constructor & Destructor Documentation

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.


Member Function Documentation

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.