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

rwsf::HttpServletRequest

Package:  Servlet


rwsf::HttpServletRequest rwsf::ServletRequest

Local Index

Members

Header File

#include <rwsf/servlet/http/HttpServletRequest.h>

Description

Extends rwsf::ServletRequest to provide request information for HTTP servlets. An HTTP servlet receives an rwsf::HttpServletRequest object for each request from a client. The request object contains the complete information in the request as well as any rwsf::HttpSession object associated with the request.

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

Table 3: rwsf::HttpServletRequest deviation from Servlet Specification

Member Description of Difference from Servlet Specification

getAuthType()

currently a no-op at this release.

getRemoteUser()

currently a no-op at this release.

getUserPrincipal()

not included in this implementation.

isUserInRole()

currently a no-op at this release.

parseDate()

added method.

Example

Public Destructor

virtual
~HttpServletRequest();

Public Member Functions

std::string 
getAuthType() const;
int
getContentLength() const;
std::string
getContextPath() const;
bool
getCookie(const std::string& name, rwsf::Cookie& cookie) const;
rwsf::List<rwsf::Cookie> 
getCookies() const;
rwsf::DateTime
getDateHeader(const std::string& name) const;
std::string
getHeader(const std::string& name) const;
rwsf::Enumeration<std::string>
getHeaderNames() const;
rwsf::Enumeration<std::string>
getHeaders(const std::string& name) const;
int
getIntHeader(const std::string& name) const;
std::string
getMethod() const;
std::string
getPathInfo() const;
std::string
getPathTranslated() const;
std::string
getQueryString() const;
std::string
getRemoteUser() const;
std::string
getRequestedSessionId() const;
std::string
getRequestURI() const;
std::string
getRequestURL() const;
std::string
getServletPath() const;
rwsf::HttpSession
getSession() const;
rwsf::HttpSession
getSession(bool create) const;
bool
isRequestedSessionIdFromCookie() const;
bool
isRequestedSessionIdFromURL() const;
bool
isRequestedSessionIdValid() const;
bool
isUserInRole(const std::string& role) const;
rwsf::DateTime
parseDate(const std::string& value) const;

See Also

rwsf::ServletRequest

rwsf::HttpServletResponse



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.