Package kos.api
Class AbstractResponse
java.lang.Object
kos.api.AbstractResponse
- All Implemented Interfaces:
Response
- Direct Known Subclasses:
EmptyResponse,RawResponse,SerializableResponse
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) @NonNull Map<CharSequence,CharSequence> (package private) intFields inherited from interface kos.api.Response
ACCEPTED, BAD_GATEWAY, BAD_REQUEST, CONFLICT, CREATED, FORBIDDEN, GATEWAY_TIMEOUT, GONE, METHOD_NOT_ALLOWED, NO_CONTENT, NOT_ACCEPTABLE, NOT_FOUND, NOT_IMPLEMENTED, SERVICE_UNAVAILABLE, TOO_MANY_REQUESTS, UNAUTHORIZED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsend(KosContext kosContext, io.vertx.core.http.HttpServerResponse response) protected voidsendStatusAndHeader(io.vertx.core.http.HttpServerResponse response) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface kos.api.Response
addHeader, headers, headers, statusCode, statusCode