com.unboundid.scim.wink
Class MonitorResource

java.lang.Object
  extended by com.unboundid.scim.wink.MonitorResource

public class MonitorResource
extends Object

This class is a JAX-RS resource to allow monitor data to be fetched and reset.


Constructor Summary
MonitorResource(SCIMApplication application, ResourceStats resourceStats)
          Create a new JAX-RS resource.
 
Method Summary
 javax.ws.rs.core.Response doJsonGet()
          Implement the GET operation on the monitor resource to fetch the monitor data in JSON format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorResource

public MonitorResource(SCIMApplication application,
                       ResourceStats resourceStats)
Create a new JAX-RS resource.

Parameters:
application - The SCIM JAX-RS application associated with this resource.
resourceStats - The ResourceStats instance to use.
Method Detail

doJsonGet

public javax.ws.rs.core.Response doJsonGet()
Implement the GET operation on the monitor resource to fetch the monitor data in JSON format.

Returns:
The response to the request.


Copyright © 2011-2012 UnboundID. All Rights Reserved.