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

rwsf::ServletRequest

Package:  Servlet


Base Class

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.

Table 8 lists methods that are either non-standard or not supported at this release.

Table 8: rwsf::ServletRequest deviation from Servlet Specification

Member Description of Difference from Servlet Specification

getLocale()

not supported in this release.

getParameterMap()

not supported in this release.

getPayload()

added method.

getReader()

not supported in this release.

Public Destructor

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
getPayload() const;
std::string
getParameter(const std::string& name) const;
rwsf::Enumeration<std::string>
getParameterNames() const;
rwsf::List<std::string>
getParameterValues(const std::string& name) 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);

See Also

rwsf::HttpServletRequest



Previous fileTop of DocumentContentsIndex pageNext file

©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.