Class JsonOutputter
java.lang.Object
org.apache.zookeeper.server.admin.JsonOutputter
- All Implemented Interfaces:
CommandOutputter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe MIME type of this output (e.g., "application/json")void
output
(CommandResponse response, PrintWriter pw) Print out data as outputMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.zookeeper.server.admin.CommandOutputter
output
-
Field Details
-
ERROR_RESPONSE
- See Also:
-
-
Constructor Details
-
JsonOutputter
-
-
Method Details
-
getContentType
Description copied from interface:CommandOutputter
The MIME type of this output (e.g., "application/json")- Specified by:
getContentType
in interfaceCommandOutputter
-
output
Description copied from interface:CommandOutputter
Print out data as output- Specified by:
output
in interfaceCommandOutputter
-