tnt::HttpRequest::Parser Class Reference

#include <tnt/httpparser.h>

Inheritance diagram for tnt::HttpRequest::Parser:
tnt::Parser< HttpRequest::Parser, RequestSizeMonitor > tnt::RequestSizeMonitor

Public Member Functions

 Parser (tnt::HttpRequest &message_)
void reset ()
- Public Member Functions inherited from tnt::Parser< HttpRequest::Parser, RequestSizeMonitor >
 Parser (state_type initialState)
bool parse (char ch)
bool parse (const char *str, unsigned size)
bool parse (std::istream &in)
bool failed () const
- Public Member Functions inherited from tnt::RequestSizeMonitor
 RequestSizeMonitor ()
size_t getCurrentRequestSize () const

Protected Member Functions

virtual void requestSizeExceeded ()
- Protected Member Functions inherited from tnt::Parser< HttpRequest::Parser, RequestSizeMonitor >
bool state_skipws (char ch)
void skipWs (state_type nextState_)
- Protected Member Functions inherited from tnt::RequestSizeMonitor
virtual ~RequestSizeMonitor ()
void pre (char ch)
bool post (bool ret)

Additional Inherited Members

- Protected Types inherited from tnt::Parser< HttpRequest::Parser, RequestSizeMonitor >
typedef bool(HttpRequest::Parser::* state_type )(char)
- Protected Attributes inherited from tnt::Parser< HttpRequest::Parser, RequestSizeMonitor >
state_type state
state_type nextState
bool failedFlag

Constructor & Destructor Documentation

tnt::HttpRequest::Parser::Parser ( tnt::HttpRequest message_)
inline

Member Function Documentation

virtual void tnt::HttpRequest::Parser::requestSizeExceeded ( )
protectedvirtual

Reimplemented from tnt::RequestSizeMonitor.

void tnt::HttpRequest::Parser::reset ( )

Reimplemented from tnt::RequestSizeMonitor.


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