Uses of Interface
kos.core.Response
-
Packages that use Response Package Description kos.core -
-
Uses of Response in kos.core
Classes in kos.core that implement Response Modifier and Type Class Description (package private) classEmptyResponse(package private) classRawResponse(package private) classSerializableResponse<T>Fields in kos.core 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.core that return Response Modifier and Type Method Description static ResponseResponse. empty()Creates an empty response.static ResponseResponse. empty(int statusCode)Creates an empty response for a givenstatusCode.ResponseExceptionHandler.DefaultExceptionHandler. handle(io.vertx.ext.web.RoutingContext request, Throwable cause)ResponseExceptionHandler. handle(io.vertx.ext.web.RoutingContext request, Throwable cause)Handles exceptions by returning aResponseobject that will be send as http response to the client.ResponseResponse. headers(Map<? extends CharSequence,? extends CharSequence> value)static <T> ResponseResponse. of(T payload)Wraps an object as a response.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.Methods in kos.core with parameters of type Response Modifier and Type Method Description static voidResponse. send(io.vertx.ext.web.RoutingContext context, Response response)Sends a response to the client.
-