Home | Documentation |
HttpRequest Class Reference
updated Mon Feb 22 2016
|
#include <HttpContext.h>
Public Types | |
enum | Method { GET = 0, POST = 1 } |
Public Member Functions | |
HttpRequest () | |
constructor. More... | |
virtual | ~HttpRequest () |
destructor. More... | |
virtual Method | getMethod () const |
virtual const char * | getQueryString () |
virtual const char * | getBody () |
virtual void * | getData () |
virtual unsigned long | getContentLength () const |
return the lenght of the body of the request. More... | |
virtual bool | operator<< (std::istream &) |
Public Attributes | |
std::string | _querystring |
char * | _body |
unsigned long | _contentlength |
Method | _method |
Additional Inherited Members |
a HTTP request. No platform dependent types are used here, unchanged also for Apache-Server Platform dependency is in subclasses only.
enum HttpRequest::Method |
HttpRequest::HttpRequest | ( | ) |
constructor.
|
virtual |
destructor.
|
virtual |
|
virtual |
return the lenght of the body of the request.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
char* HttpRequest::_body |
unsigned long HttpRequest::_contentlength |
Method HttpRequest::_method |
std::string HttpRequest::_querystring |