mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
no need for stream hanlder description
This commit is contained in:
@@ -43,14 +43,14 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
public string Name { get; private set; }
|
||||
|
||||
public string Description { get; private set; }
|
||||
|
||||
protected SimpleBaseRequestHandler(string path) : this(path, null, null) { }
|
||||
|
||||
protected SimpleBaseRequestHandler(string path, string name, string description)
|
||||
protected SimpleBaseRequestHandler(string path)
|
||||
{
|
||||
Name = null;
|
||||
m_path = path;
|
||||
}
|
||||
protected SimpleBaseRequestHandler(string path, string name)
|
||||
{
|
||||
Name = name;
|
||||
Description = description;
|
||||
m_path = path;
|
||||
}
|
||||
|
||||
@@ -78,12 +78,5 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
|
||||
return path.StartsWith(Path);
|
||||
}
|
||||
|
||||
public string[] SplitParams(string path)
|
||||
{
|
||||
string param = GetParam(path);
|
||||
|
||||
return param.Split(new char[] { '/', '?', '&' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user