Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<HTML><HEAD><TITLE>Resource context</TITLE></TITLE><LINK REL='stylesheet' TYPE='text/css' HREF='../doclet.css' TITLE='Style'/><META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</HEAD><BODY><!--###BEGIN_CONTENT###--><div class="javadoc"><table class='menu'><colgroup><col/><col/></colgroup><tbody><tr><td class='NavBarCell1' colspan='2'><table><tbody><tr><th><a href='../overview-summary.html'>Overview</a></th><th><a href='../overview-index.html'>Index</a></th><th><a href='../index.html'>Root resource</a></th></tr></tbody></table></td></tr><tr><td class='NavBarCell3'>summary: <a href='#resources'>resource</a> | <a href='#methods-summary'>method</a></td><td class='NavBarCell3'>detail: <a href='#methods-details'>method</a></td></tr></table><h2>Path: / <a href='../index.html'>{BASE}</a> / context</h2>Indirect context identification, listing in case 'graph' is missing
<P>
<hr/><table class='info' id='resources'><caption class='TableCaption'>Resources</caption><tbody><tr><th class='TableHeader'>Name</th><th class='TableHeader'>Description</th></tr><tr><td><a href='list/index.html'>list</a></td><td></td></tr><tr><td><a href='{uuid}/index.html'>{uuid}</a></td><td>Returns the content stored on this context</td></tr></tbody></table><hr/><table class='info' id='methods-summary'><caption class='TableCaption'>Method Summary</caption><tbody><tr><th class='TableHeader'>Resource</th><th class='TableHeader'>Description</th></tr><tr><td><tt><a href='#GET'>GET /{BASE}/context?graph=…&amp;format=…</a></tt></td><td>Indirect context identification, listing in case 'graph' is missing</td></tr><tr><td><tt><a href='#PUT'>PUT /{BASE}/context?graph=…</a></tt></td><td>&nbsp;</td></tr><tr><td><tt><a href='#PUT'>PUT /{BASE}/context</a></tt></td><td>&nbsp;</td></tr><tr><td><tt><a href='#DELETE'>DELETE /{BASE}/context?graph=…</a></tt></td><td>&nbsp;</td></tr></tbody></table><hr/><table class='info' id='methods-details'><caption class='TableCaption'>Method Detail</caption><tbody></tr><tr><td><a name='GET'></a><table class='examples'><tr><td><b>HTTP Example:</b><pre>GET /{BASE}/context?graph=…&amp;format=…
Accept: …

</pre></td><td><b>API Example:</b><p><tt>ContextWebService.get({'graph': <span class='comment'>/* context uri */</span>,<br/>&nbsp;&nbsp;'format': <span class='comment'>/* Indirect context identification, listing in case 'graph' is missing */</span>,<br/>&nbsp;&nbsp;'Accept': <span class='comment'>/* Indirect context identification, listing in case 'graph' is missing */</span>});</tt></p></td></tr></table><p>Indirect context identification, listing in case 'graph' is missing</p><dl><dt><b>Output:</b></dt><dd><tt>javax.ws.rs.core.Response</tt> - response</dd><dt><b>Query parameters:</b></dt><dd><b>graph</b> - uri</dd><dd><b>format</b></dd><dt><b>Header parameters:</b></dt><dd><b>Accept</b></dd></dl></td></tr><tr><td><a name='PUT'></a><table class='examples'><tr><td><b>HTTP Example:</b><pre>PUT /{BASE}/context?graph=…
Content-Type: …

</pre></td><td><b>API Example:</b><p><tt>ContextWebService.put({'graph': …,<br/>&nbsp;&nbsp;'Content-Type': …});</tt></p></td></tr></table><dl><dt><b>Output:</b></dt><dd><tt>javax.ws.rs.core.Response</tt></dd><dt><b>Query parameters:</b></dt><dd><b>graph</b></dd><dt><b>Header parameters:</b></dt><dd><b>Content-Type</b></dd></dl></td></tr><tr><td><a name='PUT'></a><table class='examples'><tr><td><b>HTTP Example:</b><pre>PUT /{BASE}/context
Content-Type: …

</pre></td><td><b>API Example:</b><p><tt>ContextWebService.putContext({'uuid': …,<br/>&nbsp;&nbsp;'Content-Type': …});</tt></p></td></tr></table><dl><dt><b>Output:</b></dt><dd><tt>javax.ws.rs.core.Response</tt></dd><dt><b>Header parameters:</b></dt><dd><b>Content-Type</b></dd></dl></td></tr><tr><td><a name='DELETE'></a><table class='examples'><tr><td><b>HTTP Example:</b><pre>DELETE /{BASE}/context?graph=…

</pre></td><td><b>API Example:</b><p><tt>ContextWebService.delete({'graph': …});</tt></p></td></tr></table><dl><dt><b>Output:</b></dt><dd><tt>javax.ws.rs.core.Response</tt></dd><dt><b>Query parameters:</b></dt><dd><b>graph</b></dd></dl></td></tr></tbody></table><hr/><table class='menu'><colgroup><col/><col/></colgroup><tbody><tr><td class='NavBarCell1' colspan='2'><table><tbody><tr><th><a href='../overview-summary.html'>Overview</a></th><th><a href='../overview-index.html'>Index</a></th><th><a href='../index.html'>Root resource</a></th></tr></tbody></table></td></tr><tr><td class='NavBarCell3'>summary: <a href='#resources'>resource</a> | <a href='#methods-summary'>method</a></td><td class='NavBarCell3'>detail: <a href='#methods-details'>method</a></td></tr></table></div><!--###END_CONTENT###--><hr/><div class='footer'>Generated by <a href='http://www.lunatech-labs.com/open-source/jax-doclets'>Lunatech Labs jax-doclets</a> v0.10.0</div></BODY></HTML>
New to GrepCode? Check out our FAQ X