Decodes a response header from a HTTP server and optionally writes received content data to a provide...
Definition httpresponsereader.h:21
HttpStatus::Code GetStatusCode() const
get the HTTP status code which was sent by the server
Definition httpresponsereader.h:58
HttpResponseReader()
constructor
Definition httpresponsereader.cc:20
const IO::MediaType & GetContentType() const
get content type
Definition httpresponsereader.h:67
SizeT GetContentLength() const
get content length
Definition httpresponsereader.h:76
IO::MediaType contentType
Definition httpresponsereader.h:41
__DeclareClass(HttpResponseReader)
bool IsValidHttpResponse() const
return true if this was a valid response
Definition httpresponsereader.h:49
HttpStatus::Code httpStatus
Definition httpresponsereader.h:40
SizeT contentLength
Definition httpresponsereader.h:42
bool isValidHttpResponse
Definition httpresponsereader.h:39
bool ReadResponse()
read the response
Definition httpresponsereader.cc:32
Code
status codes
Definition httpstatus.h:24
Stream reader classes provide a specialized read-interface for a stream.
Definition streamreader.h:24
This file was generated with Nebula Trifid's idlc compiler tool.
Definition defaulthttprequesthandler.cc:15
int SizeT
Definition types.h:49