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)
-
Field Details
-
ERROR_RESPONSE
- See Also:
-
-
Constructor Details
-
JsonOutputter
public 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
- Specified by:
output
in interfaceCommandOutputter
-