| javax.servlet.http.HttpServlet org.cougaar.core.qos.metrics.MetricQueryServlet
MetricQueryServlet | public class MetricQueryServlet extends HttpServlet (Code) | | This Servlet allows url-based access into the metrics service.
Requires uri parameter paths , the value of which is a
set of Metrics paths, separated by '|'. Also takes an optional
parameter format . If omitted or provided as 'xml',
the output is an xml representation of the results of the queries.
If supplied as 'java', the output is a serialization of an
ArrayList of the results (useful for remote java invokers, not
useful for web display).
Example:
http://localhost:8800/$3-69-ARBN/metrics/query?format=xml&paths=Agent($3-69-ARBN):Jips|Agent($3-69-ARBN):CPULoadJips10SecAvg
See org.cougaar.core.examples.metrics.ExampleMetricQueryClient
|
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|