CommandOutputter (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.server.admin

## 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 and 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)

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.