Class JsonOutputter
- java.lang.Object
- 
- org.apache.zookeeper.server.admin.JsonOutputter
 
- 
- All Implemented Interfaces:
- CommandOutputter
 
 public class JsonOutputter extends Object implements CommandOutputter 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringERROR_RESPONSE
 - 
Constructor SummaryConstructors Constructor Description JsonOutputter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentType()The MIME type of this output (e.g., "application/json")voidoutput(CommandResponse response, PrintWriter pw)
 
- 
- 
- 
Field Detail- 
ERROR_RESPONSEpublic static final String ERROR_RESPONSE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getContentTypepublic String getContentType() Description copied from interface:CommandOutputterThe MIME type of this output (e.g., "application/json")- Specified by:
- getContentTypein interface- CommandOutputter
 
 - 
outputpublic void output(CommandResponse response, PrintWriter pw) - Specified by:
- outputin interface- CommandOutputter
 
 
- 
 
-