A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCEPTED - Static variable in interface kos.api.Response
- afterStart(HttpServer) - Method in class kos.core.VertxWebServer
-
Executes as soon as the server is started.
- and(K, V) - Method in class kos.core.Lang.MapBuilder
- anyInstanceOf(Class<T>) - Method in interface kos.api.ImplementationLoader
-
Load the instance of the given
type. - Application - Interface in kos.api
-
Configures a custom Kos application.
- applicationConfig - Variable in class kos.api.MutableKosConfiguration
- applicationConfig - Variable in class kos.api.WebServerEventListener.BeforeDeployWebServerEvent
- applicationConfig - Variable in class kos.core.Launcher.DeploymentContext
- asFuture(Future<T>) - Method in class kos.core.VertxFutures
- asFuture(CompletableFuture<T>) - Method in class kos.core.VertxFutures
- asFuture(Future<T>) - Method in class kos.core.VertxFutures
- asFuture(T) - Method in class kos.core.VertxFutures
- asString(boolean) - Method in interface kos.api.StringConverter
- asString(char) - Method in interface kos.api.StringConverter
- asString(double) - Method in interface kos.api.StringConverter
- asString(int) - Method in interface kos.api.StringConverter
- asString(long) - Method in interface kos.api.StringConverter
- asString(Object) - Method in interface kos.api.StringConverter
- availablePayloadStrategies - Variable in class kos.api.MutableKosConfiguration
- AvailablePayloadStrategies() - Constructor for class kos.api.MutableKosConfiguration.AvailablePayloadStrategies
B
- BAD_GATEWAY - Static variable in interface kos.api.Response
- BAD_REQUEST - Static variable in interface kos.api.Response
- BeforeDeployWebServerEvent() - Constructor for class kos.api.WebServerEventListener.BeforeDeployWebServerEvent
- beforeStart() - Method in class kos.core.VertxWebServer
-
Executes before the server is started.
- buffer - Variable in class kos.api.RawResponse
- build() - Method in class kos.core.Lang.MapBuilder
- by(Supplier<T>) - Static method in class kos.core.Lang.Lazy
C
- cause - Variable in class kos.api.ImplementationLoader.Result
- classFor(String) - Static method in class kos.core.Lang
- conf - Variable in class kos.core.Launcher
- configRetriever - Variable in class kos.api.MutableKosConfiguration
- ConfigurationPlugin - Interface in kos.api
-
Allows external plugins to configures Kos.
- configure(DeploymentContext) - Method in interface kos.api.Application
- configure(MutableKosConfiguration) - Method in interface kos.api.ConfigurationPlugin
- configureKos() - Method in class kos.core.Launcher
- CONFLICT - Static variable in interface kos.api.Response
- contentType() - Method in interface kos.api.Serializer
- contentType() - Method in class kos.api.Serializer.JsonSerializer
- contentType() - Method in class kos.api.Serializer.PlainTextSerializer
- convert(Iterable<T>, Function<T, N>) - Static method in class kos.core.Lang
- converters - Variable in class kos.api.StringConverter.DefaultStringConverter
- convertTo(Class<T>, String) - Method in interface kos.api.StringConverter
- convertTo(Class<T>, String) - Method in class kos.api.StringConverter.DefaultStringConverter
- create(Injector, Class) - Method in class kos.core.VertxFuturesInjectorFactory
- CREATED - Static variable in interface kos.api.Response
- createLoggerFor(Class) - Method in interface kos.api.KosConfiguration
- createLoggerFor(Class) - Method in class kos.api.MutableKosConfiguration
- currentHandler - Variable in class kos.core.RequestInterceptorHandler
D
- data - Variable in class kos.api.ImplementationLoader.Result
- data - Variable in class kos.core.Lang.Lazy
- data - Variable in class kos.core.Lang.MapBuilder
- defaultContentType - Variable in class kos.api.HeaderParserStrategy
- DefaultContextAttributesMemorizer - Class in kos.core
- DefaultContextAttributesMemorizer() - Constructor for class kos.core.DefaultContextAttributesMemorizer
- DefaultExceptionHandler - Class in kos.api
- DefaultExceptionHandler(KosConfiguration) - Constructor for class kos.api.DefaultExceptionHandler
- defaultRestClientSerializer - Variable in class kos.api.MutableKosConfiguration
- defaultSerializer - Variable in class kos.api.MutableKosConfiguration
- defaultStatusForEmptyResponses - Variable in class kos.api.MutableKosConfiguration
- DefaultStringConverter() - Constructor for class kos.api.StringConverter.DefaultStringConverter
- defaultVertx - Variable in class kos.api.MutableKosConfiguration
- defaultVertxWebClient - Variable in class kos.api.MutableKosConfiguration
- deploy(Verticle) - Method in interface kos.api.DeploymentContext
-
Deploys a verticle with a custom configuration.
- deploy(Verticle) - Method in class kos.core.Launcher.DeploymentContext
- deploy(Iterable<Verticle>) - Method in interface kos.api.DeploymentContext
-
Deploys verticles with a custom configuration.
- deploy(Iterable<Verticle>) - Method in class kos.core.Launcher.DeploymentContext
- deployCustomApplication(Launcher.DeploymentContext) - Method in class kos.core.Launcher
- DeploymentContext - Interface in kos.api
-
A Kos deployment.
- DeploymentContext(KosConfiguration, JsonObject) - Constructor for class kos.core.Launcher.DeploymentContext
- deployVerticles(Launcher.DeploymentContext) - Method in class kos.core.Launcher
- deployWebServer(Launcher.DeploymentContext) - Method in class kos.core.Launcher
- deserialize(Buffer, Class<T>) - Method in interface kos.api.Serializer
- deserialize(Buffer, Class<T>) - Method in class kos.api.Serializer.JsonSerializer
- deserialize(Buffer, Class<T>) - Method in class kos.api.Serializer.PlainTextSerializer
E
- empty() - Static method in class kos.api.ImplementationLoader.Result
- empty() - Static method in interface kos.api.Response
-
Creates an empty response.
- empty(int) - Static method in interface kos.api.Response
-
Creates an empty response for a given
statusCode. - EmptyResponse - Class in kos.api
- EmptyResponse() - Constructor for class kos.api.EmptyResponse
- exceptionHandler - Variable in class kos.api.MutableKosConfiguration
- ExceptionHandler - Interface in kos.api
-
Versatile exception handler abstraction.
F
- failed() - Method in class kos.api.ImplementationLoader.Result
- failure(E) - Static method in class kos.api.ImplementationLoader.Result
- filter(Collection<T>, Predicate<T>) - Static method in class kos.core.Lang
- first(Iterable<T>) - Static method in class kos.core.Lang
- first(Iterable<T>, Predicate<T>) - Static method in class kos.core.Lang
- firstNotNull(T...) - Static method in class kos.core.Lang
- FORBIDDEN - Static variable in interface kos.api.Response
G
- GATEWAY_TIMEOUT - Static variable in interface kos.api.Response
- get() - Method in class kos.api.ImplementationLoader.Result
- get() - Method in class kos.core.Lang.Lazy
- getConfigRetriever() - Method in interface kos.api.KosConfiguration
- getConfigRetriever() - Method in class kos.api.MutableKosConfiguration
- getDefaultRestClientSerializer() - Method in interface kos.api.KosConfiguration
- getDefaultSerializer() - Method in interface kos.api.KosConfiguration
- getDefaultStatusForEmptyResponses() - Method in interface kos.api.KosConfiguration
- getDefaultVertx() - Method in interface kos.api.KosConfiguration
- getDefaultVertx() - Method in class kos.api.MutableKosConfiguration
- getDefaultVertxWebClient() - Method in interface kos.api.KosConfiguration
- getDefaultVertxWebClient() - Method in class kos.api.MutableKosConfiguration
- getExceptionHandler() - Method in interface kos.api.KosConfiguration
- getExposedType() - Method in class kos.core.VertxFuturesInjectorFactory
- getHttpServerOptions() - Method in interface kos.api.KosConfiguration
-
The default server configuration.
- getImplementationLoader() - Method in interface kos.api.KosConfiguration
- getLogDelegateFactory() - Method in interface kos.api.KosConfiguration
- getPayloadSerializationStrategy() - Method in interface kos.api.KosConfiguration
- getSerializerForContentType(String) - Method in interface kos.api.KosConfiguration
- getSerializerForContentType(String) - Method in class kos.api.MutableKosConfiguration
- getSpi() - Method in interface kos.api.KosConfiguration
- getStringConverter() - Method in interface kos.api.KosConfiguration
- GONE - Static variable in interface kos.api.Response
H
- handle(HttpServerRequest) - Method in class kos.core.RequestInterceptorHandler
- handle(HttpServerRequest) - Method in class kos.core.RequestInterceptorHandler.InterceptorWrapper
- handle(HttpServerRequest) - Method in class kos.core.SimplifiedRouter
- handle(HttpServerRequest, Handler<HttpServerRequest>) - Method in interface kos.api.RequestInterceptor
-
Handles a request.
- handle(HttpServerRequest, Handler<HttpServerRequest>) - Method in class kos.core.SimplifiedRouter.SafeRequestInterceptor
- handle(HttpServerRequest, HttpServerResponse) - Method in interface kos.api.RequestHandler
- handle(HttpServerRequest, HttpServerResponse, Throwable) - Method in class kos.api.DefaultExceptionHandler
- handle(HttpServerRequest, HttpServerResponse, Throwable) - Method in interface kos.api.ExceptionHandler
-
Handles exceptions by returning a
Responseobject that will be send as http response to the client. - handle(RoutingContext) - Method in interface kos.api.RequestHandler
- handle(RoutingContext) - Method in class kos.core.DefaultContextAttributesMemorizer
- handle(RoutingContext) - Method in class kos.core.SimplifiedRouter.SafeRoutingContextHandler
- HandledResponseException - Exception in kos.api
- HandledResponseException(Response) - Constructor for exception kos.api.HandledResponseException
- handler - Variable in class kos.core.SimplifiedRouter.SafeRoutingContextHandler
- handleUnknownError(HttpServerRequest, Throwable) - Method in class kos.api.DefaultExceptionHandler
- header - Variable in class kos.api.HeaderParserStrategy
- HeaderParserStrategy - Class in kos.api
- HeaderParserStrategy() - Constructor for class kos.api.HeaderParserStrategy
- headers - Variable in class kos.api.EmptyResponse
- headers() - Method in interface kos.api.Response
- headers(Map<? extends CharSequence, ? extends CharSequence>) - Method in interface kos.api.Response
- httpMethodsThatMayReadBody - Variable in class kos.core.SimplifiedRouter
- httpServerOptions - Variable in class kos.api.MutableKosConfiguration
I
- implementationLoader - Variable in class kos.api.MutableKosConfiguration
- ImplementationLoader - Interface in kos.api
-
Loads implementations.
- ImplementationLoader.Result<T> - Class in kos.api
-
Customized optional result.
- ImplementationLoader.SPIImplementationLoader - Class in kos.api
- inferSerializerFromHttpHeader(String) - Method in class kos.api.MutableKosConfiguration.AvailablePayloadStrategies
-
Creates an strategy that reads uses the defined response Content-Type to pick an serializer and perform the serialization.
- instance - Variable in class kos.core.VertxFuturesInjectorFactory
- instanceOf(Class<T>) - Method in interface kos.api.ImplementationLoader
-
Load the instance of the given
type. - instanceOf(Class<T>) - Method in class kos.api.ImplementationLoader.SPIImplementationLoader
- instanceOf(Class<T>) - Method in class kos.core.Launcher.DeploymentContext
- instanceOfOrFail(Class<T>) - Method in interface kos.api.ImplementationLoader
-
Load the instance of the given
type. - instances - Variable in class kos.api.ImplementationLoader.SPIImplementationLoader
- instancesExposedAs(Class<T>) - Method in interface kos.api.ImplementationLoader
-
Loads classes exposed by the given
interfaceType. - instancesExposedAs(Class<T>) - Method in class kos.api.ImplementationLoader.SPIImplementationLoader
- instancesExposedAs(Class<T>) - Method in class kos.core.Launcher.DeploymentContext
- instantiate(Class<T>) - Static method in class kos.core.Lang
- instantiate(String) - Static method in class kos.core.Lang
- intercept(RequestInterceptor) - Method in class kos.core.SimplifiedRouter
-
Registers a
Handlerto intercept all requests. - intercept(RequestInterceptor, boolean) - Method in class kos.core.SimplifiedRouter
-
Registers a
Handlerto intercept all requests. - interceptor - Variable in class kos.core.RequestInterceptorHandler.InterceptorWrapper
- interceptor - Variable in class kos.core.SimplifiedRouter.SafeRequestInterceptor
- interceptorHandler - Variable in class kos.core.SimplifiedRouter
- InterceptorWrapper() - Constructor for class kos.core.RequestInterceptorHandler.InterceptorWrapper
- INVALID_SERIALIZER - Static variable in interface kos.api.Serializer
- isEmpty() - Method in class kos.api.ImplementationLoader.Result
- isPresent() - Method in class kos.api.ImplementationLoader.Result
J
- JsonSerializer() - Constructor for class kos.api.Serializer.JsonSerializer
K
- kos.api - package kos.api
- kos.core - package kos.core
- kosConfiguration - Variable in class kos.api.HeaderParserStrategy
- kosConfiguration - Variable in class kos.api.Serializer.PlainTextSerializer
- kosConfiguration - Variable in class kos.api.WebServerEventListener.BeforeDeployWebServerEvent
- kosConfiguration - Variable in class kos.core.Launcher.DeploymentContext
- kosConfiguration - Variable in class kos.core.SimplifiedRouter
- kosConfiguration - Variable in class kos.core.SimplifiedRouter.SafeRequestInterceptor
- kosConfiguration - Variable in class kos.core.SimplifiedRouter.SafeRoutingContextHandler
- kosConfiguration - Variable in class kos.core.VertxWebServer
- KosConfiguration - Interface in kos.api
-
While Vert.x provides Json-based configuration out-of-box, it is not suitable to configure Vert.x internals.
- KosException - Exception in kos.core
-
Convenient
Exceptionclass. - KosException(String, Object...) - Constructor for exception kos.core.KosException
- KosException(Throwable) - Constructor for exception kos.core.KosException
- KosException(Throwable, String, Object...) - Constructor for exception kos.core.KosException
L
- Lang - Class in kos.core
-
Utility methods internally used by Kos.
- Lang() - Constructor for class kos.core.Lang
- Lang.Lazy<T> - Class in kos.core
-
Wraps elements that should be load lazily to avoid issues when loading them using Dependency Injection libraries other than SPI.
- Lang.MapBuilder<K,V> - Class in kos.core
-
Convenient HashMap builder.
- Launcher - Class in kos.core
-
Simplified launcher wrapping Vert.x deployment of
Verticles. - Launcher() - Constructor for class kos.core.Launcher
- Launcher.DeploymentContext - Class in kos.core
- Lazy() - Constructor for class kos.core.Lang.Lazy
- loadConfigRetriever() - Method in class kos.api.MutableKosConfiguration
- loadDefaultRouter(KosConfiguration, boolean) - Static method in class kos.core.VertxWebServer
- loadLogger() - Method in class kos.core.Launcher
- loadRestClientSerializers() - Method in class kos.api.MutableKosConfiguration
- loadSerializers() - Method in class kos.api.MutableKosConfiguration
- log - Variable in class kos.api.DefaultExceptionHandler
- log - Variable in class kos.core.Launcher.DeploymentContext
- log - Variable in class kos.core.Launcher
- log - Variable in class kos.core.SimplifiedRouter
- log - Variable in class kos.core.VertxWebServer
- logDelegateFactory - Variable in class kos.api.MutableKosConfiguration
M
- main(String[]) - Static method in class kos.core.Launcher
- map(Function<T, R>) - Method in class kos.api.ImplementationLoader.Result
- MapBuilder() - Constructor for class kos.core.Lang.MapBuilder
- mapOf(K, V) - Static method in class kos.core.Lang
- matches(Iterable<T>, Predicate<T>) - Static method in class kos.core.Lang
- METHOD_NOT_ALLOWED - Static variable in interface kos.api.Response
- MutableKosConfiguration - Class in kos.api
- MutableKosConfiguration() - Constructor for class kos.api.MutableKosConfiguration
- MutableKosConfiguration(ImplementationLoader) - Constructor for class kos.api.MutableKosConfiguration
- MutableKosConfiguration.AvailablePayloadStrategies - Class in kos.api
N
- newInstance(Injector) - Method in class kos.core.VertxFuturesInjectorFactory
- next - Variable in class kos.core.RequestInterceptorHandler.InterceptorWrapper
- NO_CONTENT - Static variable in interface kos.api.Response
- nonEmptySetOfString(Iterable<String>) - Static method in class kos.core.Lang
- NOT_ACCEPTABLE - Static variable in interface kos.api.Response
- NOT_FOUND - Static variable in interface kos.api.Response
- NOT_IMPLEMENTED - Static variable in interface kos.api.Response
- notifyWebServerDeploymentListeners() - Method in class kos.core.VertxWebServer
O
- of(T) - Static method in class kos.api.ImplementationLoader.Result
- of(T) - Static method in interface kos.api.Response
-
Wraps an object as a response.
- ofNullable(T) - Static method in interface kos.api.Response
-
Wraps a nullable object as a response.
- on(WebServerEventListener.BeforeDeployWebServerEvent) - Method in interface kos.api.WebServerEventListener
-
Called before deploy
VertxWebSerververticle. - orElse(T) - Method in class kos.api.ImplementationLoader.Result
- orElseGet(Function<RuntimeException, T>) - Method in class kos.api.ImplementationLoader.Result
- orElseGet(Supplier<T>) - Method in class kos.api.ImplementationLoader.Result
- orElseThrow(Supplier<E>) - Method in class kos.api.ImplementationLoader.Result
P
- parseContentTypeHeader(MultiMap) - Method in class kos.api.HeaderParserStrategy
- payload - Variable in class kos.api.SerializableResponse
- payloadSerializationStrategy - Variable in class kos.api.MutableKosConfiguration
- PayloadSerializationStrategy - Interface in kos.api
-
Defines how Kos will handle the serialization and deserialization for every received request.
- PlainTextSerializer() - Constructor for class kos.api.Serializer.PlainTextSerializer
R
- RawResponse - Class in kos.api
- RawResponse() - Constructor for class kos.api.RawResponse
- readApplicationConfig() - Method in interface kos.api.KosConfiguration
- readApplicationConfig() - Method in class kos.api.MutableKosConfiguration
- readBody(KosConfiguration, RoutingContext, String, Class<T>) - Method in class kos.core.Request
- readContext(KosConfiguration, RoutingContext, String, Class<T>) - Method in class kos.core.Request
- readDeploymentConfig(Handler<Launcher.DeploymentContext>) - Method in class kos.core.Launcher
- readHeader(KosConfiguration, RoutingContext, String, Class<T>) - Method in class kos.core.Request
- readParam(KosConfiguration, RoutingContext, String, Class<T>) - Method in class kos.core.Request
- register(Class<T>, Function<String, T>) - Method in class kos.api.StringConverter.DefaultStringConverter
- register(Class<T>, Function<String, T>) - Method in interface kos.api.StringConverter
- register(Class<T>, T) - Method in interface kos.api.ImplementationLoader
- register(Class<T>, T) - Method in class kos.api.ImplementationLoader.SPIImplementationLoader
- register(RequestInterceptor) - Method in class kos.core.RequestInterceptorHandler
- Request - Class in kos.core
-
Methods to read and parse data from the incoming request.
- Request() - Constructor for class kos.core.Request
- RequestHandler - Interface in kos.api
- RequestInterceptor - Interface in kos.api
- RequestInterceptorHandler - Class in kos.core
- RequestInterceptorHandler() - Constructor for class kos.core.RequestInterceptorHandler
- RequestInterceptorHandler.InterceptorWrapper - Class in kos.core
- response - Variable in exception kos.api.HandledResponseException
- Response - Interface in kos.api
-
Represents a (mutable object) response to be sent to the http client.
- restClientSerializers - Variable in class kos.api.MutableKosConfiguration
- Result() - Constructor for class kos.api.ImplementationLoader.Result
- route(HttpMethod, String, Handler<RoutingContext>) - Method in class kos.core.SimplifiedRouter
-
Routes requests made to
pathto a particular handler. - route(HttpMethod, String, RequestHandler) - Method in class kos.core.SimplifiedRouter
-
Routes requests made to
pathto a particular handler. - router - Variable in class kos.api.WebServerEventListener.BeforeDeployWebServerEvent
- router - Variable in class kos.core.SimplifiedRouter
- router - Variable in class kos.core.VertxWebServer
- run() - Method in class kos.core.Launcher
S
- SafeRequestInterceptor() - Constructor for class kos.core.SimplifiedRouter.SafeRequestInterceptor
- SafeRoutingContextHandler() - Constructor for class kos.core.SimplifiedRouter.SafeRoutingContextHandler
- send(KosConfiguration, HttpServerResponse) - Method in class kos.api.EmptyResponse
- send(KosConfiguration, HttpServerResponse) - Method in class kos.api.RawResponse
- send(KosConfiguration, HttpServerResponse) - Method in interface kos.api.Response
- send(KosConfiguration, HttpServerResponse) - Method in class kos.api.SerializableResponse
- send(KosConfiguration, HttpServerResponse, Object) - Static method in interface kos.api.Response
-
Sends a response to the client.
- send(KosConfiguration, HttpServerResponse, Response) - Static method in interface kos.api.Response
-
Sends a response to the client.
- send(KosConfiguration, RoutingContext, Object) - Static method in interface kos.api.Response
-
Sends a response to the client.
- send(KosConfiguration, RoutingContext, Response) - Static method in interface kos.api.Response
-
Sends a response to the client.
- sendDefaultNoContent(KosConfiguration, RoutingContext) - Static method in interface kos.api.Response
-
Sends an empty response to the client.
- sendError(KosConfiguration, HttpServerRequest, Throwable) - Static method in interface kos.api.Response
-
Serializes a
Throwableand sends as a response to the client. - sendError(KosConfiguration, RoutingContext, Throwable) - Static method in interface kos.api.Response
-
Serializes a
Throwableand sends as a response to the client. - SerializableResponse<T> - Class in kos.api
- SerializableResponse() - Constructor for class kos.api.SerializableResponse
- serialize(Object) - Method in class kos.api.Serializer.PlainTextSerializer
- serialize(Object) - Method in class kos.api.Serializer.JsonSerializer
- serialize(Object) - Method in interface kos.api.Serializer
- serializer - Variable in class kos.api.SingleSerializerStrategy
- Serializer - Interface in kos.api
- Serializer.JsonSerializer - Class in kos.api
- Serializer.PlainTextSerializer - Class in kos.api
- serializerFor(HttpServerRequest) - Method in class kos.api.HeaderParserStrategy
- serializerFor(HttpServerRequest) - Method in interface kos.api.PayloadSerializationStrategy
- serializerFor(HttpServerRequest) - Method in class kos.api.SingleSerializerStrategy
- serializerFor(HttpServerResponse) - Method in class kos.api.HeaderParserStrategy
- serializerFor(HttpServerResponse) - Method in interface kos.api.PayloadSerializationStrategy
- serializerFor(HttpServerResponse) - Method in class kos.api.SingleSerializerStrategy
- serializers - Variable in class kos.api.MutableKosConfiguration
- SERVICE_UNAVAILABLE - Static variable in interface kos.api.Response
- set(T) - Method in class kos.core.Lang.Lazy
- SimplifiedRouter - Class in kos.core
-
Small layer over
Routerthat aims to simplify a few common aspects regarding route configuration, like intercepting requests and the reading body requests in a POST, PUT and PATCH requests. - SimplifiedRouter(KosConfiguration, Router, Map<HttpMethod, Boolean>) - Constructor for class kos.core.SimplifiedRouter
- SimplifiedRouter(KosConfiguration, Router, RequestInterceptorHandler, Map<HttpMethod, Boolean>) - Constructor for class kos.core.SimplifiedRouter
- SimplifiedRouter.SafeRequestInterceptor - Class in kos.core
- SimplifiedRouter.SafeRoutingContextHandler - Class in kos.core
- SingleSerializerStrategy - Class in kos.api
- SingleSerializerStrategy() - Constructor for class kos.api.SingleSerializerStrategy
- sorted(Iterable<T>, Comparator<T>) - Static method in class kos.core.Lang
- spi - Variable in class kos.api.MutableKosConfiguration
- SPIImplementationLoader() - Constructor for class kos.api.ImplementationLoader.SPIImplementationLoader
- start() - Method in class kos.core.VertxWebServer
- start(Promise<Void>) - Method in class kos.core.VertxWebServer
- startServer(Promise<Void>) - Method in class kos.core.VertxWebServer
- statusCode - Variable in class kos.api.EmptyResponse
- statusCode() - Method in interface kos.api.Response
- statusCode(int) - Method in interface kos.api.Response
- stringConverter - Variable in class kos.api.MutableKosConfiguration
- StringConverter - Interface in kos.api
-
Abstracts how
koscan convert strings (like Headers and query parameters) into objects. - StringConverter.DefaultStringConverter - Class in kos.api
-
Default implementation of
StringConverter. - supplier - Variable in class kos.core.Lang.Lazy
T
- TOO_MANY_REQUESTS - Static variable in interface kos.api.Response
- toString() - Method in class kos.api.ImplementationLoader.Result
U
- UNAUTHORIZED - Static variable in interface kos.api.Response
- unwrap() - Method in class kos.core.SimplifiedRouter
-
Returns the wrapped Vert.x
Router. - useDefaultSerializer() - Method in class kos.api.MutableKosConfiguration.AvailablePayloadStrategies
-
Creates an strategy based on the default serializer (usually Json).
- useSerializerForContentType(String) - Method in class kos.api.MutableKosConfiguration.AvailablePayloadStrategies
-
Creates an strategy based on the default serializer (usually Json).
V
- vertx - Variable in class kos.api.WebServerEventListener.BeforeDeployWebServerEvent
- vertx - Variable in class kos.core.VertxFutures
- VertxFutures - Class in kos.core
- VertxFutures(KosConfiguration) - Constructor for class kos.core.VertxFutures
- VertxFuturesInjectorFactory - Class in kos.core
- VertxFuturesInjectorFactory() - Constructor for class kos.core.VertxFuturesInjectorFactory
- VertxWebServer - Class in kos.core
-
Abstracts the creation of a Vert.x web server, automating a few repetitive tasks, automatically loading routes if available, and avoiding common mistakes made during the application bootstrap.
- VertxWebServer(KosConfiguration) - Constructor for class kos.core.VertxWebServer
-
Constructs a VertxWebServer.
- VertxWebServer(KosConfiguration, boolean) - Constructor for class kos.core.VertxWebServer
-
Constructs VertxWebServer.
- VertxWebServer(KosConfiguration, SimplifiedRouter) - Constructor for class kos.core.VertxWebServer
-
Constructs a VertxWebServer.
W
- waitFor(Future<T>) - Static method in class kos.core.Lang
-
This method has been place here for the sake of convenience.
- waitFor(AtomicReference<T>) - Static method in class kos.core.Lang
- WebServerEventListener - Interface in kos.api
-
Called by
VertxWebServer, implementations of this interface will have the opportunity to enhance or change the web server configuration before it is started. - WebServerEventListener.BeforeDeployWebServerEvent - Class in kos.api
-
Data available before deploy the web server.
- wrap(Buffer) - Static method in interface kos.api.Response
-
Wraps a Buffer into a response.
- wrapWithAutoBodyReader(KosConfiguration, Router) - Static method in class kos.core.SimplifiedRouter
-
Creates an instance of
SimplifiedRouterthat will automatically read the request body payload for PATCH, POST and PUT. - wrapWithNoAutoBodyReader(KosConfiguration, Router) - Static method in class kos.core.SimplifiedRouter
-
Creates a basic instance of
SimplifiedRouter.
All Classes All Packages