From 08d5d10d62df2c1c418e7a39cadb6662ea66b228 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Wed, 11 Apr 2007 14:14:19 +0000 Subject: * Started on converting UserHTTPServer to BaseHttpServer * Added a 'param' param to the RestMethod * Added RestHandlerEntry to store more info about the 'rest' handler --- OpenSim.RegionServer/CAPS/AdminWebFront.cs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'OpenSim.RegionServer/CAPS/AdminWebFront.cs') diff --git a/OpenSim.RegionServer/CAPS/AdminWebFront.cs b/OpenSim.RegionServer/CAPS/AdminWebFront.cs index d4519e8..743d1a9 100644 --- a/OpenSim.RegionServer/CAPS/AdminWebFront.cs +++ b/OpenSim.RegionServer/CAPS/AdminWebFront.cs @@ -48,7 +48,7 @@ namespace OpenSim.CAPS server.AddRestHandler("POST", "/Admin/Login", PostLogin ); } - private string GetWelcomePage(string request, string path) + private string GetWelcomePage(string request, string path, string param) { string responseString; responseString = "Welcome to the OpenSim Admin Page"; @@ -56,7 +56,7 @@ namespace OpenSim.CAPS return responseString; } - private string PostLogin(string requestBody, string path) + private string PostLogin(string requestBody, string path, string param) { string responseString; // Console.WriteLine(requestBody); @@ -73,7 +73,7 @@ namespace OpenSim.CAPS return responseString; } - private string PostNewAccount(string requestBody, string path) + private string PostNewAccount(string requestBody, string path, string param) { string responseString; string firstName = ""; @@ -122,7 +122,7 @@ namespace OpenSim.CAPS return responseString; } - private string GetConnectedClientsPage(string request, string path) + private string GetConnectedClientsPage(string request, string path, string param) { string responseString; responseString = "

Listing connected Clients

"; @@ -140,7 +140,7 @@ namespace OpenSim.CAPS return responseString; } - private string AddTestScript(string request, string path) + private string AddTestScript(string request, string path, string param) { int index = path.LastIndexOf('/'); @@ -159,13 +159,13 @@ namespace OpenSim.CAPS return String.Format("Couldn't parse [{0}]", lluidStr ); } } - - private string GetScriptsPage(string request, string path) + + private string GetScriptsPage(string request, string path, string param) { return String.Empty; } - - private string GetEntitiesPage(string request, string path) + + private string GetEntitiesPage(string request, string path, string param) { string responseString; responseString = "

Listing current entities