public class StreamOutputter extends Object implements CommandOutputter
| Constructor and Description |
|---|
StreamOutputter(String clientIP) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
The MIME type of this output (e.g., "application/json")
|
void |
output(CommandResponse response,
OutputStream os)
Stream out data as output
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoutputpublic StreamOutputter(String clientIP)
public String getContentType()
CommandOutputtergetContentType in interface CommandOutputterpublic void output(CommandResponse response, OutputStream os)
CommandOutputteroutput in interface CommandOutputterCopyright © 2008–2026 The Apache Software Foundation. All rights reserved.