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 ServiceResponseServiceResponse. completedWithJson(Buffer json)Creates aServiceResponsewith status code 200, status message OK, content typeapplication/jsonandjsonas bodystatic ServiceResponseServiceResponse. completedWithJson(JsonArray jsonArray)Creates aServiceResponsewith status code 200, status message OK, content typeapplication/jsonandjsonArrayas bodystatic ServiceResponseServiceResponse. completedWithJson(JsonObject jsonObject)Creates aServiceResponsewith status code 200, status message OK, content typeapplication/jsonandjsonObjectas bodystatic ServiceResponseServiceResponse. completedWithPlainText(Buffer text)Creates aServiceResponsewith status code 200, status message OK, content typetext/plainandtextas bodyServiceResponseServiceResponse. putHeader(String key, String value)ServiceResponseServiceResponse. setHeaders(MultiMap headers)ServiceResponseServiceResponse. setPayload(Buffer payload)ServiceResponseServiceResponse. setStatusCode(Integer statusCode)ServiceResponseServiceResponse. setStatusMessage(String statusMessage)Constructors in io.vertx.ext.web.api.service with parameters of type ServiceResponse Constructor Description ServiceResponse(ServiceResponse other)
-