tnt::RequestSizeMonitor Class Reference

#include <tnt/httpparser.h>

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

Public Member Functions

 RequestSizeMonitor ()
size_t getCurrentRequestSize () const
void reset ()

Protected Member Functions

virtual ~RequestSizeMonitor ()
void pre (char ch)
bool post (bool ret)
virtual void requestSizeExceeded ()

Constructor & Destructor Documentation

virtual tnt::RequestSizeMonitor::~RequestSizeMonitor ( )
inlineprotectedvirtual
tnt::RequestSizeMonitor::RequestSizeMonitor ( )
inline

Member Function Documentation

size_t tnt::RequestSizeMonitor::getCurrentRequestSize ( ) const
inline
bool tnt::RequestSizeMonitor::post ( bool  ret)
protected
void tnt::RequestSizeMonitor::pre ( char  ch)
inlineprotected
virtual void tnt::RequestSizeMonitor::requestSizeExceeded ( )
protectedvirtual

Reimplemented in tnt::HttpRequest::Parser.

void tnt::RequestSizeMonitor::reset ( )
inline

Reimplemented in tnt::HttpRequest::Parser.


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