HydraExpress 4.6 |
HydraExpress C++ API Reference Guide |
|
Contains configuration information for a servlet instance. More...
#include <rwsf/servlet/ServletConfig.h>
Public Member Functions | |
ServletConfig () | |
ServletConfig (const ServletConfig &second) | |
virtual | ~ServletConfig () |
ServletConfig & | operator= (const ServletConfig &second) |
rwsf::ServletContext | getServletContext () const |
std::string | getServletName () const |
rwsf::ServletConfig holds servlet configuration information. The Agent passes an instance of this class to the init()
method of a servlet.
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 member inherits from base class rwsf::Config |
getInitParameterNames() | In the HydraExpress implementation, this member inherits from base class rwsf::Config |
rwsf::ServletConfig::ServletConfig | ( | ) |
Creates an empty instance; that is, a default rwsf::ServletConfig contains no information.
rwsf::ServletConfig::ServletConfig | ( | const ServletConfig & | second | ) |
Creates a new ServletConfig handle to the body instance of second.
virtual rwsf::ServletConfig::~ServletConfig | ( | ) | [virtual] |
Detaches from the current body (if any), decrements its reference count, and deletes it if there are no other references.
rwsf::ServletContext rwsf::ServletConfig::getServletContext | ( | ) | const |
Returns the servlet context for this object.
std::string rwsf::ServletConfig::getServletName | ( | ) | const |
Returns the name of this servlet instance as defined by the servlet-name
element of the deployment descriptor.
ServletConfig& rwsf::ServletConfig::operator= | ( | const ServletConfig & | 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.