Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::HTTPHeader Class Reference
[Networking library]

HTTP Header class. More...

#include <phttpclient.h>

Inheritance diagram for P::HTTPHeader:

P::HTTPRequestHeader P::HTTPResponseHeader List of all members.

Public Types

typedef std::map< std::string,
std::string > 
field_map
typedef field_map::iterator iterator
typedef field_map::const_iterator const_iterator

Public Member Functions

 HTTPHeader ()
 ~HTTPHeader ()
void set (const std::string &head, const std::string &val)
const std::string & get (const std::string &head) const
bool remove (const std::string &head)
bool contains (const std::string &head) const
void setCacheControl (const std::string &val)
void setConnection (const std::string &val)
const std::string & connection () const
void setDate (const std::string &val)
void setPragma (const std::string &val)
void setTrailer (const std::string &val)
void setTransferEncoding (const std::string &val)
const std::string & transferEncoding () const
void setUpgrade (const std::string &val)
void setVia (const std::string &val)
void setWarning (const std::string &val)
const std::string & operator[] (const std::string &head) const
const_iterator begin () const
const_iterator end () const
iterator begin ()
iterator end ()

Detailed Description

HTTP Header class.

The base class for a HTTP-Request or -Response.

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 87 of file phttpclient.h.


Member Typedef Documentation

typedef field_map::const_iterator P::HTTPHeader::const_iterator
 

Definition at line 91 of file phttpclient.h.

typedef std::map<std::string, std::string> P::HTTPHeader::field_map
 

Definition at line 89 of file phttpclient.h.

typedef field_map::iterator P::HTTPHeader::iterator
 

Definition at line 90 of file phttpclient.h.


Constructor & Destructor Documentation

P::HTTPHeader::HTTPHeader  ) 
 

P::HTTPHeader::~HTTPHeader  ) 
 


Member Function Documentation

iterator P::HTTPHeader::begin  )  [inline]
 

Definition at line 143 of file phttpclient.h.

const_iterator P::HTTPHeader::begin  )  const [inline]
 

Definition at line 137 of file phttpclient.h.

const std::string& P::HTTPHeader::connection  )  const [inline]
 

Definition at line 108 of file phttpclient.h.

bool P::HTTPHeader::contains const std::string &  head  )  const
 

iterator P::HTTPHeader::end  )  [inline]
 

Definition at line 146 of file phttpclient.h.

const_iterator P::HTTPHeader::end  )  const [inline]
 

Definition at line 140 of file phttpclient.h.

const std::string& P::HTTPHeader::get const std::string &  head  )  const
 

const std::string& P::HTTPHeader::operator[] const std::string &  head  )  const
 

bool P::HTTPHeader::remove const std::string &  head  ) 
 

void P::HTTPHeader::set const std::string &  head,
const std::string &  val
 

void P::HTTPHeader::setCacheControl const std::string &  val  )  [inline]
 

Definition at line 102 of file phttpclient.h.

void P::HTTPHeader::setConnection const std::string &  val  )  [inline]
 

Definition at line 105 of file phttpclient.h.

void P::HTTPHeader::setDate const std::string &  val  )  [inline]
 

Definition at line 111 of file phttpclient.h.

void P::HTTPHeader::setPragma const std::string &  val  )  [inline]
 

Definition at line 114 of file phttpclient.h.

void P::HTTPHeader::setTrailer const std::string &  val  )  [inline]
 

Definition at line 117 of file phttpclient.h.

void P::HTTPHeader::setTransferEncoding const std::string &  val  )  [inline]
 

Definition at line 120 of file phttpclient.h.

void P::HTTPHeader::setUpgrade const std::string &  val  )  [inline]
 

Definition at line 126 of file phttpclient.h.

void P::HTTPHeader::setVia const std::string &  val  )  [inline]
 

Definition at line 129 of file phttpclient.h.

void P::HTTPHeader::setWarning const std::string &  val  )  [inline]
 

Definition at line 132 of file phttpclient.h.

const std::string& P::HTTPHeader::transferEncoding  )  const [inline]
 

Definition at line 123 of file phttpclient.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:34 2004 for P::Classes by doxygen 1.3.3