Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::ServletRequest

Group:  Servlet


Does not inherit

Local Index

Members

Header File

#include rwsf/servlet/ServletRequest.h

Description

rwsf::ServletRequest encapsulates a request from a client. The Agent constructs an instance of this class for each request. The Agent populates the object with the details of the client request. The request object also contains an attribute collection that stores data created by objects in the Agent. For example, a filter might preprocess part of the request and store the results in an attribute for use by a servlet.

The following table lists methods that are either non-standard or not supported at this release.

getLocale()

not supported in this release.

getParameterMap()

not supported in this release.

getPayload()

added method.

getReader()

not supported in this release.

Public Destructors

virtual
~ServletRequest();

Public Member Functions

rwsf::Attribute
getAttribute(const std::string & name) const;
rwsf::Enumeration< std::string >
getAttributeNames() const;
std::string
getCharacterEncoding() const;
int
getContentLength() const;
std::string
getContentType() const;
std::string
getParameter(const std::string & name) const;
rwsf::Enumeration< std::string >
getParameterNames() const;
std::list< std::string >
getParameterValues(const std::string & name) const;
std::string
getPayload() const;
std::string
getProtocol() const;
std::string
getRemoteAddr() const;
std::string
getRemoteHost() const;
rwsf::RequestDispatcher
getRequestDispatcher(const std::string & path);
std::string
getScheme() const;
std::string
getServerName() const;
int
getServerPort() const;
bool
isSecure() const;
rwsf::Attribute
removeAttribute(const std::string & name);
void
setAttribute(const std::string & name,
    const rwsf::Attribute & value);


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.