diff options
author | Dr Scofield | 2008-07-14 12:18:32 +0000 |
---|---|---|
committer | Dr Scofield | 2008-07-14 12:18:32 +0000 |
commit | 7692f3e18f49fc57b63efbe54b7ac71de2fb7e16 (patch) | |
tree | 4ee9a4279ff904a8c5fc7e2bd9f85f55bf8b52ba /OpenSim/Framework/Servers/OSHttpHandler.cs | |
parent | adds a default value of true to the new IRC bridge configuration option "nick... (diff) | |
download | opensim-SC_OLD-7692f3e18f49fc57b63efbe54b7ac71de2fb7e16.zip opensim-SC_OLD-7692f3e18f49fc57b63efbe54b7ac71de2fb7e16.tar.gz opensim-SC_OLD-7692f3e18f49fc57b63efbe54b7ac71de2fb7e16.tar.bz2 opensim-SC_OLD-7692f3e18f49fc57b63efbe54b7ac71de2fb7e16.tar.xz |
further work in progress on the HttpServer side: XmlRpc handler path
almost complete and soon to be ready for testing; OSHttpResponse code
out.
Diffstat (limited to 'OpenSim/Framework/Servers/OSHttpHandler.cs')
-rw-r--r-- | OpenSim/Framework/Servers/OSHttpHandler.cs | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/OSHttpHandler.cs b/OpenSim/Framework/Servers/OSHttpHandler.cs index da96cca..a9f42f3 100644 --- a/OpenSim/Framework/Servers/OSHttpHandler.cs +++ b/OpenSim/Framework/Servers/OSHttpHandler.cs | |||
@@ -59,10 +59,18 @@ namespace OpenSim.Framework.Servers | |||
59 | { | 59 | { |
60 | Unprocessed, | 60 | Unprocessed, |
61 | Pass, | 61 | Pass, |
62 | Handled, | 62 | Done, |
63 | Detached, | ||
64 | } | 63 | } |
65 | 64 | ||
65 | /// <summary> | ||
66 | /// An OSHttpHandler that matches on the "content-type" header can | ||
67 | /// supply an OSHttpContentTypeChecker delegate which will be | ||
68 | /// invoked by the request matcher in OSHttpRequestPump. | ||
69 | /// </summary> | ||
70 | /// <returns>true if the handler is interested in the content; | ||
71 | /// false otherwise</returns> | ||
72 | public delegate bool OSHttpContentTypeChecker(OSHttpRequest req); | ||
73 | |||
66 | public interface OSHttpHandler | 74 | public interface OSHttpHandler |
67 | { | 75 | { |
68 | /// <summary> | 76 | /// <summary> |
@@ -98,6 +106,19 @@ namespace OpenSim.Framework.Servers | |||
98 | get; | 106 | get; |
99 | } | 107 | } |
100 | 108 | ||
109 | |||
110 | /// <summary> | ||
111 | /// An OSHttpHandler that matches on the "content-type" header can | ||
112 | /// supply an OSHttpContentTypeChecker delegate which will be | ||
113 | /// invoked by the request matcher in OSHttpRequestPump. | ||
114 | /// </summary> | ||
115 | /// <returns>true if the handler is interested in the content; | ||
116 | /// false otherwise</returns> | ||
117 | OSHttpContentTypeChecker ContentTypeChecker | ||
118 | { | ||
119 | get; | ||
120 | } | ||
121 | |||
101 | OSHttpHandlerResult Process(OSHttpRequest request); | 122 | OSHttpHandlerResult Process(OSHttpRequest request); |
102 | } | 123 | } |
103 | } \ No newline at end of file | 124 | } \ No newline at end of file |