Uses of Class
io.vertx.ext.web.api.service.ServiceResponse
Packages that use ServiceResponse
-
Uses of ServiceResponse in io.vertx.ext.web.api.service
Methods in io.vertx.ext.web.api.service that return ServiceResponseModifier and TypeMethodDescriptionstatic 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 bodyServiceResponse.setHeaders(MultiMap headers) ServiceResponse.setPayload(Buffer payload) ServiceResponse.setStatusCode(Integer statusCode) ServiceResponse.setStatusMessage(String statusMessage) Constructors in io.vertx.ext.web.api.service with parameters of type ServiceResponse