#include <ServletOutputStream.h>
Public Member Functions | |
ServletOutputStreamBuf (Connection &con, HttpServletResponseImpl &resp) | |
size_t | getBufSize () |
Protected Member Functions | |
virtual int | sync () |
virtual int | showmanyc () const |
virtual std::streamsize | xsgetn (char *s, std::streamsize n) |
virtual int | underflow () |
virtual int | pbackfail () |
virtual std::streamsize | xsputn (const char *s, std::streamsize n) |
virtual int | overflow (int c) |
virtual std::streambuf * | setbuf (char *s, std::streamsize n) |
Private Attributes | |
Connection & | m_con |
HttpServletResponseImpl & | m_resp |
size_t | m_bufSz |
Definition at line 28 of file ServletOutputStream.h.
container::ServletOutputStreamBuf::ServletOutputStreamBuf | ( | Connection & | con, | |
HttpServletResponseImpl & | resp | |||
) | [inline] |
container::ServletOutputStreamBuf::getBufSize | ( | ) | [inline] |
Definition at line 44 of file ServletOutputStream.h.
References m_bufSz.
Referenced by container::ServletOutputStream::getBufferSize().
int container::ServletOutputStreamBuf::overflow | ( | int | c | ) | [protected, virtual] |
Definition at line 84 of file ServletOutputStream.cpp.
References container::HttpServletResponseImpl::isCommitted(), m_con, m_resp, and container::HttpServletResponseImpl::sendHeaders().
int container::ServletOutputStreamBuf::pbackfail | ( | ) | [protected, virtual] |
Definition at line 70 of file ServletOutputStream.cpp.
References container::HttpServletResponseImpl::isCommitted(), m_con, m_resp, and container::HttpServletResponseImpl::sendHeaders().
std::streambuf * container::ServletOutputStreamBuf::setbuf | ( | char * | s, | |
std::streamsize | n | |||
) | [protected, virtual] |
virtual int container::ServletOutputStreamBuf::showmanyc | ( | ) | const [inline, protected, virtual] |
Definition at line 47 of file ServletOutputStream.h.
int container::ServletOutputStreamBuf::sync | ( | ) | [protected, virtual] |
Definition at line 63 of file ServletOutputStream.cpp.
References container::HttpServletResponseImpl::isCommitted(), m_con, m_resp, and container::HttpServletResponseImpl::sendHeaders().
virtual int container::ServletOutputStreamBuf::underflow | ( | ) | [inline, protected, virtual] |
Definition at line 50 of file ServletOutputStream.h.
virtual std::streamsize container::ServletOutputStreamBuf::xsgetn | ( | char * | s, | |
std::streamsize | n | |||
) | [inline, protected, virtual] |
Definition at line 48 of file ServletOutputStream.h.
std::streamsize container::ServletOutputStreamBuf::xsputn | ( | const char * | s, | |
std::streamsize | n | |||
) | [protected, virtual] |
Definition at line 77 of file ServletOutputStream.cpp.
References container::HttpServletResponseImpl::isCommitted(), m_con, m_resp, and container::HttpServletResponseImpl::sendHeaders().
size_t container::ServletOutputStreamBuf::m_bufSz [private] |
Definition at line 32 of file ServletOutputStream.h.
Referenced by getBufSize(), ServletOutputStreamBuf(), and setbuf().
Definition at line 30 of file ServletOutputStream.h.
Referenced by overflow(), pbackfail(), ServletOutputStreamBuf(), setbuf(), sync(), and xsputn().
Definition at line 31 of file ServletOutputStream.h.
Referenced by overflow(), pbackfail(), sync(), and xsputn().