Class StreamOutputter
- java.lang.Object
-
- org.apache.zookeeper.server.admin.StreamOutputter
-
- All Implemented Interfaces:
CommandOutputter
public class StreamOutputter extends Object implements CommandOutputter
A class for streaming data out.
-
-
Constructor Summary
Constructors Constructor Description StreamOutputter(String clientIP)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentType()The MIME type of this output (e.g., "application/json")voidoutput(CommandResponse response, OutputStream os)Stream out data as output-
Methods 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
-
-
-
-
Constructor Detail
-
StreamOutputter
public StreamOutputter(String clientIP)
-
-
Method Detail
-
getContentType
public String getContentType()
Description copied from interface:CommandOutputterThe MIME type of this output (e.g., "application/json")- Specified by:
getContentTypein interfaceCommandOutputter
-
output
public void output(CommandResponse response, OutputStream os)
Description copied from interface:CommandOutputterStream out data as output- Specified by:
outputin interfaceCommandOutputter
-
-