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 aServiceResponse
with status code 200, status message OK, content typeapplication/json
andjson
as bodystatic ServiceResponse
ServiceResponse. completedWithJson(JsonArray jsonArray)
Creates aServiceResponse
with status code 200, status message OK, content typeapplication/json
andjsonArray
as bodystatic ServiceResponse
ServiceResponse. completedWithJson(JsonObject jsonObject)
Creates aServiceResponse
with status code 200, status message OK, content typeapplication/json
andjsonObject
as bodystatic ServiceResponse
ServiceResponse. completedWithPlainText(Buffer text)
Creates aServiceResponse
with status code 200, status message OK, content typetext/plain
andtext
as bodyServiceResponse
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)
-