The C++ framework for developing highly scalable, high performance servers on Windows platforms.

CHTTPRequest Class Reference

Collaboration diagram for CHTTPRequest:

List of all members.

Public Member Functions

 CHTTPRequest (const std::string &method, const std::string &uri, size_t versionMajor, size_t versionMinor, const CHTTPHeaders &headers, JetByteTools::IO::CSmartBuffer &entity)
 CHTTPRequest (const std::string &method, const std::string &uri)
 CHTTPRequest (const CHTTPRequest &rhs)
CHTTPRequestoperator= (const CHTTPRequest &rhs)
CHTTPRequestClone () const
JetByteTools::IO::CSmartBuffer ExtractEntity () const
void ValidateTokenIsNotPresentInQueryString (const std::string &token, const std::string &because) const
bool TokenIsPresentInQueryString (const std::string &token) const
bool ValuelessTokenIsPresentInQueryString (const std::string &token) const
bool GetNumericTokenValueFromQueryString (const std::string &token, DWORD &value) const
bool GetStringTokenValueFromQueryString (const std::string &token, JetByteTools::Core::_tstring &value) const

Public Attributes

const std::string method
const std::string uri
const std::string decodedUri
const std::string path
const std::string queryString
const size_t versionMajor
const size_t versionMinor
const CHTTPHeaders headers
JetByteTools::IO::CSmartBuffer entity

Constructor & Destructor Documentation

CHTTPRequest ( const std::string &  method,
const std::string &  uri,
size_t  versionMajor,
size_t  versionMinor,
const CHTTPHeaders headers,
JetByteTools::IO::CSmartBuffer entity 

CHTTPRequest ( const std::string &  method,
const std::string &  uri 

CHTTPRequest ( const CHTTPRequest rhs  ) 

Member Function Documentation

CHTTPRequest& operator= ( const CHTTPRequest rhs  ) 

CHTTPRequest * Clone (  )  const

CSmartBuffer ExtractEntity (  )  const

void ValidateTokenIsNotPresentInQueryString ( const std::string &  token,
const std::string &  because 
) const

bool TokenIsPresentInQueryString ( const std::string &  token  )  const

bool ValuelessTokenIsPresentInQueryString ( const std::string &  token  )  const

bool GetNumericTokenValueFromQueryString ( const std::string &  token,
DWORD value 
) const

bool GetStringTokenValueFromQueryString ( const std::string &  token,
JetByteTools::Core::_tstring value 
) const

Member Data Documentation

const std::string method

const std::string uri

const std::string decodedUri

const std::string path

const std::string queryString

const size_t versionMajor

const size_t versionMinor

Generated on Sun Sep 12 19:09:15 2021 for The Server Framework - v7.4 by doxygen 1.5.3