#include <ForwardedRequestWrapper.h>
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::AppContext & | m_context |
std::string | m_uri |
std::string | m_path |
Definition at line 29 of file ForwardedRequestWrapper.h.
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->
java->lang->IllegalArgumentException | if the request is null |
Definition at line 41 of file ForwardedRequestWrapper.h.
virtual std::string container::ForwardedRequestWrapper::getContextPath | ( | ) | [inline, virtual] |
Definition at line 50 of file ForwardedRequestWrapper.h.
References container::serverconfig::AppContext::getUriBase(), and m_context.
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] |
Definition at line 58 of file ForwardedRequestWrapper.h.
References getRequestURI(), servlet::ServletRequestWrapper::getScheme(), servlet::ServletRequestWrapper::getServerName(), and servlet::ServletRequestWrapper::getServerPort().
virtual std::string container::ForwardedRequestWrapper::getServletPath | ( | ) | [inline, virtual] |
std::string container::ForwardedRequestWrapper::m_path [private] |
std::string container::ForwardedRequestWrapper::m_uri [private] |