Package io.vertx.openapi.validation

## Interface ValidatedResponse

-     public interface ValidatedResponse

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ResponseParameter` | `getBody()` |
    `Map<String,​ResponseParameter>` | `getHeaders()` |
    `Future<Void>` | `send​(HttpServerResponse serverResponse)` | Add all parameters from the validated response to the passed `HttpServerResponse` and send it.

- - ### Method Detail

    - #### getHeaders

          Map<String,​ResponseParameter> getHeaders()

      Returns:
        the header parameters.

    - #### getBody

          ResponseParameter getBody()

      Returns:
        the body.

    - #### send

          Future<Void> send​(HttpServerResponse serverResponse)

      Add all parameters from the validated response to the passed `HttpServerResponse` and send it.
      Parameters:
        `serverResponse` - The related response
      Returns:
        A succeeded Future when the response was sent successfully, otherwise a failed one.