CPPSERV


Home Projects Jobs Clientele Contact
CPPSERV Documentation Download TODO Mailing lists Bug tracker News RSS Feed Browse source

container::ForwardedRequestWrapper Class Reference

#include <ForwardedRequestWrapper.h>

Inheritance diagram for container::ForwardedRequestWrapper:
Collaboration diagram for container::ForwardedRequestWrapper:

List of all members.


Public Member Functions

 ForwardedRequestWrapper (servlet::HttpServletRequest *request, serverconfig::AppContext &ctx, const std::string &uri, const std::string &path)
virtual std::string getContextPath ()
virtual std::string getRequestURI ()
virtual std::string getRequestURL ()
virtual std::string getServletPath ()

Private Attributes

serverconfig::AppContextm_context
std::string m_uri
std::string m_path

Detailed Description

Definition at line 29 of file ForwardedRequestWrapper.h.


Constructor & Destructor Documentation

container::ForwardedRequestWrapper::ForwardedRequestWrapper ( servlet::HttpServletRequest request,
serverconfig::AppContext ctx,
const std::string &  uri,
const std::string &  path 
) [inline]

Constructs a request object wrapping the given request->

Exceptions:
java->lang->IllegalArgumentException if the request is null

Definition at line 41 of file ForwardedRequestWrapper.h.


Member Function Documentation

virtual std::string container::ForwardedRequestWrapper::getContextPath (  )  [inline, virtual]

Definition at line 50 of file ForwardedRequestWrapper.h.

References container::serverconfig::AppContext::getUriBase(), and m_context.

Here is the call graph for this function:

virtual std::string container::ForwardedRequestWrapper::getRequestURI (  )  [inline, virtual]

Definition at line 54 of file ForwardedRequestWrapper.h.

References m_uri.

Referenced by getRequestURL().

virtual std::string container::ForwardedRequestWrapper::getRequestURL (  )  [inline, virtual]

virtual std::string container::ForwardedRequestWrapper::getServletPath (  )  [inline, virtual]

Definition at line 64 of file ForwardedRequestWrapper.h.

References m_path.


Member Data Documentation

Definition at line 35 of file ForwardedRequestWrapper.h.

Referenced by getServletPath().

Definition at line 34 of file ForwardedRequestWrapper.h.

Referenced by getRequestURI().


The documentation for this class was generated from the following file:

SourceForge.net Logo