Protocols::Http::IdentityReadAllBodyReader Class Reference

#include <IdentityReadAllBodyReader.h> [code]

Inherits Protocols::Http::BodyReader.

Inheritance diagram for Protocols::Http::IdentityReadAllBodyReader:

Inheritance graph
[legend]
Collaboration diagram for Protocols::Http::IdentityReadAllBodyReader:

Collaboration graph
[legend]
List of all members.

Detailed Description

Reads HTTP message bodies of unknown length in the "identity" encoding.

Just tries to read all data available. The end of the data comes implicitly when the Transport gets closed. IdentityReadAllBodyReader always reads all data buffered in the Transport, so we should have read everything by the time Transport reports that is has been closed.

Protocol is supposed to create objects of this class if:

Definition at line 43 of file IdentityReadAllBodyReader.h.

Public Member Functions

 IdentityReadAllBodyReader ()
 Constructs an IdentityReadAllBodyReader object.
 ~IdentityReadAllBodyReader ()
 Destructor.
Data read (Transport *)
 Reads all data buffered in transport and returns it as a RawData object.


Constructor & Destructor Documentation

IdentityReadAllBodyReader::IdentityReadAllBodyReader  ) 
 

Constructs an IdentityReadAllBodyReader object.

Definition at line 28 of file IdentityReadAllBodyReader.cpp.

IdentityReadAllBodyReader::~IdentityReadAllBodyReader  ) 
 

Destructor.

Definition at line 33 of file IdentityReadAllBodyReader.cpp.


Member Function Documentation

Data IdentityReadAllBodyReader::read Transport  )  [virtual]
 

Reads all data buffered in transport and returns it as a RawData object.

Implements Protocols::Http::BodyReader.

Definition at line 38 of file IdentityReadAllBodyReader.cpp.


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