Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<HTML><HEAD><TITLE>Resource status</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: resource | <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> / <a href='../index.html'>import</a> / status</h2>Get the status of the importer thread with the ID passed as query argument.
<P>
<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}/import/status?tname=…</a></tt></td><td>Get the status of the importer thread with the ID passed as query argument.</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}/import/status?tname=…

</pre></td><td><b>API Example:</b><p><tt>ImportWebService.isActiveImport({'tname': <span class='comment'>/* tname the thread ID of the importer thread to query */</span>});</tt></p></td></tr></table><p>Get the status of the importer thread with the ID passed as query argument.</p><dl><dt><b>Output:</b></dt><dd><tt>org.apache.marmotta.platform.core.webservices.io.ImportWebService.Status</tt> - the status of the importer thread as a JSON object</dd><dt><b>Query parameters:</b></dt><dd><b>tname</b> - the thread ID of the importer thread to query</dd><dt><b>Produces:</b></dt><dd>application/json</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: resource | <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