Package org.apache.accumulo.monitor.rest
Class XMLResource
- java.lang.Object
-
- org.apache.accumulo.monitor.rest.XMLResource
-
@Path("/") @Produces({"application/json","application/xml"}) public class XMLResource extends ObjectResponsible for generating a JSON and XML summary of the Monitor- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Constructor Description XMLResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SummaryInformationgetInformation()Generates summary of the MonitorSummaryInformationgetJSONInformation()SummaryInformationgetXMLInformation()
-
-
-
Method Detail
-
getInformation
public SummaryInformation getInformation()
Generates summary of the Monitor- Returns:
- SummaryInformation object
-
getXMLInformation
@GET @Path("xml") @Produces("application/xml") public SummaryInformation getXMLInformation()
-
getJSONInformation
@GET @Path("json") @Produces("application/json") public SummaryInformation getJSONInformation()
-
-