## Uses of Class
io.vertx.ext.web.api.service.ServiceResponse

- Packages that use ServiceResponse
  Package | Description
  --- | ---
  io.vertx.ext.web.api.service |

- - ### Uses of ServiceResponse in io.vertx.ext.web.api.service

    Methods in io.vertx.ext.web.api.service that return ServiceResponse
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ServiceResponse` | ServiceResponse.`completedWithJson​(Buffer json)` | Creates a `ServiceResponse` with status code 200, status message OK, content type `application/json` and `json` as body
    `static ServiceResponse` | ServiceResponse.`completedWithJson​(JsonArray jsonArray)` | Creates a `ServiceResponse` with status code 200, status message OK, content type `application/json` and `jsonArray` as body
    `static ServiceResponse` | ServiceResponse.`completedWithJson​(JsonObject jsonObject)` | Creates a `ServiceResponse` with status code 200, status message OK, content type `application/json` and `jsonObject` as body
    `static ServiceResponse` | ServiceResponse.`completedWithPlainText​(Buffer text)` | Creates a `ServiceResponse` with status code 200, status message OK, content type `text/plain` and `text` as body
    `ServiceResponse` | ServiceResponse.`putHeader​(String key, String value)` |
    `ServiceResponse` | ServiceResponse.`setHeaders​(MultiMap headers)` |
    `ServiceResponse` | ServiceResponse.`setPayload​(Buffer payload)` |
    `ServiceResponse` | ServiceResponse.`setStatusCode​(Integer statusCode)` |
    `ServiceResponse` | ServiceResponse.`setStatusMessage​(String statusMessage)` |

    Constructors in io.vertx.ext.web.api.service with parameters of type ServiceResponse
    Constructor | Description
    --- | ---
    `ServiceResponse​(ServiceResponse other)` |