diff options
author | Justin Clark-Casey (justincc) | 2010-03-11 23:33:55 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-03-11 23:33:55 +0000 |
commit | 2313d14acbf0f23d5d041ade03fa1fe030223f51 (patch) | |
tree | 31ae4f76b54ed66f567f84d4558b75d564090bdc /OpenSim/Framework/Servers/HttpServer/Interfaces | |
parent | Upgrade Newtonsoft.Json.dll from 1.3 to 3.5r6 (diff) | |
download | opensim-SC-2313d14acbf0f23d5d041ade03fa1fe030223f51.zip opensim-SC-2313d14acbf0f23d5d041ade03fa1fe030223f51.tar.gz opensim-SC-2313d14acbf0f23d5d041ade03fa1fe030223f51.tar.bz2 opensim-SC-2313d14acbf0f23d5d041ade03fa1fe030223f51.tar.xz |
minor: add some more documentation for IHttpServer.AddHTTPHandler() to tell the caller that the best match for an incoming request URI is invoked
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer/Interfaces')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs index 5ee2045..65b1eb5 100644 --- a/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/Interfaces/IHttpServer.cs | |||
@@ -47,7 +47,7 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
47 | bool AddAgentHandler(string agent, IHttpAgentHandler handler); | 47 | bool AddAgentHandler(string agent, IHttpAgentHandler handler); |
48 | 48 | ||
49 | /// <summary> | 49 | /// <summary> |
50 | /// Add a handler for an HTTP request | 50 | /// Add a handler for an HTTP request. |
51 | /// </summary> | 51 | /// </summary> |
52 | /// | 52 | /// |
53 | /// This handler can actually be invoked either as | 53 | /// This handler can actually be invoked either as |
@@ -66,6 +66,10 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
66 | /// or | 66 | /// or |
67 | /// | 67 | /// |
68 | /// http://localhost:9000/object/ | 68 | /// http://localhost:9000/object/ |
69 | /// | ||
70 | /// In addition, the handler invoked by the HTTP server for any request is the one when best matches the request | ||
71 | /// URI. So if a handler for "/myapp/" is registered and a request for "/myapp/page" is received, then | ||
72 | /// the "/myapp/" handler is invoked if no "/myapp/page" handler exists. | ||
69 | /// | 73 | /// |
70 | /// <param name="methodName"></param> | 74 | /// <param name="methodName"></param> |
71 | /// <param name="handler"></param> | 75 | /// <param name="handler"></param> |