public interface CommandOutputter
Command
,
JettyAdminServer
Modifier and Type | Method and Description |
---|---|
String |
getContentType()
The MIME type of this output (e.g., "application/json")
|
default void |
output(CommandResponse response,
OutputStream os)
Stream out data as output
|
default void |
output(CommandResponse response,
PrintWriter pw)
Print out data as output
|
String getContentType()
default void output(CommandResponse response, PrintWriter pw)
default void output(CommandResponse response, OutputStream os)
Copyright © 2008–2025 The Apache Software Foundation. All rights reserved.