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 String
getContentType()
The MIME type of this output (e.g., "application/json")void
output(CommandResponse response, PrintWriter pw)
-
-
-
Method Detail
-
getContentType
String getContentType()
The MIME type of this output (e.g., "application/json")
-
output
void output(CommandResponse response, PrintWriter pw)
-
-