aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers
diff options
context:
space:
mode:
authorSean Dague2008-05-14 19:13:54 +0000
committerSean Dague2008-05-14 19:13:54 +0000
commit4a07038bbe616d05fbb3dfad79ec72a3169de589 (patch)
tree2ce85f8ef8818acf92c7f7ce1adbb9b772feb45d /OpenSim/Framework/Servers
parentFrom: Dr Schofield <hud@zurich.ibm.com> (diff)
downloadopensim-SC-4a07038bbe616d05fbb3dfad79ec72a3169de589.zip
opensim-SC-4a07038bbe616d05fbb3dfad79ec72a3169de589.tar.gz
opensim-SC-4a07038bbe616d05fbb3dfad79ec72a3169de589.tar.bz2
opensim-SC-4a07038bbe616d05fbb3dfad79ec72a3169de589.tar.xz
From: Dr Scofield <DrScofield@xyzzyxyzzy.net>
the attached patch set adds the (still work-in-progress but already working) RestPlugin base class and the RestRegionPlugin code. we are using XML serialization. currently working: GET /admin/regions/ -> returns UUID list of known regions GET /admin/regions/<UUID> -> returns detailed region information we'll be adding support for POST/DELETE/PUT and also for /admin/regions/<UUID>/name etc.
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r--OpenSim/Framework/Servers/RestStreamHandler.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/RestStreamHandler.cs b/OpenSim/Framework/Servers/RestStreamHandler.cs
index 64c7d40..cab5208 100644
--- a/OpenSim/Framework/Servers/RestStreamHandler.cs
+++ b/OpenSim/Framework/Servers/RestStreamHandler.cs
@@ -34,6 +34,11 @@ namespace OpenSim.Framework.Servers
34 { 34 {
35 private RestMethod m_restMethod; 35 private RestMethod m_restMethod;
36 36
37 public RestMethod Method
38 {
39 get { return m_restMethod; }
40 }
41
37 public override byte[] Handle(string path, Stream request) 42 public override byte[] Handle(string path, Stream request)
38 { 43 {
39 Encoding encoding = Encoding.UTF8; 44 Encoding encoding = Encoding.UTF8;