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")voidoutput(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, waitMethods 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:CommandOutputterThe MIME type of this output (e.g., "application/json")- Specified by:
getContentTypein interfaceCommandOutputter
-
output
Description copied from interface:CommandOutputterPrint out data as output- Specified by:
outputin interfaceCommandOutputter
-