sella::server::HTTPRequest Class Reference

List of all members.

Public Types

enum  Method {
  None, Options, Get, Head,
  Post, Put, Delete, Trace,
  Connect, Patch, Extension
}

Public Member Functions

 HTTPRequest (const HTTP &http) throw ()
void parse (const std::string &buffer) throw (ServerException)
void appendBody (const std::string &data) throw (ServerException)
void appendBody (const std::vector< char > &data) throw (ServerException)
Method getMethod (bool useOverride=true) const throw ()
const std::string & getMethodRaw (bool useOverride=true) const throw ()
Method getMethodOverride (void) const throw ()
const std::string & getMethodOverrideRaw (void) const throw ()
const std::string & getURI (void) const throw ()
const std::string & getPath (void) const throw ()
const std::string & getQuery (void) const throw ()
const std::string & getVersion (void) const throw ()
const std::vector< std::string > & getHeaders () const throw ()
const std::string getBody (void) const throw ()
const std::vector< char > & getContent (void) const throw ()
bool isContinue (void) const throw ()
bool isChunked (void) const throw ()
bool empty (void) const throw ()
void clear (void) throw ()
std::string str (void) const throw ()
void print (void) const throw ()

Friends

class HTTPConnection

Detailed Description

Definition at line 27 of file HTTPRequest.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on 20 Nov 2014 for libutil++ by  doxygen 1.6.1