Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<HTML><HEAD><TITLE>Resource appenders</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> / <a href='../index.html'>logging</a> / appenders</h2>Get a JSON list of all log appenders currently configured in the system using the JSON format described in the
 header of the class
<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='{id}/index.html'>{id}</a></td><td>Get the configuration of the log appender with the given ID using the JSON format described in the header of
 the class</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}/logging/appenders</a></tt></td><td>Get a JSON list of all log appenders currently configured in the system using the JSON format described in the
 header of the class</td></tr><tr><td><tt><a href='#POST'>POST /{BASE}/logging/appenders</a></tt></td><td>Update all log appenders passed in the JSON list given in the body of the POST service request.</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}/logging/appenders

</pre></td><td><b>API Example:</b><p><tt>LoggingWebService.listAppenders({});</tt></p></td></tr></table><p>Get a JSON list of all log appenders currently configured in the system using the JSON format described in the
 header of the class</p><dl><dt><b>Output:</b></dt><dd><tt>javax.ws.rs.core.Response</tt> - JSON list</dd><dt><b>Produces:</b></dt><dd>application/json</dd></dl></td></tr><tr><td><a name='POST'></a><table class='examples'><tr><td><b>HTTP Example:</b><pre>POST /{BASE}/logging/appenders

</pre></td><td><b>API Example:</b><p><tt>LoggingWebService.updateAppenders({});</tt></p></td></tr></table><p>Update all log appenders passed in the JSON list given in the body of the POST service request.</p><dl><dt><b>Output:</b></dt><dd><tt>javax.ws.rs.core.Response</tt> - HTTP status 200 in case of success</dd><dt><b>Consumes:</b></dt><dd>application/json</dd>
<DT><B>HTTP return codes:</B></DT><DD><B>200</B> - appenders updated successfully</DD>
<DD><B>400</B> - appender configuration invalid (e.g. not proper 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: <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