Uses of Interface
kos.api.Response
Packages that use Response
-
Uses of Response in kos.api
Modifier and TypeClassDescription(package private) class(package private) class(package private) class(package private) classModifier and TypeFieldDescriptionstatic final ResponseResponse.ACCEPTEDstatic final ResponseResponse.BAD_GATEWAYstatic final ResponseResponse.BAD_REQUESTstatic final ResponseResponse.CONFLICTstatic final ResponseResponse.CREATEDstatic final ResponseResponse.FORBIDDENstatic final ResponseResponse.GATEWAY_TIMEOUTstatic final ResponseResponse.GONEstatic final ResponseResponse.METHOD_NOT_ALLOWEDstatic final ResponseResponse.NO_CONTENTstatic final ResponseResponse.NOT_ACCEPTABLEstatic final ResponseResponse.NOT_FOUNDstatic final ResponseResponse.NOT_IMPLEMENTEDstatic final ResponseResponse.SERVICE_UNAVAILABLEstatic final ResponseResponse.TOO_MANY_REQUESTSstatic final ResponseResponse.UNAUTHORIZEDModifier and TypeMethodDescriptionEmptyResponse.addHeader(CharSequence key, CharSequence value) RawResponse.addHeader(CharSequence key, CharSequence value) Response.addHeader(CharSequence key, CharSequence value) SerializableResponse.addHeader(CharSequence key, CharSequence value) static ResponseResponse.empty()Creates an empty response (defaults to 204 HTTP Status).static ResponseResponse.empty(int statusCode) Creates an empty response for a givenstatusCode.Handles exceptions by returning aResponseobject that will be send as http response to the client.Response.headers(Map<CharSequence, CharSequence> value) static <T> ResponseResponse.of(T payload) Wraps an object as a response (defaults to 200 HTTP Status).static <T> ResponseResponse.ofNullable(T payload) Wraps a nullable object as a response.Response.statusCode(int value) static ResponseResponse.wrap(io.vertx.core.buffer.Buffer serialized) Wraps a Buffer into a response (defaults to 200 HTTP Status).Modifier and TypeMethodDescriptionstatic voidResponse.send(KosContext kosContext, io.vertx.ext.web.RoutingContext context, Response response) Sends a response to the client. -
Uses of Response in kos.core.exception
Methods in kos.core.exception that return Response -
Uses of Response in kos.core.validation
Methods in kos.core.validation that return Response