aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/InventoryServer/Main.cs
diff options
context:
space:
mode:
authorDr Scofield2008-07-15 13:33:31 +0000
committerDr Scofield2008-07-15 13:33:31 +0000
commit00c15eb0c450a5f183a04c3ff8b9474a29aab437 (patch)
treeef64974516b0c7f2694ed3f9373b81a10ee2a53e /OpenSim/Grid/InventoryServer/Main.cs
parentfixes handler scoring method. XmlRpc code path now fully working with (diff)
downloadopensim-SC-00c15eb0c450a5f183a04c3ff8b9474a29aab437.zip
opensim-SC-00c15eb0c450a5f183a04c3ff8b9474a29aab437.tar.gz
opensim-SC-00c15eb0c450a5f183a04c3ff8b9474a29aab437.tar.bz2
opensim-SC-00c15eb0c450a5f183a04c3ff8b9474a29aab437.tar.xz
cleanup: fixing CamelCase issue with RestDeserialiseHandler.
Diffstat (limited to 'OpenSim/Grid/InventoryServer/Main.cs')
-rw-r--r--OpenSim/Grid/InventoryServer/Main.cs18
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Grid/InventoryServer/Main.cs b/OpenSim/Grid/InventoryServer/Main.cs
index a068892..2ab1916 100644
--- a/OpenSim/Grid/InventoryServer/Main.cs
+++ b/OpenSim/Grid/InventoryServer/Main.cs
@@ -85,35 +85,35 @@ namespace OpenSim.Grid.InventoryServer
85 protected void AddHttpHandlers() 85 protected void AddHttpHandlers()
86 { 86 {
87 m_httpServer.AddStreamHandler( 87 m_httpServer.AddStreamHandler(
88 new RestDeserialisehandler<Guid, InventoryCollection>( 88 new RestDeserialiseHandler<Guid, InventoryCollection>(
89 "POST", "/GetInventory/", m_inventoryService.GetUserInventory)); 89 "POST", "/GetInventory/", m_inventoryService.GetUserInventory));
90 90
91 m_httpServer.AddStreamHandler( 91 m_httpServer.AddStreamHandler(
92 new RestDeserialisehandler<Guid, bool>( 92 new RestDeserialiseHandler<Guid, bool>(
93 "POST", "/CreateInventory/", m_inventoryService.CreateUsersInventory)); 93 "POST", "/CreateInventory/", m_inventoryService.CreateUsersInventory));
94 94
95 m_httpServer.AddStreamHandler( 95 m_httpServer.AddStreamHandler(
96 new RestDeserialisehandler<InventoryFolderBase, bool>( 96 new RestDeserialiseHandler<InventoryFolderBase, bool>(
97 "POST", "/NewFolder/", m_inventoryService.AddFolder)); 97 "POST", "/NewFolder/", m_inventoryService.AddFolder));
98 98
99 m_httpServer.AddStreamHandler( 99 m_httpServer.AddStreamHandler(
100 new RestDeserialisehandler<InventoryFolderBase, bool>( 100 new RestDeserialiseHandler<InventoryFolderBase, bool>(
101 "POST", "/UpdateFolder/", m_inventoryService.UpdateFolder)); 101 "POST", "/UpdateFolder/", m_inventoryService.UpdateFolder));
102 102
103 m_httpServer.AddStreamHandler( 103 m_httpServer.AddStreamHandler(
104 new RestDeserialisehandler<InventoryFolderBase, bool>( 104 new RestDeserialiseHandler<InventoryFolderBase, bool>(
105 "POST", "/MoveFolder/", m_inventoryService.MoveFolder)); 105 "POST", "/MoveFolder/", m_inventoryService.MoveFolder));
106 106
107 m_httpServer.AddStreamHandler( 107 m_httpServer.AddStreamHandler(
108 new RestDeserialisehandler<InventoryFolderBase, bool>( 108 new RestDeserialiseHandler<InventoryFolderBase, bool>(
109 "POST", "/PurgeFolder/", m_inventoryService.PurgeFolder)); 109 "POST", "/PurgeFolder/", m_inventoryService.PurgeFolder));
110 110
111 m_httpServer.AddStreamHandler( 111 m_httpServer.AddStreamHandler(
112 new RestDeserialisehandler<InventoryItemBase, bool>( 112 new RestDeserialiseHandler<InventoryItemBase, bool>(
113 "POST", "/NewItem/", m_inventoryService.AddItem)); 113 "POST", "/NewItem/", m_inventoryService.AddItem));
114 114
115 m_httpServer.AddStreamHandler( 115 m_httpServer.AddStreamHandler(
116 new RestDeserialisehandler<InventoryItemBase, bool>( 116 new RestDeserialiseHandler<InventoryItemBase, bool>(
117 "POST", "/DeleteItem/", m_inventoryService.DeleteItem)); 117 "POST", "/DeleteItem/", m_inventoryService.DeleteItem));
118 118
119 // WARNING: Root folders no longer just delivers the root and immediate child folders (e.g 119 // WARNING: Root folders no longer just delivers the root and immediate child folders (e.g
@@ -122,7 +122,7 @@ namespace OpenSim.Grid.InventoryServer
122 // (e.g. any http request not found is automatically treated as an xmlrpc request) make it easier 122 // (e.g. any http request not found is automatically treated as an xmlrpc request) make it easier
123 // to do this for now. 123 // to do this for now.
124 m_httpServer.AddStreamHandler( 124 m_httpServer.AddStreamHandler(
125 new RestDeserialisehandler<Guid, List<InventoryFolderBase>> 125 new RestDeserialiseHandler<Guid, List<InventoryFolderBase>>
126 ("POST", "/RootFolders/", m_inventoryService.GetInventorySkeleton)); 126 ("POST", "/RootFolders/", m_inventoryService.GetInventorySkeleton));
127 } 127 }
128 128