ClintHeyer.Httpd
Class ServerResponse

Used for reporting an error to user

Field Summary
string header
string message
ClintHeyer.Httpd.HttpResponse response
string title

Constructor Summary
ServerResponse(ClintHeyer.Httpd.HttpResponse response)
         Constructor
ServerResponse(string title, string header, string message)
         Constructor

Method Summary
void Handle(ClintHeyer.Httpd.HttpRequest request, ClintHeyer.Httpd.HttpReply reply)
         Handles a request. Once the handler has finished, it will close the reply.

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

header

protected string header


message

protected string message


response

private ClintHeyer.Httpd.HttpResponse response


title

protected string title

Constructor Detail

ServerResponse

public ServerResponse(ClintHeyer.Httpd.HttpResponse response)

Constructor

Parameters:
response - Response

ServerResponse

public ServerResponse(string title,
                      string header,
                      string message)

Constructor

Parameters:
title - Title
header - Header
message - Message
Method Detail

Handle

public void Handle(ClintHeyer.Httpd.HttpRequest request,
                   ClintHeyer.Httpd.HttpReply reply)

Handles a request. Once the handler has finished, it will close the reply.

Parameters:
request - Request
reply - Reply