cxxtools::http::RequestHeader Class Reference

#include <cxxtools/http/requestheader.h>

Inheritance diagram for cxxtools::http::RequestHeader:
cxxtools::http::MessageHeader

Public Member Functions

 RequestHeader (const std::string &url=std::string())
virtual ~RequestHeader ()
void clear ()
const std::string & url () const
void url (const std::string &u)
const std::string & method () const
void method (const std::string &m)
const std::string & qparams () const
void qparams (const std::string &q)
std::string query () const
- Public Member Functions inherited from cxxtools::http::MessageHeader
 MessageHeader ()
virtual ~MessageHeader ()
void setHeader (const char *key, const char *value, bool replace=true)
void addHeader (const char *key, const char *value)
void removeHeader (const char *key)
const char * getHeader (const char *key) const
bool hasHeader (const char *key) const
bool isHeaderValue (const char *key, const char *value) const
const_iterator begin () const
const_iterator end () const
unsigned httpVersionMajor () const
unsigned httpVersionMinor () const
void httpVersion (unsigned major, unsigned minor)
bool chunkedTransferEncoding () const
std::size_t contentLength () const
bool keepAlive () const

Additional Inherited Members

- Public Types inherited from cxxtools::http::MessageHeader
typedef std::pair< const char
*, const char * > 
value_type
- Static Public Member Functions inherited from cxxtools::http::MessageHeader
static char * htdateCurrent (char *buffer)
 Returns a properly formatted current time-string, as needed in http.
- Static Public Attributes inherited from cxxtools::http::MessageHeader
static const unsigned MAXHEADERSIZE = 4096

Constructor & Destructor Documentation

cxxtools::http::RequestHeader::RequestHeader ( const std::string &  url = std::string())
inlineexplicit
virtual cxxtools::http::RequestHeader::~RequestHeader ( )
inlinevirtual

Member Function Documentation

void cxxtools::http::RequestHeader::clear ( )
inline

Reimplemented from cxxtools::http::MessageHeader.

const std::string& cxxtools::http::RequestHeader::method ( ) const
inline
void cxxtools::http::RequestHeader::method ( const std::string &  m)
inline
const std::string& cxxtools::http::RequestHeader::qparams ( ) const
inline
void cxxtools::http::RequestHeader::qparams ( const std::string &  q)
inline
std::string cxxtools::http::RequestHeader::query ( ) const
inline
const std::string& cxxtools::http::RequestHeader::url ( ) const
inline
void cxxtools::http::RequestHeader::url ( const std::string &  u)
inline

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