Uses of Interface
kos.api.Response
-
Packages that use Response Package Description kos.api kos.core.exception kos.core.validation -
-
Uses of Response in kos.api
Classes in kos.api that implement Response Modifier and Type Class Description (package private) classAbstractResponse(package private) classEmptyResponse(package private) classRawResponse(package private) classSerializableResponse<T>Fields in kos.api declared as Response Modifier and Type Field Description static ResponseResponse. ACCEPTEDstatic ResponseResponse. BAD_GATEWAYstatic ResponseResponse. BAD_REQUESTstatic ResponseResponse. CONFLICTstatic ResponseResponse. CREATEDstatic ResponseResponse. FORBIDDENstatic ResponseResponse. GATEWAY_TIMEOUTstatic ResponseResponse. GONEstatic ResponseResponse. METHOD_NOT_ALLOWEDstatic ResponseResponse. NO_CONTENTstatic ResponseResponse. NOT_ACCEPTABLEstatic ResponseResponse. NOT_FOUNDstatic ResponseResponse. NOT_IMPLEMENTEDstatic ResponseResponse. SERVICE_UNAVAILABLEstatic ResponseResponse. TOO_MANY_REQUESTSstatic ResponseResponse. UNAUTHORIZEDMethods in kos.api that return Response Modifier and Type Method Description ResponseEmptyResponse. addHeader(CharSequence key, CharSequence value)ResponseRawResponse. addHeader(CharSequence key, CharSequence value)ResponseResponse. addHeader(CharSequence key, CharSequence value)ResponseSerializableResponse. 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.ResponseExceptionHandler. handle(io.vertx.core.http.HttpServerRequest request, Throwable cause)Handles exceptions by returning aResponseobject that will be send as http response to the client.ResponseResponse. 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.ResponseResponse. statusCode(int value)static ResponseResponse. wrap(io.vertx.core.buffer.Buffer serialized)Wraps a Buffer into a response (defaults to 200 HTTP Status).Methods in kos.api with parameters of type Response Modifier and Type Method Description static 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 Modifier and Type Method Description ResponsePredicateExceptionHandler. handle(io.vertx.core.http.HttpServerRequest request, Throwable cause)private ResponsePredicateExceptionHandler. handleUnknownError(io.vertx.core.http.HttpServerRequest request, Throwable cause) -
Uses of Response in kos.core.validation
Methods in kos.core.validation that return Response Modifier and Type Method Description ResponseValidationExceptionHandler. handle(io.vertx.core.http.HttpServerRequest request, Throwable cause)
-