Interface CommandOutputter
-
- All Known Implementing Classes:
JsonOutputter
public interface CommandOutputterCommandOutputters are used to format the responses from Commands.- See Also:
Command,JettyAdminServer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContentType()The MIME type of this output (e.g., "application/json")voidoutput(CommandResponse response, java.io.PrintWriter pw)
-
-
-
Method Detail
-
getContentType
java.lang.String getContentType()
The MIME type of this output (e.g., "application/json")
-
output
void output(CommandResponse response, java.io.PrintWriter pw)
-
-