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

rwsf::HttpServletRequest

Group:  Servlet


rwsf::HttpServletRequestrwsf::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.

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

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.

Public Destructors

virtual
~HttpServletRequest();

Public Member Functions

std::string
getAuthType() const;
int
getContentLength() const;
std::string
getContentType() const;
std::string
getContextPath() const;
bool
getCookie(const std::string & name,
    rwsf::Cookie & cookie) const;
std::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(bool create,
    rwsf::HttpSession::Lifetime l = rwsf::HttpSession::Transient) const;
rwsf::HttpSession
getSession(rwsf::HttpSession::Lifetime l = rwsf::HttpSession::Transient) 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;


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.