|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
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 |
---|
protected string header
protected string message
private ClintHeyer.Httpd.HttpResponse response
protected string title
Constructor Detail |
---|
public ServerResponse(ClintHeyer.Httpd.HttpResponse response)
Constructor
Parameters:
response
- Responsepublic ServerResponse(string title, string header, string message)
Constructor
Parameters:
title
- Titleheader
- Headermessage
- MessageMethod Detail |
---|
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
- Requestreply
- Reply
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |