let show http-handlers list simpleStreamHandlers
parent
9000240238
commit
8d2f90a8e2
|
@ -370,6 +370,11 @@ namespace OpenSim.Framework.Servers.HttpServer
|
|||
return new List<string>(m_streamHandlers.Keys);
|
||||
}
|
||||
|
||||
public List<string> GetSimpleStreamHandlerKeys()
|
||||
{
|
||||
return new List<string>(m_simpleStreamHandlers.Keys);
|
||||
}
|
||||
|
||||
private static string GetHandlerKey(string httpMethod, string path)
|
||||
{
|
||||
return httpMethod + ":" + path;
|
||||
|
|
|
@ -265,10 +265,16 @@ namespace OpenSim.Framework.Servers
|
|||
foreach (String s in httpServer.GetLLSDHandlerKeys())
|
||||
handlers.AppendFormat("\t{0}\n", s);
|
||||
|
||||
handlers.AppendFormat("* StreamHandlers ({0}):\n", httpServer.GetStreamHandlerKeys().Count);
|
||||
foreach (String s in httpServer.GetStreamHandlerKeys())
|
||||
List<string> shdrs = httpServer.GetStreamHandlerKeys();
|
||||
handlers.AppendFormat("* StreamHandlers ({0}):\n", shdrs.Count);
|
||||
foreach (String s in shdrs)
|
||||
handlers.AppendFormat("\t{0}\n", s);
|
||||
|
||||
shdrs = httpServer.GetSimpleStreamHandlerKeys();
|
||||
handlers.AppendFormat("* SimpleStreamHandlers ({0}):\n", shdrs.Count);
|
||||
foreach (String s in shdrs)
|
||||
handlers.AppendFormat("\t***:{0}\n", s);
|
||||
|
||||
handlers.Append("\n");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue