Module io.jooby
Package io.jooby
package io.jooby
-
ClassDescriptionRepresents a file attachment response.Enumerates the configuration properties supported by Jooby.Value converter for complex values that come from query, path, form, etc...HTTP body value.Utility class to compute single byte range requests when response content length is known.Utility class that group one or more completion listeners and execute them in reverse order.HTTP context allows you to interact with the HTTP Request and manipulate the HTTP Response.Response cookie implementation.Like
Context
but with couple of default methods.Default error handler with content negotiation support and optionally mute log statement base on status code or exception types.Application environment contains configuration object and active environment names.Available environment options.Catch and encode application errors.Execution mode.Simple extension contract for adding and reusing commons application infrastructure components and/or integrate with external libraries.Represents a file download.Allows creating aFileDownload
with the specifiedFileDownload.Mode
.Download mode.File upload class, file upload are available when request body is encoded asMediaType.MULTIPART_FORMDATA
.Flash map.Form class for direct MVC parameter provisioning.Utility class that helps to wrap and delegate to another context.Install a handler that at application shutdown time:Represents an inline file response.Welcome to Jooby!Describe the underlying logging system.Implementation of media/content type.Parse HTTP body into a target type.Render a route output as byte array.Used by template engines to renderer views.Created by a Jooby annotation processor tool using theServiceLoader
API.OpenAPI supports for Jooby.Available formats.Fluent interface allowing to conveniently search context parameters in multiple sources.Fluent interface allowing to conveniently search context parameters in multiple sources.List of possible parameter sources supported byContext.lookup(String, ParamSource...)
.Query string class for direct MVC parameter provisioning.Utility function for handlingCompletionStage
andFlow.Publisher
.Service locator pattern which may be provided by a dependency injection framework.Reified<T>Represents a generic typeT
.Thread-Local request scope implementation useful for save/store request attribute and access to them using a static way.Bind a route response type to a custom handler.Route contains information about the HTTP method, path pattern, which content types consumes and produces, etc..Execute application logic after a response has been generated by a route handler.Decorates a handler and run logic before handler is executed.Listener interface for events that are run at the completion of a request/response cycle (i.e.Deprecated.Decorates a route handler by running logic before and after route handler.Route handler here is where the application logic lives.Routing DSL functions.Find route result.Router matching options.Give you access to all routes created inside aRouter.path(String, Runnable)
.The SameSite attribute of the Set-Cookie HTTP response header allows you to declare if your cookie should be restricted to a first-party or same-site context.Non-blocking sender.Write callback.Web server contract.Base class for server.Available server options.Server-Sent message emitter.Server-Sent event handler.Keep-alive task.Server-Sent message.ServiceKey<T>Utility class to access application services.Default registry which use a simply key/value mechanism for storing and retrieving services.HTTP session.Load and save sessions from store (memory, database, etc.).Base class for in-memory session store.Find, save and delete a session token (cookie, header, parameter, etc) into/from the webContext
.Looks for a session ID from request cookie headers.Looks for a session ID from request headers.Looks for a session token from request cookie.Collection of throwable interfaces to simplify exception handling on lambdas.Throwable version ofConsumer
.SneakyThrows.Consumer2<V1,V2> Two argument version ofSneakyThrows.Consumer
.SneakyThrows.Consumer3<V1,V2, V3> Three argument version ofSneakyThrows.Consumer
.SneakyThrows.Consumer4<V1,V2, V3, V4> Four argument version ofSneakyThrows.Consumer
.SneakyThrows.Consumer5<V1,V2, V3, V4, V5> Five argument version ofSneakyThrows.Consumer
.SneakyThrows.Consumer6<V1,V2, V3, V4, V5, V6> Six argument version ofSneakyThrows.Consumer
.SneakyThrows.Consumer7<V1,V2, V3, V4, V5, V6, V7> Seven argument version ofSneakyThrows.Consumer
.SneakyThrows.Consumer8<V1,V2, V3, V4, V5, V6, V7, V8> Seven argument version ofSneakyThrows.Consumer
.Throwable version ofFunction
.SneakyThrows.Function2<V1,V2, R> Throwable version ofBiFunction
.SneakyThrows.Function3<V1,V2, V3, R> Function with three arguments.SneakyThrows.Function4<V1,V2, V3, V4, R> Function with four arguments.SneakyThrows.Function5<V1,V2, V3, V4, V5, R> Function with five arguments.SneakyThrows.Function6<V1,V2, V3, V4, V5, V6, R> Function with six arguments.SneakyThrows.Function7<V1,V2, V3, V4, V5, V6, V7, R> Function with seven arguments.SneakyThrows.Function8<V1,V2, V3, V4, V5, V6, V7, V8, R> Function with seven arguments.Throwable version ofSneakyThrows.Predicate
.SneakyThrows.Predicate2<V1,V2> Throwable version ofSneakyThrows.Predicate
.Throwable version ofRunnable
.Throwable version ofSupplier
.SSL options for enabling HTTPs in Jooby.The desired SSL client authentication mode for SSL channels in server mode.Allow to configure a custom SSLContext provider.Controls the level of information logged during startup.HTTP status codes.Template engine renderer.Usage exceptions.Unified API for HTTP value.ValueConverter<V extends Value>Value converter for simple values that come from query, path, form, etc...Unified API for HTTP value.Websocket.Websocket initializer.On close callback.On connect callback.On error callback.On message callback.Callback for sending messages.Collection of websocket close status.Websocket configurer.Websocket message generated from aWebSocket.OnMessage
callback.Set of escaping routines for fixing cross-site scripting (XSS).
Route.Filter
.