2#ifndef HTTP_HTTPRESPONSEWRITER_H
3#define HTTP_HTTPRESPONSEWRITER_H
Stream writer which writes a correct HTTP response to a stream.
Definition httpresponsewriter.h:21
HttpStatus::Code statusCode
Definition httpresponsewriter.h:32
void WriteResponse()
write http response to the stream
Definition httpresponsewriter.cc:20
__DeclareClass(HttpResponseWriter)
void SetStatusCode(HttpStatus::Code statusCode)
set status code
Definition httpresponsewriter.h:40
Ptr< IO::Stream > contentStream
Definition httpresponsewriter.h:33
void SetContent(const Ptr< IO::Stream > &contentStream)
set optional content stream (needs valid media type!)
Definition httpresponsewriter.h:49
Code
status codes
Definition httpstatus.h:24
Stream writer classes provide a specialized write-interface for a stream.
Definition streamwriter.h:22
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
This file was generated with Nebula Trifid's idlc compiler tool.
Definition defaulthttprequesthandler.cc:15