You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directmemory.apache.org by ol...@apache.org on 2012/02/26 11:39:28 UTC
svn commit: r1293802 - /incubator/directmemory/trunk/src/site/xdoc/server.xml
Author: olamy
Date: Sun Feb 26 10:39:28 2012
New Revision: 1293802
URL: http://svn.apache.org/viewvc?rev=1293802&view=rev
Log:
%s/CacheServlet/DirectMemoryServlet
Modified:
incubator/directmemory/trunk/src/site/xdoc/server.xml
Modified: incubator/directmemory/trunk/src/site/xdoc/server.xml
URL: http://svn.apache.org/viewvc/incubator/directmemory/trunk/src/site/xdoc/server.xml?rev=1293802&r1=1293801&r2=1293802&view=diff
==============================================================================
--- incubator/directmemory/trunk/src/site/xdoc/server.xml (original)
+++ incubator/directmemory/trunk/src/site/xdoc/server.xml Sun Feb 26 10:39:28 2012
@@ -55,11 +55,11 @@
{"expiresIn":123,
"cacheContent":"rO0ABXNyACtvcmcuYXBhY2hlLmRpcmVjdG1lbW9yeS5zZXJ2ZXIuY29tbW9ucy5XaW5l5dYKhxyAjeECAAFMAARuYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7eHB0AAhCb3JkZWF1eA=="}
</source>
- To put this content in DirectMemory Cache Server, just use a PUT request on path ${webPath}/CacheServlet/${key}.<br/>
+ To put this content in DirectMemory Cache Server, just use a PUT request on path ${webPath}/DirectMemoryServlet/${key}.<br/>
</p>
</subsection>
<subsection name="JSON GET Content">
- <p>Use a GET request on ${webPath}/CacheServlet/${key} and you will receive the JSON response:
+ <p>Use a GET request on ${webPath}/DirectMemoryServlet/${key} and you will receive the JSON response:
<source>
{"key":"foo","cacheContent":"Zm9vIGJhcg=="}
@@ -69,7 +69,7 @@
</p>
</subsection>
<subsection name="JSON DELETE Content">
- <p>Use a DELETE request on ${webPath}/CacheServlet/${key}.
+ <p>Use a DELETE request on ${webPath}/DirectMemoryServlet/${key}.
Note: if the entry was not available in the server you will receive a 204 (Not Content)
</p>
</subsection>
@@ -78,19 +78,19 @@
<subsection name="Binary PUT Content">
<p>
PUT Request to put content in cache Content-Type: application/x-java-serialized-object.<br/>
- To put this content in DirectMemory Cache Server, just use a PUT request on path ${webPath}/CacheServlet/${key}.<br/>
+ To put this content in DirectMemory Cache Server, just use a PUT request on path ${webPath}/DirectMemoryServlet/${key}.<br/>
ExpiresIn value can be set with http header: X-DirectMemory-ExpiresIn<br/>
The http request body will contains the serialized object value.
</p>
</subsection>
<subsection name="Binary GET Content">
<p>
- Use a GET request on ${webPath}/CacheServlet/${key} and you will receive the binary form of the object.
+ Use a GET request on ${webPath}/DirectMemoryServlet/${key} and you will receive the binary form of the object.
<b>If not content is found for the key, you will receive the http code 204 (No content)</b>
</p>
</subsection>
<subsection name="Binary DELETE Content">
- <p>Use a DELETE request on ${webPath}/CacheServlet/${key}.
+ <p>Use a DELETE request on ${webPath}/DirectMemoryServlet/${key}.
Note: if the entry was not available in the server you will receive a 204 (Not Content)
</p>
</subsection>