28 using System.Collections;
30 namespace OpenSim.Framework.Servers.HttpServer
38 get {
return m_dhttpMethod; }
42 : base(httpMethod, path)
44 m_dhttpMethod = dhttpMethod;
48 string httpMethod,
string path,
GenericHTTPMethod dhttpMethod,
string name,
string description)
49 : base(httpMethod, path, name, description)
51 m_dhttpMethod = dhttpMethod;
54 public override Hashtable
Handle(
string path, Hashtable request)
56 string param = GetParam(path);
57 request.Add(
"param", param);
58 request.Add(
"path", path);
59 return m_dhttpMethod(request);
RestHTTPHandler(string httpMethod, string path, GenericHTTPMethod dhttpMethod)
override Hashtable Handle(string path, Hashtable request)
RestHTTPHandler(string httpMethod, string path, GenericHTTPMethod dhttpMethod, string name, string description)
delegate Hashtable GenericHTTPMethod(Hashtable request)