org.apache.hadoop.chukwa.rest.actions
Class RestController

java.lang.Object
  extended by org.apache.hadoop.chukwa.rest.actions.RestController
Direct Known Subclasses:
ClientTraceResource, ClusterDiskResource, ClusterHadoopRpcResource, ClusterSystemMetricsResource, DfsDataNodeResource, DfsFsNameSystemResource, DfsNameNodeResource, DfsThroughputResource, DiskResource, HadoopJvmResource, HadoopRpcResource, MrJobConfResource, MrJobResource, MrTaskResource, SystemMetricsResource

public class RestController
extends Object


Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
RestController()
           
 
Method Summary
protected static String convertToCsv(Object obj)
           
protected static String convertToJson(Object obj)
           
protected static String convertToXml(Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

RestController

public RestController()
Method Detail

convertToJson

protected static String convertToJson(Object obj)

convertToXml

protected static String convertToXml(Object obj)

convertToCsv

protected static String convertToCsv(Object obj)


Copyright © ${year} The Apache Software Foundation