Public Member Functions | |
| CSHTTPOutputStream (CSOutputStream *s) | |
| void | setStatus (int status) |
| int | getStatus () |
| void | setContentLength (uint64_t size) |
| void | setRange (uint64_t size, uint64_t offset, uint64_t total) |
| void | writeHead (bool trace=false) |
| void | writeHeaders (bool trace=false) |
| void | clearBody () |
| void | writeBody () |
| void | print (const char *str, bool trace) |
| void | print (int32_t value, bool trace) |
| void | print (uint64_t value, bool trace) |
| virtual void | print (const char *str) |
| virtual void | print (CSString *s) |
| virtual void | print (int32_t value) |
| virtual void | print (uint64_t value) |
| void | appendBody (const char *str) |
| void | appendBody (int32_t value) |
| void | appendBody (uint32_t value) |
| void | appendBody (uint64_t value) |
| const char * | getBodyData () |
| size_t | getBodyLength () |
| void | setBody (CSStringBufferImpl *buf) |
| virtual void | close () |
| virtual void | write (const char *b, size_t len) |
| virtual const char * | getEOL () |
| virtual void | flush () |
| virtual void | write (char b) |
| virtual void | reset () |
| virtual const char * | identify () |
| void | printLine (const char *cstr) |
| virtual void | print (int value) |
| virtual void | retain () |
| virtual void | release () |
| uint32_t | getRefCount () |
| virtual void | finalize () |
| virtual CSObject * | getKey () |
| virtual int | compareKey (CSObject *) |
| virtual uint32_t | hashKey () |
| virtual CSObject * | getHashLink () |
| virtual void | setHashLink (CSObject *) |
| virtual CSObject * | getNextLink () |
| virtual CSObject * | getPrevLink () |
| virtual void | setNextLink (CSObject *) |
| virtual void | setPrevLink (CSObject *) |
| void | clearHeaders () |
| CSVector * | takeHeaders () |
| void | setHeaders (CSVector *headers) |
| void | addHeaders (CSHTTPHeaders *h) |
| void | addHeader (CSHeader *h) |
| void | addHeader (const char *name, const char *value) |
| void | addHeader (const char *name, uint32_t nlen, const char *value, uint32_t vlen) |
| void | addHeader (CSString *name, CSString *value) |
| void | addHeader (const char *name, CSString *value) |
| void | addHeader (const char *name, uint64_t value) |
| void | removeHeader (const char *name) |
| void | removeHeader (CSString *name) |
| CSString * | getHeaderValue (const char *name) |
| const char * | getHeaderCStringValue (const char *name) |
| void | writeHeader (CSOutputStream *out, bool trace) |
| bool | keepAlive () |
| bool | expect100Continue () |
| bool | unknownEpectHeader () |
| uint32_t | numHeaders () |
| CSHeader * | getHeader (uint32_t idx) |
Static Public Member Functions | |
| static const char * | getReasonPhrase (int code) |
| static CSHTTPOutputStream * | newStream (CSOutputStream *i) |
Private Attributes | |
| CSOutputStream * | iOutput |
| int | iStatus |
| uint64_t | iContentLength |
| CSStringBuffer | iBody |
| uint64_t | iRangeSize |
| uint64_t | iRangeOffset |
| uint64_t | iTotalLength |
Definition at line 162 of file CSHTTPStream.h.