Nebula
|
#include <httprequest.h>
Encapsulates a complete Http request into a message.
Inherits Messaging::Message.
Public Member Functions | |
HttpRequest () | |
constructor | |
virtual | ~HttpRequest () |
destructor | |
void | SetMethod (HttpMethod::Code requestMethod) |
set the Http method (GET, PUT, etc...) | |
HttpMethod::Code | GetMethod () const |
get the Http method | |
void | SetURI (const IO::URI &requestUri) |
set the request URI | |
const IO::URI & | GetURI () const |
get the request URI | |
void | SetResponseContentStream (const Ptr< IO::Stream > &responseContentStream) |
set the response content stream | |
const Ptr< IO::Stream > & | GetResponseContentStream () const |
get the response content stream | |
void | SetStatus (HttpStatus::Code status) |
set the http status (set by HttpRequestHandler) | |
HttpStatus::Code | GetStatus () const |
get the http status | |
Public Member Functions inherited from Core::RefCounted | |
RefCounted () | |
constructor | |
int | GetRefCount () const |
get the current refcount | |
void | AddRef () |
increment refcount by one | |
void | Release () |
decrement refcount and destroy object if refcount is zero | |
bool | IsInstanceOf (const Rtti &rtti) const |
return true if this object is instance of given class | |
bool | IsInstanceOf (const Util::String &className) const |
return true if this object is instance of given class by string | |
bool | IsInstanceOf (const Util::FourCC &classFourCC) const |
return true if this object is instance of given class by fourcc | |
bool | IsA (const Rtti &rtti) const |
return true if this object is instance of given class, or a derived class | |
bool | IsA (const Util::String &rttiName) const |
return true if this object is instance of given class, or a derived class, by string | |
bool | IsA (const Util::FourCC &rttiFourCC) const |
return true if this object is instance of given class, or a derived class, by fourcc | |
const Util::String & | GetClassName () const |
get the class name | |
Util::FourCC | GetClassFourCC () const |
get the class FourCC code | |
Private Member Functions | |
__DeclareClass (HttpRequest) | |
Private Attributes | |
__DeclareMsgId | |
HttpMethod::Code | method |
IO::URI | uri |
Ptr< IO::Stream > | responseContentStream |
HttpStatus::Code | status |
Additional Inherited Members | |
Static Public Member Functions inherited from Core::RefCounted | |
static void | DumpRefCountingLeaks () |
dump refcounting leaks, call at end of application (NEBULA_DEBUG builds only!) | |
Protected Member Functions inherited from Core::RefCounted | |
virtual | ~RefCounted () |
destructor (called when refcount reaches zero) | |
Http::HttpRequest::HttpRequest | ( | ) |
constructor
|
virtual |
destructor
|
private |
|
inline |
get the Http method
|
inline |
get the response content stream
|
inline |
get the http status
|
inline |
get the request URI
|
inline |
set the Http method (GET, PUT, etc...)
|
inline |
set the response content stream
|
inline |
set the http status (set by HttpRequestHandler)
|
inline |
set the request URI
|
private |
|
private |
|
private |
|
private |
|
private |