Uses of Interface
kos.api.Response
-
Packages that use Response Package Description kos.api -
-
Uses of Response in kos.api
Classes in kos.api that implement Response Modifier and Type Class Description (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_IMPLEMENTED(package private) ResponseHandledResponseException. responsestatic ResponseResponse. SERVICE_UNAVAILABLEstatic ResponseResponse. TOO_MANY_REQUESTSstatic ResponseResponse. UNAUTHORIZEDMethods in kos.api 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.ResponseDefaultExceptionHandler. handle(io.vertx.core.http.HttpServerRequest request, io.vertx.core.http.HttpServerResponse response, Throwable cause)ResponseExceptionHandler. handle(io.vertx.core.http.HttpServerRequest request, io.vertx.core.http.HttpServerResponse response, Throwable cause)Handles exceptions by returning aResponseobject that will be send as http response to the client.private ResponseDefaultExceptionHandler. handleUnknownError(io.vertx.core.http.HttpServerRequest request, Throwable cause)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.api with parameters of type Response Modifier and Type Method Description static voidResponse. send(KosConfiguration kosConfiguration, io.vertx.core.http.HttpServerResponse serverResponse, Response response)Sends a response to the client.static voidResponse. send(KosConfiguration kosConfiguration, io.vertx.ext.web.RoutingContext context, Response response)Sends a response to the client.Constructors in kos.api with parameters of type Response Constructor Description HandledResponseException(Response response)
-