Interface CommandOutputter
-
- All Known Implementing Classes:
JsonOutputter
public interface CommandOutputter
CommandOutputters 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.String
getContentType()
The MIME type of this output (e.g., "application/json")void
output(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)
-
-