#include <OW_HTTPLenLimitIStream.hpp>
Inheritance diagram for OW_NAMESPACE::HTTPLenLimitIStream:
Public Member Functions | |
HTTPLenLimitIStream (std::istream &istr, UInt64 len) | |
Convert a stream to a LenLimit istream. | |
void | resetLen (UInt64 len) |
Clear the EOF bit, and set the new length to len. | |
Private Member Functions | |
HTTPLenLimitIStream (const HTTPLenLimitIStream &arg) | |
HTTPLenLimitIStream & | operator= (const HTTPLenLimitIStream &arg) |
Private Attributes | |
std::istream & | m_istr |
Definition at line 83 of file OW_HTTPLenLimitIStream.hpp.
|
Convert a stream to a LenLimit istream. This is used for HTTP entities whose size are determined by a Content-Length header. Once len bytes are read, EOF will be set.
|
|
|
|
|
|
Clear the EOF bit, and set the new length to len.
Definition at line 86 of file OW_HTTPLenLimitIStream.cpp. References OW_NAMESPACE::HTTPLenLimitIStreamBase::m_strbuf, and OW_NAMESPACE::HTTPLengthLimitStreamBuffer::resetLen(). |
|
Definition at line 101 of file OW_HTTPLenLimitIStream.hpp. |