Interface | Description |
---|---|
Asset |
Usually a public file/resource like javascript, css, images files, etc...
|
Cookie |
Creates a cookie, a small amount of information sent by a server to
a Web browser, saved by the browser, and later sent back to the server.
|
Deferred.Handler |
A deferred handler.
|
Deferred.Initializer |
Deferred initializer with
Request access, useful to provide a more functional API. |
Deferred.Initializer0 |
Deferred initializer, useful to provide a more functional API.
|
Env |
Allows to optimize, customize or apply defaults values for application services.
|
Env.Builder |
Build an jooby environment.
|
Env.PropertySource |
Property source for
Env.Resolver |
Err.Handler |
Handle and render exceptions.
|
Jooby.EnvPredicate |
{
on("dev", () -> {
// run something on dev
}).orElse(() -> {
// run something on prod
});
}
|
Jooby.Module | |
LifeCycle |
life cycle
|
Mutant |
A type safe
Mutant useful for reading parameters/headers/session attributes, etc.. |
Parser |
Parse a request param (path, query, form) or body to something else.
|
Parser.BodyReference |
Expose the HTTP body as a series of bytes or text.
|
Parser.Builder |
A parser can be executed against a simply HTTP param, a set of HTTP params, an file
Upload or HTTP Parser.BodyReference . |
Parser.Callback<T> |
A parser callback.
|
Parser.Context |
Allows you to access to parsing strategies, content type view
Parser.Context.type() and invoke next
parser in the chain via Parser.Context.next() methods. |
Parser.ParamReference<T> |
Expose HTTP params from path, query, form url encoded or multipart request as a raw string.
|
Registry |
service registry
|
Renderer |
Write a value into the HTTP response and apply a format, if need it.
|
Renderer.Context |
Contains a few utility methods for doing the actual rendering and writing.
|
Request |
Give you access at the current HTTP request in order to read parameters, headers and body.
|
Request.Flash |
Flash scope.
|
Response |
Give you access to the actual HTTP response.
|
Route |
Routes are a key concept in Jooby.
|
Route.After |
after
|
Route.Before |
before
|
Route.Chain |
Chain of routes to be executed.
|
Route.Complete |
complete
|
Route.Filter |
The most advanced route handler which let you decided if the next route handler in the chain
can be executed or not.
|
Route.Handler |
A route handler that always call
Route.Chain.next(Request, Response) . |
Route.Mapper<T> |
Converts a route output to something else, see
Router#map(Mapper) . |
Route.MethodHandler |
A handler for a MVC route, it extends
Route.Handler by adding a reference to the method
and class behind this route. |
Route.OneArgHandler |
A functional route handler that use the return value as HTTP response.
|
Route.Props<T extends Route.Props<T>> |
Common route properties, like static and global metadata via attributes, path exclusion,
produces and consumes types.
|
Route.Source |
Provides useful information about where the route was defined.
|
Route.ZeroArgHandler |
A functional handler that use the return value as HTTP response.
|
Router |
Route DSL.
|
Session |
Sessions are created on demand via:
Request.session() . |
Session.Builder |
Build or restore a session from a persistent storage.
|
Session.Store |
Read, save and delete sessions from a persistent storage.
|
Sse.Handler |
Server-sent event handler.
|
Sse.Handler1 |
Single argument event handler.
|
Upload |
File upload from a browser on
MediaType.multipart request. |
View.Engine |
Special body serializer for dealing with
View . |
WebSocket |
WebSockets
|
WebSocket.Handler<T> | |
WebSocket.OnClose | |
WebSocket.OnError |
Web socket err callback.
|
WebSocket.OnMessage<T> |
Web socket message callback.
|
WebSocket.OnOpen |
A web socket connect handler.
|
WebSocket.OnOpen1 |
A web socket connect handler.
|
WebSocket.SuccessCallback |
Web socket success callback.
|
Class | Description |
---|---|
Asset.Forwarding |
Forwarding asset.
|
AsyncMapper |
async-mapper
|
Cookie.Definition |
Build a
Cookie . |
Cookie.Signature |
Sign cookies using a HMAC algorithm plus SHA-256 hash.
|
Deferred |
async request processing
|
Env.ConfigSource |
Env.PropertySource for Config . |
Env.MapSource |
Env.PropertySource for Map . |
Env.Resolver |
Template literal implementation, replaces
${expression} from a String using a
Config object. |
Env.ServiceKey |
Utility class for generating
Key for named services. |
Err.DefHandler |
Default err handler it does content negotation.
|
FlashScope |
flash scope
|
Jooby |
jooby
|
MediaType |
An immutable implementation of HTTP media types (a.k.a mime types).
|
MediaType.Matcher |
A media type matcher.
|
Request.Forwarding |
Forwarding request.
|
RequestLogger |
request logger
|
Response.Forwarding |
A forwarding response.
|
Result |
Utility class for HTTP responses.
|
Results |
A
Result builder with some utility static methods. |
Route.AssetDefinition |
Allow to customize an asset handler.
|
Route.Collection |
Collection of
Route.Props useful for registering/setting route options at once. |
Route.Definition |
DSL for customize routes.
|
Route.Forwarding |
A forwarding route.
|
Session.Definition |
Hold session related configuration parameters.
|
Session.Mem |
A keep in memory session store.
|
Sse |
Server Sent Events
|
Sse.Event |
Event representation of Server sent event.
|
Status |
HTTP status codes.
|
View |
Special result that hold view name and model.
|
WebSocket.CloseStatus |
Hold a status code and optionally a reason message for
WebSocket.close() operations. |
WebSocket.Definition |
Configure a web socket.
|
Exception | Description |
---|---|
Err |
An exception that carry a
Status . |
Err.BadMediaType |
Exception thrown from
MediaType.parse(String) in case of encountering an invalid media
type specification String. |
Err.Missing |
Missing parameter/header or request attribute.
|
Session.Destroyed |
Throw when session access is required but the session has been destroyed.\
See
Session.destroy() . |
Jooby a scalable, fast and modular micro web framework for Java and Kotlin.
Copyright © 2019. All rights reserved.