- accept() - Method in interface org.jooby.Request
-
- accept() - Method in class org.jooby.Request.Forwarding
-
- accepted() - Static method in class org.jooby.Results
-
- accepted(Object) - Static method in class org.jooby.Results
-
- ACCEPTED - Static variable in class org.jooby.Status
-
202 Accepted
.
- accepts(String) - Method in interface org.jooby.Renderer.Context
-
True if the given type matches the Accept
header.
- accepts(MediaType) - Method in interface org.jooby.Renderer.Context
-
True if the given type matches the Accept
header.
- accepts(String...) - Method in interface org.jooby.Request
-
Check if the given types are acceptable, returning the best match when true, or else
Optional.empty.
- accepts(MediaType...) - Method in interface org.jooby.Request
-
Check if the given types are acceptable, returning the best match when true, or else
Optional.empty.
- accepts(List<MediaType>) - Method in interface org.jooby.Request
-
Check if the given types are acceptable, returning the best match when true, or else
Optional.empty.
- accepts(List<MediaType>) - Method in class org.jooby.Request.Forwarding
-
- accepts(MediaType...) - Method in class org.jooby.Request.Forwarding
-
- accepts(String...) - Method in class org.jooby.Request.Forwarding
-
- accessedAt() - Method in interface org.jooby.Session
-
The last time the client sent a request associated with this session, as the number of
milliseconds since midnight January 1, 1970 GMT, and marked by the time the container
received the request.
- accessedAt(long) - Method in interface org.jooby.Session.Builder
-
Set session last accessed date.
- after(String, String, Route.After) - Method in class org.jooby.Jooby
-
- after(Route.After) - Method in interface org.jooby.Response
-
Append an after handler, will be execute before sending response.
- after(Route.After) - Method in class org.jooby.Response.Forwarding
-
- after(Route.After) - Method in interface org.jooby.Router
-
after
- after(Route.After, Route.After...) - Method in interface org.jooby.Router
-
after
- after(String, Route.After) - Method in interface org.jooby.Router
-
after
- after(String, Route.After, Route.After...) - Method in interface org.jooby.Router
-
after
- after(String, String, Route.After) - Method in interface org.jooby.Router
-
after
- after(String, String, Route.After, Route.After...) - Method in interface org.jooby.Router
-
after
- all - Static variable in class org.jooby.MediaType
-
Any media type.
- ALL - Static variable in class org.jooby.MediaType
-
Any media type.
- allowedHeaders() - Method in class org.jooby.handlers.Cors
-
- allowedMethods() - Method in class org.jooby.handlers.Cors
-
- allowHeader(String) - Method in class org.jooby.handlers.Cors
-
- allowHeaders(String...) - Method in class org.jooby.handlers.Cors
-
True if all the headers are allowed.
- allowHeaders(List<String>) - Method in class org.jooby.handlers.Cors
-
True if all the headers are allowed.
- allowMethod(String) - Method in class org.jooby.handlers.Cors
-
True if the method is allowed.
- allowOrigin(String) - Method in class org.jooby.handlers.Cors
-
Test if the given origin is allowed or not.
- ALREADY_REPORTED - Static variable in class org.jooby.Status
-
208 Already Reported
.
- anyHeader() - Method in class org.jooby.handlers.Cors
-
- anyOrigin() - Method in class org.jooby.handlers.Cors
-
- apply(String) - Method in interface org.jooby.Route
-
True, when route's name starts with the given prefix.
- Asset - Interface in org.jooby
-
Usually a public file/resource like javascript, css, images files, etc...
- Asset.Forwarding - Class in org.jooby
-
Forwarding asset.
- AssetDefinition(String, String, Route.Filter, boolean) - Constructor for class org.jooby.Route.AssetDefinition
-
Creates a new route definition.
- AssetHandler - Class in org.jooby.handlers
-
- AssetHandler(String, ClassLoader) - Constructor for class org.jooby.handlers.AssetHandler
-
- AssetHandler(Path) - Constructor for class org.jooby.handlers.AssetHandler
-
- AssetHandler(String) - Constructor for class org.jooby.handlers.AssetHandler
-
- assets(String, Path) - Method in class org.jooby.Jooby
-
- assets(String, String) - Method in class org.jooby.Jooby
-
- assets(String, AssetHandler) - Method in class org.jooby.Jooby
-
- assets(String) - Method in interface org.jooby.Router
-
Static files handler.
- assets(String, Path) - Method in interface org.jooby.Router
-
Static files handler on external location.
- assets(String, String) - Method in interface org.jooby.Router
-
Static files handler.
- assets(String, AssetHandler) - Method in interface org.jooby.Router
-
- AsyncMapper - Class in org.jooby
-
async-mapper
- AsyncMapper() - Constructor for class org.jooby.AsyncMapper
-
- attr(String) - Method in interface org.jooby.Route
-
Attribute by name.
- attr(String, Object) - Method in class org.jooby.Route.Collection
-
- attr(String, Object) - Method in class org.jooby.Route.Definition
-
- attr(String) - Method in class org.jooby.Route.Definition
-
Get an attribute by name.
- attr(String) - Method in class org.jooby.Route.Forwarding
-
- attr(String, Object) - Method in interface org.jooby.Route.Props
-
Set route attribute.
- attributes() - Method in interface org.jooby.Request
-
A read only version of the current locals.
- attributes() - Method in class org.jooby.Request.Forwarding
-
- attributes() - Method in interface org.jooby.Route
-
- attributes() - Method in class org.jooby.Route.Definition
-
- attributes() - Method in class org.jooby.Route.Forwarding
-
- attributes() - Method in interface org.jooby.Session
-
- attributes() - Method in interface org.jooby.spi.NativeRequest
-
- attributes() - Method in interface org.jooby.WebSocket
-
Web socket attributes.
- callerThread() - Method in class org.jooby.Deferred
-
Name of the caller thread (thread that creates this deferred object).
- canConsume(MediaType) - Method in class org.jooby.Route.Definition
-
Test if the route definition can consume a media type.
- canConsume(String) - Method in class org.jooby.Route.Definition
-
Test if the route definition can consume a media type.
- canProduce(List<MediaType>) - Method in class org.jooby.Route.Definition
-
Test if the route definition can consume a media type.
- canProduce(MediaType...) - Method in class org.jooby.Route.Definition
-
Test if the route definition can consume a media type.
- canProduce(String...) - Method in class org.jooby.Route.Definition
-
Test if the route definition can consume a media type.
- caseSensitiveRouting(boolean) - Method in class org.jooby.Jooby
-
Configure case for routing algorithm.
- cdn(String) - Method in class org.jooby.handlers.AssetHandler
-
- cdn(String) - Method in class org.jooby.Route.AssetDefinition
-
- chain(Route.Mapper, Route.Mapper) - Static method in interface org.jooby.Route.Mapper
-
Produces a new mapper by combining the two mapper into one.
- charset(Charset) - Method in class org.jooby.Jooby
-
Set application/default charset.
- charset() - Method in interface org.jooby.Renderer.Context
-
- charset() - Method in interface org.jooby.Request
-
The charset defined in the request body.
- charset() - Method in class org.jooby.Request.Forwarding
-
- charset() - Method in interface org.jooby.Response
-
If charset is not set this method returns charset defined in the request body.
- charset(Charset) - Method in interface org.jooby.Response
-
Set the
Charset
to use and set the
Content-Type
header with the current
charset.
- charset() - Method in class org.jooby.Response.Forwarding
-
- charset(Charset) - Method in class org.jooby.Response.Forwarding
-
- charValue() - Method in interface org.jooby.Mutant
-
- charValue(char) - Method in interface org.jooby.Mutant
-
- CHECKPOINT - Static variable in class org.jooby.Status
-
103 Checkpoint
.
- clearCookie(String) - Method in interface org.jooby.Response
-
Discard a cookie from response.
- clearCookie(String) - Method in class org.jooby.Response.Forwarding
-
- close(int, String) - Method in interface org.jooby.spi.NativeWebSocket
-
Close the web socket.
- close() - Method in class org.jooby.Sse
-
- close(int, String) - Method in interface org.jooby.WebSocket
-
Gracefully closes the connection, after sending a description message
- close(int) - Method in interface org.jooby.WebSocket
-
Gracefully closes the connection, after sending a description message
- close() - Method in interface org.jooby.WebSocket
-
Gracefully closes the connection, after sending a description message
- close(WebSocket.CloseStatus) - Method in interface org.jooby.WebSocket
-
Gracefully closes the connection, after sending a description message
- code() - Method in class org.jooby.WebSocket.CloseStatus
-
- Collection(Route.Props...) - Constructor for class org.jooby.Route.Collection
-
Creates a new collection of route definitions.
- comment() - Method in interface org.jooby.Cookie
-
- comment(String) - Method in class org.jooby.Cookie.Definition
-
Set cookie's comment.
- comment() - Method in class org.jooby.Cookie.Definition
-
- comment() - Method in class org.jooby.Sse.Event
-
- comment(String) - Method in class org.jooby.Sse.Event
-
Set event comment.
- committed() - Method in interface org.jooby.Response
-
Returns a boolean indicating if the response has been committed.
- committed() - Method in class org.jooby.Response.Forwarding
-
- committed() - Method in interface org.jooby.spi.NativeResponse
-
- compareTo(MediaType) - Method in class org.jooby.MediaType
-
- complete(String, String, Route.Complete) - Method in class org.jooby.Jooby
-
- complete(Route.Complete) - Method in interface org.jooby.Response
-
Append complete handler, will be execute after sending response.
- complete(Route.Complete) - Method in class org.jooby.Response.Forwarding
-
- complete(Route.Complete) - Method in interface org.jooby.Router
-
complete
- complete(Route.Complete, Route.Complete...) - Method in interface org.jooby.Router
-
complete
- complete(String, Route.Complete) - Method in interface org.jooby.Router
-
complete
- complete(String, Route.Complete, Route.Complete...) - Method in interface org.jooby.Router
-
complete
- complete(String, String, Route.Complete) - Method in interface org.jooby.Router
-
complete
- complete(String, String, Route.Complete, Route.Complete...) - Method in interface org.jooby.Router
-
complete
- conf(String) - Method in class org.jooby.Jooby
-
Set/specify a custom .conf file, useful when you don't want a application.conf
file.
- conf(File) - Method in class org.jooby.Jooby
-
Set/specify a custom .conf file, useful when you don't want a application.conf
file.
- config() - Method in interface org.jooby.Env
-
- config() - Method in interface org.jooby.Jooby.Module
-
- ConfigSource(Config) - Constructor for class org.jooby.Env.ConfigSource
-
- configure(Env, Config, Binder) - Method in class org.jooby.FlashScope
-
- configure(Env, Config, Binder) - Method in interface org.jooby.Jooby.Module
-
Configure and produces bindings for the underlying application.
- CONFLICT - Static variable in class org.jooby.Status
-
409 Conflict
.
- connect(String, Route.Handler) - Method in class org.jooby.Jooby
-
- connect(String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- connect(String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- connect(String, Route.Filter) - Method in class org.jooby.Jooby
-
- CONNECT - Annotation Type in org.jooby.mvc
-
HTTP CONNECT verb for mvc routes.
- CONNECT - Static variable in interface org.jooby.Route
-
- connect(String, Route.Handler) - Method in interface org.jooby.Router
-
Append a route that supports HTTP CONNECT method:
- connect(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP CONNECT method:
- connect(String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP CONNECT method:
- connect(String, Route.Filter) - Method in interface org.jooby.Router
-
Append a route that supports HTTP CONNECT method:
- Consumes - Annotation Type in org.jooby.mvc
-
Defines what media types a route can consume.
- consumes(List<MediaType>) - Method in class org.jooby.Route.Collection
-
- consumes() - Method in interface org.jooby.Route
-
- consumes(List<MediaType>) - Method in class org.jooby.Route.Definition
-
- consumes() - Method in class org.jooby.Route.Definition
-
- consumes() - Method in class org.jooby.Route.Forwarding
-
- consumes(MediaType...) - Method in interface org.jooby.Route.Props
-
Set the media types the route can consume.
- consumes(String...) - Method in interface org.jooby.Route.Props
-
Set the media types the route can consume.
- consumes(List<MediaType>) - Method in interface org.jooby.Route.Props
-
Set the media types the route can consume.
- consumes() - Method in interface org.jooby.WebSocket
-
- consumes(String) - Method in class org.jooby.WebSocket.Definition
-
Set the media types the route can consume.
- consumes(MediaType) - Method in class org.jooby.WebSocket.Definition
-
Set the media types the route can consume.
- consumes() - Method in class org.jooby.WebSocket.Definition
-
- contextPath() - Method in interface org.jooby.Request
-
Application path (a.k.a context path).
- contextPath() - Method in class org.jooby.Request.Forwarding
-
- CONTINUE - Static variable in class org.jooby.Status
-
100 Continue
.
- Cookie - Interface in org.jooby
-
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.
- cookie(String) - Method in interface org.jooby.Request
-
Get a cookie with the given name (if present).
- cookie(String) - Method in class org.jooby.Request.Forwarding
-
- cookie(String, String) - Method in interface org.jooby.Response
-
Adds the specified cookie to the response.
- cookie(Cookie.Definition) - Method in interface org.jooby.Response
-
Adds the specified cookie to the response.
- cookie(Cookie) - Method in interface org.jooby.Response
-
Adds the specified cookie to the response.
- cookie(String, String) - Method in class org.jooby.Response.Forwarding
-
- cookie(Cookie) - Method in class org.jooby.Response.Forwarding
-
- cookie(Cookie.Definition) - Method in class org.jooby.Response.Forwarding
-
- cookie() - Method in class org.jooby.Session.Definition
-
- Cookie.Definition - Class in org.jooby
-
- Cookie.Signature - Class in org.jooby
-
Sign cookies using a HMAC algorithm plus SHA-256 hash.
- COOKIE_SESSION - Static variable in interface org.jooby.Session
-
Global/Shared id of cookie sessions.
- cookies() - Method in interface org.jooby.Request
-
- cookies() - Method in class org.jooby.Request.Forwarding
-
- cookies() - Method in interface org.jooby.spi.NativeRequest
-
- cookieSession() - Method in class org.jooby.Jooby
-
Setup a session store that saves data in a the session cookie.
- Cors - Class in org.jooby.handlers
-
Cross-origin resource sharing
- Cors(Config) - Constructor for class org.jooby.handlers.Cors
-
Creates
Cors
options from
Config
:
- Cors() - Constructor for class org.jooby.handlers.Cors
-
- CorsHandler - Class in org.jooby.handlers
-
Handle preflight and simple CORS requests.
- CorsHandler(Cors) - Constructor for class org.jooby.handlers.CorsHandler
-
- CorsHandler() - Constructor for class org.jooby.handlers.CorsHandler
-
- create(String, Throwing.Function<T, Object>) - Static method in interface org.jooby.Route.Mapper
-
Creates a new named mapper (just syntax suggar for creating a new mapper).
- create(Session) - Method in class org.jooby.Session.Mem
-
- create(Session) - Method in interface org.jooby.Session.Store
-
- CREATED - Static variable in class org.jooby.Status
-
201 Created
.
- createdAt(long) - Method in interface org.jooby.Session.Builder
-
Set session created date.
- createdAt() - Method in interface org.jooby.Session
-
The time when this session was created, measured in milliseconds since midnight January 1, 1970
GMT for server side sessions.
- credentials() - Method in class org.jooby.handlers.Cors
-
If true, set the Access-Control-Allow-Credentials
header.
- CsrfHandler - Class in org.jooby.handlers
-
Cross Site Request Forgery handler
- CsrfHandler(String) - Constructor for class org.jooby.handlers.CsrfHandler
-
Creates a new
CsrfHandler
handler and use the given name to save the token in the
Session
and or extract the token from incoming requests.
- CsrfHandler() - Constructor for class org.jooby.handlers.CsrfHandler
-
- css - Static variable in class org.jooby.MediaType
-
Stylesheet media type.
- data() - Method in class org.jooby.Sse.Event
-
- dateFormat(String) - Method in class org.jooby.Jooby
-
Set application date format.
- dateFormatter(DateTimeFormatter) - Method in class org.jooby.RequestLogger
-
Override the default date formatter.
- dateFormatter(Function<Long, String>) - Method in class org.jooby.RequestLogger
-
Override the default date formatter.
- dateFormatter(ZoneId) - Method in class org.jooby.RequestLogger
-
Keep the default formatter but use the provided timezone.
- declaringClass(String) - Method in class org.jooby.Route.Definition
-
Set the class where this route is defined.
- declaringClass() - Method in interface org.jooby.Route.Source
-
- decode(String) - Static method in interface org.jooby.Router
-
- DEFAULT - Static variable in interface org.jooby.Env
-
Default builder.
- Deferred - Class in org.jooby
-
async request processing
- Deferred(String, Deferred.Initializer0) - Constructor for class org.jooby.Deferred
-
Creates a new
Deferred
with an initializer.
- Deferred(Deferred.Initializer0) - Constructor for class org.jooby.Deferred
-
Creates a new
Deferred
with an initializer.
- Deferred(Deferred.Initializer) - Constructor for class org.jooby.Deferred
-
Creates a new
Deferred
with an initializer.
- Deferred(String, Deferred.Initializer) - Constructor for class org.jooby.Deferred
-
Creates a new
Deferred
with an initializer.
- Deferred() - Constructor for class org.jooby.Deferred
-
- deferred(Route.OneArgHandler) - Static method in class org.jooby.Deferred
-
- deferred(Route.ZeroArgHandler) - Static method in class org.jooby.Deferred
-
- deferred(String, Route.ZeroArgHandler) - Static method in class org.jooby.Deferred
-
- deferred(String, Route.OneArgHandler) - Static method in class org.jooby.Deferred
-
- deferred(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
- deferred(Route.OneArgHandler) - Method in interface org.jooby.Router
-
- deferred(String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
- deferred(Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
- Deferred.Handler - Interface in org.jooby
-
A deferred handler.
- Deferred.Initializer - Interface in org.jooby
-
Deferred initializer with
Request
access, useful to provide a more functional API.
- Deferred.Initializer0 - Interface in org.jooby
-
Deferred initializer, useful to provide a more functional API.
- DefHandler() - Constructor for class org.jooby.Err.DefHandler
-
- Definition(Cookie.Definition) - Constructor for class org.jooby.Cookie.Definition
-
- Definition(String, String) - Constructor for class org.jooby.Cookie.Definition
-
- Definition(String) - Constructor for class org.jooby.Cookie.Definition
-
- Definition(String, String, Route.Handler) - Constructor for class org.jooby.Route.Definition
-
Creates a new route definition.
- Definition(String, String, Route.Handler, boolean) - Constructor for class org.jooby.Route.Definition
-
Creates a new route definition.
- Definition(String, String, Route.OneArgHandler) - Constructor for class org.jooby.Route.Definition
-
Creates a new route definition.
- Definition(String, String, Route.ZeroArgHandler) - Constructor for class org.jooby.Route.Definition
-
Creates a new route definition.
- Definition(String, String, Route.Filter) - Constructor for class org.jooby.Route.Definition
-
Creates a new route definition.
- Definition(String, String, Route.Filter, boolean) - Constructor for class org.jooby.Route.Definition
-
Creates a new route definition.
- Definition(Class<? extends Session.Store>) - Constructor for class org.jooby.Session.Definition
-
Creates a new session definition.
- Definition(Session.Store) - Constructor for class org.jooby.Session.Definition
-
Creates a new session definition.
- Definition(String, WebSocket.OnOpen) - Constructor for class org.jooby.WebSocket.Definition
-
- delete(String, Route.Handler) - Method in class org.jooby.Jooby
-
- delete(String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- delete(String, String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- delete(String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- delete(String, String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- delete(String, String, String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- delete(String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- delete(String, String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- delete(String, String, String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- delete(String, Route.Filter) - Method in class org.jooby.Jooby
-
- delete(String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- delete(String, String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- DELETE - Annotation Type in org.jooby.mvc
-
HTTP DELETE verb for mvc routes.
- DELETE - Static variable in interface org.jooby.Route
-
- delete(Route.Handler) - Method in interface org.jooby.Router
-
Append a route that supports HTTP DELETE method:
- delete(String, Route.Handler) - Method in interface org.jooby.Router
-
Append a route that supports HTTP DELETE method:
- delete(String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP DELETE method on the same handler:
- delete(String, String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP DELETE method on the same handler:
- delete(Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP DELETE method:
- delete(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP DELETE method:
- delete(String, String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP DELETE method on the same handler:
- delete(String, String, String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP DELETE method on the same handler:
- delete(Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP DELETE method:
- delete(String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP DELETE method:
- delete(String, String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP DELETE method on the same handler:
- delete(String, String, String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP DELETE method on the same handler:
- delete(String, Route.Filter) - Method in interface org.jooby.Router
-
Append a route that supports HTTP DELETE method:
- delete(String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP DELETE method on the same handler:
- delete(String, String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP DELETE method on the same handler:
- delete(String) - Method in class org.jooby.Session.Mem
-
- delete(String) - Method in interface org.jooby.Session.Store
-
Delete a session by ID.
- delete(String) - Method in class org.jooby.test.MockRouter
-
- delimiters(String, String) - Method in class org.jooby.Env.Resolver
-
Set start and end delimiters.
- delimiters(String, String) - Method in class org.jooby.handlers.SSIHandler
-
Set/override delimiters.
- destroy() - Method in interface org.jooby.Session
-
Invalidates this session then unset any objects bound to it.
- Destroyed() - Constructor for exception org.jooby.Session.Destroyed
-
- disabled() - Method in class org.jooby.handlers.Cors
-
Disabled cors (enabled = false).
- domain(String) - Method in class org.jooby.Cookie.Definition
-
Set the cookie's domain.
- domain() - Method in class org.jooby.Cookie.Definition
-
- domain() - Method in interface org.jooby.Cookie
-
- doubleValue() - Method in interface org.jooby.Mutant
-
- doubleValue(double) - Method in interface org.jooby.Mutant
-
- download(String, InputStream) - Method in interface org.jooby.Response
-
Transfer the file at path as an "attachment".
- download(String) - Method in interface org.jooby.Response
-
Transfer the file at path as an "attachment".
- download(String, String) - Method in interface org.jooby.Response
-
Transfer the file at path as an "attachment".
- download(File) - Method in interface org.jooby.Response
-
Transfer the file at path as an "attachment".
- download(String, File) - Method in interface org.jooby.Response
-
Transfer the file at path as an "attachment".
- download(String, InputStream) - Method in class org.jooby.Response.Forwarding
-
- download(File) - Method in class org.jooby.Response.Forwarding
-
- download(String, File) - Method in class org.jooby.Response.Forwarding
-
- download(String) - Method in class org.jooby.Response.Forwarding
-
- download(String, String) - Method in class org.jooby.Response.Forwarding
-
- enabled() - Method in class org.jooby.handlers.Cors
-
- encode() - Method in interface org.jooby.Cookie
-
- end() - Method in interface org.jooby.Response
-
Ends current request/response cycle by releasing any existing resources and committing the
response into the channel.
- end() - Method in class org.jooby.Response.Forwarding
-
- end() - Method in interface org.jooby.spi.NativeResponse
-
End a response and clean up any resources used it.
- Env - Interface in org.jooby
-
Allows to optimize, customize or apply defaults values for application services.
- env(Env.Builder) - Method in class org.jooby.Jooby
-
- Env.Builder - Interface in org.jooby
-
Build an jooby environment.
- Env.ConfigSource - Class in org.jooby
-
- Env.MapSource - Class in org.jooby
-
- Env.PropertySource - Interface in org.jooby
-
- Env.Resolver - Class in org.jooby
-
Template literal implementation, replaces ${expression}
from a String using a
Config
object.
- Env.ServiceKey - Class in org.jooby
-
Utility class for generating Key
for named services.
- equals(Object) - Method in class org.jooby.MediaType
-
- equals(Object) - Method in class org.jooby.WebSocket.Definition
-
- Err - Exception in org.jooby
-
An exception that carry a
Status
.
- Err(Status, String, Throwable) - Constructor for exception org.jooby.Err
-
- Err(int, String, Throwable) - Constructor for exception org.jooby.Err
-
- Err(WebSocket.CloseStatus, String) - Constructor for exception org.jooby.Err
-
- Err(Status, String) - Constructor for exception org.jooby.Err
-
- Err(int, String) - Constructor for exception org.jooby.Err
-
- Err(Status, Throwable) - Constructor for exception org.jooby.Err
-
- Err(int, Throwable) - Constructor for exception org.jooby.Err
-
- Err(Status) - Constructor for exception org.jooby.Err
-
- Err(int) - Constructor for exception org.jooby.Err
-
- err(Err.Handler) - Method in class org.jooby.Jooby
-
- err(Err.Handler) - Method in interface org.jooby.Router
-
Setup a route error handler.
- err(Class<? extends Throwable>, Err.Handler) - Method in interface org.jooby.Router
-
Setup a custom error handler.The error handler will be executed if the current exception is an
instance of given type type.
- err(int, Err.Handler) - Method in interface org.jooby.Router
-
Setup a route error handler.
- err(Status, Err.Handler) - Method in interface org.jooby.Router
-
Setup a route error handler.
- err(Predicate<Status>, Err.Handler) - Method in interface org.jooby.Router
-
Setup a route error handler.
- ERR - Static variable in interface org.jooby.WebSocket
-
Default err callback.
- Err.BadMediaType - Exception in org.jooby
-
- Err.DefHandler - Class in org.jooby
-
Default err handler it does content negotation.
- Err.Handler - Interface in org.jooby
-
Handle and render exceptions.
- Err.Missing - Exception in org.jooby
-
Missing parameter/header or request attribute.
- errpath(String) - Static method in interface org.jooby.Route
-
Mark a path as invalid.
- etag() - Method in interface org.jooby.Asset
-
- etag() - Method in class org.jooby.Asset.Forwarding
-
- etag(boolean) - Method in class org.jooby.handlers.AssetHandler
-
- etag(boolean) - Method in class org.jooby.Route.AssetDefinition
-
- event(Object) - Method in class org.jooby.Sse
-
Factory method for creating
Sse.Event
instances.
- excludes(List<String>) - Method in class org.jooby.Route.Collection
-
- excludes(List<String>) - Method in class org.jooby.Route.Definition
-
- excludes() - Method in class org.jooby.Route.Definition
-
- excludes(String...) - Method in interface org.jooby.Route.Props
-
Excludes one or more path pattern from this route, useful for filter:
- excludes(List<String>) - Method in interface org.jooby.Route.Props
-
Excludes one or more path pattern from this route, useful for filter:
- execute(String, String) - Method in class org.jooby.test.MockRouter
-
- executor() - Method in class org.jooby.Deferred
-
Get an executor to run this deferred result.
- executor(ExecutorService) - Method in class org.jooby.Jooby
-
- executor(Executor) - Method in class org.jooby.Jooby
-
- executor(String, ExecutorService) - Method in class org.jooby.Jooby
-
- executor(String, Executor) - Method in class org.jooby.Jooby
-
- executor(String) - Method in class org.jooby.Jooby
-
- executor() - Method in interface org.jooby.spi.Server
-
Obtain the executor for worker threads.
- EXPECTATION_FAILED - Static variable in class org.jooby.Status
-
417 Expectation Failed
.
- expiryAt() - Method in interface org.jooby.Session
-
The time when this session is going to expire, measured in milliseconds since midnight
January 1, 1970 GMT.
- exportConf(Jooby) - Static method in class org.jooby.Jooby
-
Export configuration from an application.
- exportRoutes(Jooby) - Static method in class org.jooby.Jooby
-
Export routes from an application.
- exposedHeaders() - Method in class org.jooby.handlers.Cors
-
- extended() - Method in class org.jooby.RequestLogger
-
Append Referer
and User-Agent
entries to the NCSA line.
- GATEWAY_TIMEOUT - Static variable in class org.jooby.Status
-
504 Gateway Timeout
.
- generate(Class<T>, String, Consumer<Key<T>>) - Method in class org.jooby.Env.ServiceKey
-
Generate at least one named key for the provided type.
- generateID() - Method in interface org.jooby.Session.Store
-
Generate a session ID.
- get(String) - Method in class org.jooby.Env.ConfigSource
-
- get(Key<T>) - Method in interface org.jooby.Env
-
Get an object by key or empty when missing.
- get(Class<T>) - Method in interface org.jooby.Env
-
Get an object by key or empty when missing.
- get(String) - Method in class org.jooby.Env.MapSource
-
- get(String) - Method in interface org.jooby.Env.PropertySource
-
- get(String, Route.Handler) - Method in class org.jooby.Jooby
-
- get(String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- get(String, String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- get(String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- get(String, String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- get(String, String, String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- get(String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- get(String, String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- get(String, String, String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- get(String, Route.Filter) - Method in class org.jooby.Jooby
-
- get(String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- get(String, String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- GET - Annotation Type in org.jooby.mvc
-
HTTP GET verb for mvc routes.
- get(int) - Method in interface org.jooby.Parser.ParamReference
-
Get the param at the given index or throw
Err
with a bad request code when missing.
- get(String) - Method in class org.jooby.Request.Forwarding
-
- get(String, T) - Method in class org.jooby.Request.Forwarding
-
- get(String, T) - Method in interface org.jooby.Request
-
Get a request local attribute.
- get(String) - Method in interface org.jooby.Request
-
Get a request local attribute.
- get() - Method in class org.jooby.Result
-
Get a result value.
- get(List<MediaType>) - Method in class org.jooby.Result
-
Get a result value for the given types (accept header).
- GET - Static variable in interface org.jooby.Route
-
- get(Route.Handler) - Method in interface org.jooby.Router
-
Append a route that matches the HTTP GET method:
- get(String, Route.Handler) - Method in interface org.jooby.Router
-
Append a route that matches the HTTP GET method:
- get(String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append two routes that matches the HTTP GET method on the same handler:
- get(String, String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append three routes that matches the HTTP GET method on the same handler:
- get(Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that matches the HTTP GET method:
- get(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that matches the HTTP GET method:
- get(String, String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append three routes that matches the HTTP GET method on the same handler:
- get(String, String, String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append three routes that matches the HTTP GET method on the same handler:
- get(Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that matches HTTP GET method:
- get(String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that matches HTTP GET method:
- get(String, String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append three routes that matches the HTTP GET method on the same handler:
- get(String, String, String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append three routes that matches HTTP GET method on the same handler:
- get(String, Route.Filter) - Method in interface org.jooby.Router
-
Append a filter that matches HTTP GET method:
- get(String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append three routes that matches the HTTP GET method on the same handler:
- get(String, String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP GET method on the same handler:
- get(String) - Method in interface org.jooby.Session
-
Get a object from this session.
- get(Session.Builder) - Method in class org.jooby.Session.Mem
-
- get(Session.Builder) - Method in interface org.jooby.Session.Store
-
Get a session by ID (if any).
- get(String) - Method in class org.jooby.test.MockRouter
-
- get(String) - Method in interface org.jooby.WebSocket
-
Get a web socket attribute.
- glob() - Method in class org.jooby.Route.Definition
-
- glob() - Method in class org.jooby.Route.Forwarding
-
- glob() - Method in interface org.jooby.Route
-
Indicates if the
Route.pattern()
contains a glob character, like
?
,
*
or
**
.
- GOING_AWAY - Static variable in interface org.jooby.WebSocket
-
"1001 indicates that an endpoint is "going away", such as a server going down or a
browser having navigated away from a page."
- GONE - Static variable in class org.jooby.Status
-
410 Gone
.
- handle(Result, Throwable) - Method in interface org.jooby.Deferred.Handler
-
- handle(Request, Response, Err) - Method in class org.jooby.Err.DefHandler
-
- handle(Request, Response, Err) - Method in interface org.jooby.Err.Handler
-
Handle a route exception by properly logging the error and sending a err response to the
client.
- handle(Request, Response) - Method in class org.jooby.handlers.AssetHandler
-
- handle(Request, Response, Route.Chain) - Method in class org.jooby.handlers.CorsHandler
-
- handle(Request, Response, Route.Chain) - Method in class org.jooby.handlers.CsrfHandler
-
- handle(Request, Response) - Method in class org.jooby.RequestLogger
-
- handle(Request, Response, Route.Chain) - Method in interface org.jooby.Route.After
-
- handle(Request, Response, Result) - Method in interface org.jooby.Route.After
-
Allows for customized response before send it.
- handle(Request, Response, Route.Chain) - Method in interface org.jooby.Route.Before
-
- handle(Request, Response) - Method in interface org.jooby.Route.Before
-
Allows for customized handler execution chains.
- handle(Request, Response, Route.Chain) - Method in interface org.jooby.Route.Complete
-
- handle(Request, Response, Optional<Throwable>) - Method in interface org.jooby.Route.Complete
-
Allows for log and cleanup a request.
- handle(Request, Response, Route.Chain) - Method in interface org.jooby.Route.Filter
-
The handle
method of the Filter is called by the server each time a
request/response pair is passed through the chain due to a client request for a resource at
the end of the chain.
- handle(Request, Response, Route.Chain) - Method in interface org.jooby.Route.Handler
-
- handle(Request, Response) - Method in interface org.jooby.Route.Handler
-
Callback method for a HTTP request.
- handle(Request, Response, Route.Chain) - Method in interface org.jooby.Route.OneArgHandler
-
- handle(Request) - Method in interface org.jooby.Route.OneArgHandler
-
Callback method for a HTTP request.
- handle(Request, Response, Route.Chain) - Method in interface org.jooby.Route.ZeroArgHandler
-
- handle() - Method in interface org.jooby.Route.ZeroArgHandler
-
Callback method for a HTTP request.
- handle(NativeRequest, NativeResponse) - Method in interface org.jooby.spi.HttpHandler
-
Handle an incoming HTTP request.
- handle(Request, Response, Route.Chain) - Method in interface org.jooby.Sse.Handler
-
- handle(Request, Sse) - Method in interface org.jooby.Sse.Handler
-
Event handler.
- handle(Request, Sse) - Method in interface org.jooby.Sse.Handler1
-
- handle(Sse) - Method in interface org.jooby.Sse.Handler1
-
- handler(Request, Deferred.Handler) - Method in class org.jooby.Deferred
-
Setup a handler for this deferred.
- hashCode() - Method in class org.jooby.MediaType
-
- hashCode() - Method in class org.jooby.WebSocket.Definition
-
- head(String, Route.Handler) - Method in class org.jooby.Jooby
-
- head(String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- head(String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- head(String, Route.Filter) - Method in class org.jooby.Jooby
-
- head() - Method in class org.jooby.Jooby
-
- HEAD - Annotation Type in org.jooby.mvc
-
HTTP HEAD verb for mvc routes.
- HEAD - Static variable in interface org.jooby.Route
-
- head(String, Route.Handler) - Method in interface org.jooby.Router
-
Append a route that supports HTTP HEAD method:
- head(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP HEAD method:
- head(String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP HEAD method:
- head(String, Route.Filter) - Method in interface org.jooby.Router
-
Append a route that supports HTTP HEAD method:
- head() - Method in interface org.jooby.Router
-
Append a new route that automatically handles HEAD request from existing GET routes.
- Header - Annotation Type in org.jooby.mvc
-
Mark a MVC method parameter as a request header.
- header(String) - Method in class org.jooby.Request.Forwarding
-
- header(String, String...) - Method in class org.jooby.Request.Forwarding
-
- header(String) - Method in interface org.jooby.Request
-
Get a HTTP header.
- header(String, String...) - Method in interface org.jooby.Request
-
Get a HTTP header and apply the XSS escapers.
- header(String) - Method in class org.jooby.Response.Forwarding
-
- header(String, Object) - Method in class org.jooby.Response.Forwarding
-
- header(String, Object...) - Method in class org.jooby.Response.Forwarding
-
- header(String, Iterable<Object>) - Method in class org.jooby.Response.Forwarding
-
- header(String) - Method in interface org.jooby.Response
-
Get a header with the given name.
- header(String, Object) - Method in interface org.jooby.Response
-
Sets a response header with the given name and value.
- header(String, Object...) - Method in interface org.jooby.Response
-
Sets a response header with the given name and value.
- header(String, Iterable<Object>) - Method in interface org.jooby.Response
-
Sets a response header with the given name and value.
- header(String, Object) - Method in class org.jooby.Result
-
Sets a response header with the given name and value.
- header(String, Object...) - Method in class org.jooby.Result
-
Sets a response header with the given name and value.
- header(String, Iterable<Object>) - Method in class org.jooby.Result
-
Sets a response header with the given name and value.
- header(String) - Method in interface org.jooby.spi.NativeRequest
-
Get the first header for the provided name or a empty list.
- header(String) - Method in interface org.jooby.spi.NativeResponse
-
Get a response header (previously set).
- header(String, Iterable<String>) - Method in interface org.jooby.spi.NativeResponse
-
Set a response header.
- header(String, String) - Method in interface org.jooby.spi.NativeResponse
-
Set a response header.
- header(String) - Method in interface org.jooby.Upload
-
Upload header, like content-type, charset, etc...
- headerNames() - Method in interface org.jooby.spi.NativeRequest
-
- headers() - Method in class org.jooby.Request.Forwarding
-
- headers() - Method in interface org.jooby.Request
-
- headers() - Method in class org.jooby.Result
-
- headers(String) - Method in interface org.jooby.spi.NativeRequest
-
Get all the headers for the provided name or a empty list.
- headers(String) - Method in interface org.jooby.spi.NativeResponse
-
Get all the response headers for the provided name.
- headers(String) - Method in interface org.jooby.spi.NativeUpload
-
Get all the file headers for the given name.
- HMAC_SHA256 - Static variable in class org.jooby.Cookie.Signature
-
Algorithm name.
- hostname() - Method in class org.jooby.Request.Forwarding
-
- hostname() - Method in interface org.jooby.Request
-
The fully qualified name of the resource being requested, as obtained from the Host HTTP
header.
- html - Static variable in class org.jooby.MediaType
-
HTML media type.
- html(String) - Static method in class org.jooby.Results
-
- http2() - Method in class org.jooby.Jooby
-
Enable HTTP/2
protocol.
- HTTP_VERSION_NOT_SUPPORTED - Static variable in class org.jooby.Status
-
505 HTTP Version Not Supported
.
- HttpHandler - Interface in org.jooby.spi
-
Bridge between Jooby app and a
Server
implementation.
- httpOnly(boolean) - Method in class org.jooby.Cookie.Definition
-
Set HttpOnly flag.
- httpOnly() - Method in class org.jooby.Cookie.Definition
-
- httpOnly() - Method in interface org.jooby.Cookie
-
- name() - Method in class org.jooby.Asset.Forwarding
-
- name() - Method in interface org.jooby.Asset
-
Examples:
- name(String) - Method in class org.jooby.Cookie.Definition
-
Set/Override the cookie's name.
- name() - Method in class org.jooby.Cookie.Definition
-
- name() - Method in interface org.jooby.Cookie
-
- name() - Method in interface org.jooby.Env
-
- NAME - Static variable in class org.jooby.FlashScope
-
- name() - Method in class org.jooby.MediaType
-
- name() - Method in interface org.jooby.Parser.ParamReference
-
- name() - Method in interface org.jooby.Renderer
-
- name(String) - Method in class org.jooby.Route.Collection
-
- name() - Method in class org.jooby.Route.Definition
-
Route's name, helpful for debugging but also to implement dynamic and advanced routing.
- name(String) - Method in class org.jooby.Route.Definition
-
Set the route name.
- name() - Method in class org.jooby.Route.Forwarding
-
- name() - Method in interface org.jooby.Route.Mapper
-
- name() - Method in interface org.jooby.Route
-
Route's name, helpful for debugging but also to implement dynamic and advanced routing.
- name(String) - Method in interface org.jooby.Route.Props
-
Set the route name.
- name() - Method in interface org.jooby.spi.NativeUpload
-
- name() - Method in class org.jooby.Sse.Event
-
- name(String) - Method in class org.jooby.Sse.Event
-
Set event name (a.k.a type).
- name() - Method in interface org.jooby.Upload
-
- name() - Method in class org.jooby.View
-
- NativePushPromise - Interface in org.jooby.spi
-
HTTP/2 push promise.
- NativeRequest - Interface in org.jooby.spi
-
Minimal/basic implementation of HTTP request.
- NativeResponse - Interface in org.jooby.spi
-
Minimal/basic implementation of HTTP request.
- NativeUpload - Interface in org.jooby.spi
-
File upload from multipart/form-data post.
- NativeWebSocket - Interface in org.jooby.spi
-
- NETWORK_AUTHENTICATION_REQUIRED - Static variable in class org.jooby.Status
-
511 Network Authentication Required
.
- next() - Method in interface org.jooby.Parser.Context
-
Invoke next parser in the chain.
- next(TypeLiteral<?>) - Method in interface org.jooby.Parser.Context
-
Invoke next parser in the chain and switch/change the target type we are looking for.
- next(TypeLiteral<?>, Object) - Method in interface org.jooby.Parser.Context
-
Invoke next parser in the chain and switch/change the target type we are looking for but also
the current value.
- next(String, Request, Response) - Method in interface org.jooby.Route.Chain
-
Invokes the next route in the chain where
Route.name()
starts with the given prefix.
- next(Request, Response) - Method in interface org.jooby.Route.Chain
-
Invokes the next route in the chain.
- NO_CONTENT - Static variable in class org.jooby.Status
-
204 No Content
.
- noContent() - Static method in class org.jooby.Results
-
- NON_AUTHORITATIVE_INFORMATION - Static variable in class org.jooby.Status
-
203 Non-Authoritative Information
.
- NORMAL - Static variable in interface org.jooby.WebSocket
-
"1000 indicates a normal closure, meaning that the purpose for which the connection
was established has been fulfilled."
- normalize(String) - Static method in interface org.jooby.Route
-
Normalize a path by removing double or trailing slashes.
- NOT_ACCEPTABLE - Static variable in class org.jooby.Status
-
406 Not Acceptable
.
- NOT_ACCEPTABLE - Static variable in interface org.jooby.WebSocket
-
"1003 indicates that an endpoint is terminating the connection because it has
received a type of data it cannot accept (e.g., an endpoint that understands only
text data MAY send this if it receives a binary message)."
- NOT_EMPTY - Static variable in interface org.jooby.Parser
-
- NOT_EXTENDED - Static variable in class org.jooby.Status
-
510 Not Extended
- NOT_FOUND - Static variable in class org.jooby.Status
-
404 Not Found
.
- NOT_IMPLEMENTED - Static variable in class org.jooby.Status
-
501 Not Implemented
.
- NOT_MODIFIED - Static variable in class org.jooby.Status
-
304 Not Modified
.
- numberFormat(String) - Method in class org.jooby.Jooby
-
Set application number format.
- octetstream - Static variable in class org.jooby.MediaType
-
The default binary media type.
- of(String, Renderer) - Static method in interface org.jooby.Renderer
-
Renderer factory method.
- of(int) - Static method in class org.jooby.WebSocket.CloseStatus
-
- of(int, String) - Static method in class org.jooby.WebSocket.CloseStatus
-
- ok() - Static method in class org.jooby.Results
-
- ok(Object) - Static method in class org.jooby.Results
-
- OK - Static variable in class org.jooby.Status
-
200 OK
.
- on(String, Runnable) - Method in class org.jooby.Jooby
-
Run the given callback if and only if, application runs in the given environment.
- on(String, Consumer<Config>) - Method in class org.jooby.Jooby
-
Run the given callback if and only if, application runs in the given environment.
- on(Predicate<String>, Runnable) - Method in class org.jooby.Jooby
-
Run the given callback if and only if, application runs in the given envirobment.
- on(Predicate<String>, Consumer<Config>) - Method in class org.jooby.Jooby
-
Run the given callback if and only if, application runs in the given environment.
- on(String, String, String, Runnable) - Method in class org.jooby.Jooby
-
Run the given callback if and only if, application runs in the given environment.
- onBinaryMessage(Consumer<ByteBuffer>) - Method in interface org.jooby.spi.NativeWebSocket
-
Set the onbinary message callback.
- onClose(Throwing.Runnable) - Method in class org.jooby.Sse
-
Listen for connection close (usually client drop the connection).
- onClose(WebSocket.OnClose) - Method in interface org.jooby.WebSocket
-
Register an close callback to execute when client close the web socket.
- onClose(WebSocket.CloseStatus) - Method in interface org.jooby.WebSocket.OnClose
-
- onCloseMessage(BiConsumer<Integer, Optional<String>>) - Method in interface org.jooby.spi.NativeWebSocket
-
Set the onclose message callback.
- onConnect(Runnable) - Method in interface org.jooby.spi.NativeWebSocket
-
Set the onconnect callback.
- onError(WebSocket.OnError) - Method in interface org.jooby.WebSocket
-
Register an error callback to execute when an error is found.
- onError(Throwable) - Method in interface org.jooby.WebSocket.OnError
-
Invoked if something goes wrong.
- onErrorMessage(Consumer<Throwable>) - Method in interface org.jooby.spi.NativeWebSocket
-
Set the onerror message callback.
- onMessage(WebSocket.OnMessage<Mutant>) - Method in interface org.jooby.WebSocket
-
Register a callback to execute when a new message arrive.
- onMessage(T) - Method in interface org.jooby.WebSocket.OnMessage
-
Invoked from a web socket.
- onMissing(int) - Method in class org.jooby.handlers.AssetHandler
-
Indicates what to do when an asset is missing (not resolved).
- onMissing(int) - Method in class org.jooby.Route.AssetDefinition
-
Indicates what to do when an asset is missing (not resolved).
- onOpen(Request, WebSocket) - Method in interface org.jooby.WebSocket.OnOpen
-
- onOpen(Request, WebSocket) - Method in interface org.jooby.WebSocket.OnOpen1
-
- onOpen(WebSocket) - Method in interface org.jooby.WebSocket.OnOpen1
-
- onStart(Throwing.Runnable) - Method in class org.jooby.Jooby
-
- onStart(Throwing.Consumer<Registry>) - Method in class org.jooby.Jooby
-
- onStart(Throwing.Consumer<Registry>) - Method in interface org.jooby.LifeCycle
-
Add a start lifecycle event, useful for initialize and/or start services at startup time.
- onStart(Throwing.Runnable) - Method in interface org.jooby.LifeCycle
-
Add a start lifecycle event, useful for initialize and/or start services at startup time.
- onStarted(Throwing.Runnable) - Method in class org.jooby.Jooby
-
- onStarted(Throwing.Consumer<Registry>) - Method in class org.jooby.Jooby
-
- onStarted(Throwing.Consumer<Registry>) - Method in interface org.jooby.LifeCycle
-
Add a started lifecycle event.
- onStarted(Throwing.Runnable) - Method in interface org.jooby.LifeCycle
-
Add a started lifecycle event.
- onStop(Throwing.Runnable) - Method in class org.jooby.Jooby
-
- onStop(Throwing.Consumer<Registry>) - Method in class org.jooby.Jooby
-
- onStop(Throwing.Runnable) - Method in interface org.jooby.LifeCycle
-
Add a stop lifecycle event, useful for cleanup and/or stop service at stop time.
- onStop(Throwing.Consumer<Registry>) - Method in interface org.jooby.LifeCycle
-
Add a stop lifecycle event, useful for cleanup and/or stop service at stop time.
- onTextMessage(Consumer<String>) - Method in interface org.jooby.spi.NativeWebSocket
-
Set the ontext message callback.
- options(String, Route.Handler) - Method in class org.jooby.Jooby
-
- options(String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- options(String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- options(String, Route.Filter) - Method in class org.jooby.Jooby
-
- options() - Method in class org.jooby.Jooby
-
- OPTIONS - Annotation Type in org.jooby.mvc
-
HTTP OPTIONS verb for mvc routes.
- OPTIONS - Static variable in interface org.jooby.Route
-
- options(String, Route.Handler) - Method in interface org.jooby.Router
-
Append a route that supports HTTP OPTIONS method:
- options(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP OPTIONS method:
- options(String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP OPTIONS method:
- options(String, Route.Filter) - Method in interface org.jooby.Router
-
Append a route that supports HTTP OPTIONS method:
- options() - Method in interface org.jooby.Router
-
Append a new route that automatically handles OPTIONS requests.
- orElse(Runnable) - Method in interface org.jooby.Jooby.EnvPredicate
-
{
on("dev", () -> {
// run something on dev
}).orElse(() -> {
// run something on prod
});
}
- orElse(Consumer<Config>) - Method in interface org.jooby.Jooby.EnvPredicate
-
{
on("dev", () -> {
// run something on dev
}).orElse(conf -> {
// run something on prod
});
}
- org.jooby - package org.jooby
-
do more, more easily
- org.jooby.handlers - package org.jooby.handlers
-
- org.jooby.mvc - package org.jooby.mvc
-
- org.jooby.scope - package org.jooby.scope
-
- org.jooby.spi - package org.jooby.spi
-
- org.jooby.test - package org.jooby.test
-
- origin() - Method in class org.jooby.handlers.Cors
-
An origin must be a "*" (any origin), a domain name (like, http://foo.com) and/or a regex
(like, http://*.domain.com).
- OUT_OF_PATH - Static variable in interface org.jooby.Route
-
- outOfScope(Class<T>) - Static method in class org.jooby.scope.Providers
-
- outOfScope(Key<T>) - Static method in class org.jooby.scope.Providers
-
- param(Parser.Callback<Parser.ParamReference<String>>) - Method in interface org.jooby.Parser.Builder
-
Add a HTTP param callback.
- param(String) - Method in class org.jooby.Request.Forwarding
-
- param(String, String...) - Method in class org.jooby.Request.Forwarding
-
- param(String) - Method in interface org.jooby.Request
-
Get a HTTP request parameter under the given name.
- param(String, String...) - Method in interface org.jooby.Request
-
Get a HTTP request parameter under the given name.
- paramNames() - Method in interface org.jooby.spi.NativeRequest
-
- params() - Method in class org.jooby.MediaType
-
- params(Parser.Callback<Map<String, Mutant>>) - Method in interface org.jooby.Parser.Builder
-
Add a HTTP params callback.
- params() - Method in class org.jooby.Request.Forwarding
-
- params(String...) - Method in class org.jooby.Request.Forwarding
-
- params(Class<T>) - Method in class org.jooby.Request.Forwarding
-
- params(Class<T>, String...) - Method in class org.jooby.Request.Forwarding
-
- params() - Method in interface org.jooby.Request
-
Get all the available parameters.
- params(String...) - Method in interface org.jooby.Request
-
Get all the available parameters.
- params(Class<T>) - Method in interface org.jooby.Request
-
Short version of params().to(type)
.
- params(Class<T>, String...) - Method in interface org.jooby.Request
-
Short version of params(xss).to(type)
.
- params(String) - Method in interface org.jooby.spi.NativeRequest
-
Get all the params for the provided name or a empty list.
- parse(String) - Static method in class org.jooby.MediaType
-
Convert a string separated by comma into one or more
MediaType
.
- parse(TypeLiteral<?>, Parser.Context) - Method in interface org.jooby.Parser
-
Parse one or more values to the required type.
- parser(Parser) - Method in class org.jooby.Jooby
-
Register a new param/body converter.
- Parser - Interface in org.jooby
-
Parse a request param (path, query, form) or body to something else.
- Parser.BodyReference - Interface in org.jooby
-
Expose the HTTP body as a series of bytes or text.
- Parser.Builder - Interface in org.jooby
-
- Parser.Callback<T> - Interface in org.jooby
-
A parser callback.
- Parser.Context - Interface in org.jooby
-
- Parser.ParamReference<T> - Interface in org.jooby
-
Expose HTTP params from path, query, form url encoded or multipart request as a raw string.
- PARTIAL_CONTENT - Static variable in class org.jooby.Status
-
206 Partial Content
.
- patch(String, Route.Handler) - Method in class org.jooby.Jooby
-
- patch(String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- patch(String, String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- patch(String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- patch(String, String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- patch(String, String, String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- patch(String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- patch(String, String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- patch(String, String, String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- patch(String, Route.Filter) - Method in class org.jooby.Jooby
-
- patch(String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- patch(String, String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- PATCH - Annotation Type in org.jooby.mvc
-
HTTP PATCH verb for mvc routes.
- PATCH - Static variable in interface org.jooby.Route
-
- patch(Route.Handler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PATCH method:
- patch(String, Route.Handler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PATCH method:
- patch(String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PATCH method on the same handler:
- patch(String, String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PATCH method on the same handler:
- patch(Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PATCH method:
- patch(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PATCH method:
- patch(String, String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PATCH method on the same handler:
- patch(String, String, String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PATCH method on the same handler:
- patch(Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PATCH method:
- patch(String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PATCH method:
- patch(String, String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PATCH method on the same handler:
- patch(String, String, String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PATCH method on the same handler:
- patch(String, Route.Filter) - Method in interface org.jooby.Router
-
Append route that supports HTTP PATCH method:
- patch(String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PATCH method on the same handler:
- patch(String, String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PATCH method on the same handler:
- patch(String) - Method in class org.jooby.test.MockRouter
-
- path() - Method in class org.jooby.Asset.Forwarding
-
- path() - Method in interface org.jooby.Asset
-
Examples:
- path(String) - Method in class org.jooby.Cookie.Definition
-
Set the cookie's path.
- path() - Method in class org.jooby.Cookie.Definition
-
- path() - Method in interface org.jooby.Cookie
-
- path(String, Runnable) - Method in class org.jooby.Jooby
-
- Path - Annotation Type in org.jooby.mvc
-
Set a path for Mvc routes.
- path() - Method in class org.jooby.Request.Forwarding
-
- path(boolean) - Method in class org.jooby.Request.Forwarding
-
- path() - Method in interface org.jooby.Request
-
Given:
- path(boolean) - Method in interface org.jooby.Request
-
Escape the path using UrlEscapers.urlFragmentEscaper()
.
- path() - Method in class org.jooby.Route.Forwarding
-
- path() - Method in interface org.jooby.Route
-
- path(String, Runnable) - Method in interface org.jooby.Router
-
Group one or more routes under a common path.
- path() - Method in interface org.jooby.spi.NativeRequest
-
- path() - Method in interface org.jooby.WebSocket
-
- pattern() - Method in class org.jooby.Route.Definition
-
Path Patterns
- pattern() - Method in class org.jooby.Route.Forwarding
-
- pattern() - Method in interface org.jooby.Route
-
- pattern() - Method in class org.jooby.WebSocket.Definition
-
- pattern() - Method in interface org.jooby.WebSocket
-
- pause() - Method in interface org.jooby.spi.NativeWebSocket
-
Pause reads.
- pause() - Method in interface org.jooby.WebSocket
-
Pause the client stream.
- PAYMENT_REQUIRED - Static variable in class org.jooby.Status
-
402 Payment Required
.
- plain - Static variable in class org.jooby.MediaType
-
Text plain media type.
- POLICY_VIOLATION - Static variable in interface org.jooby.WebSocket
-
"1008 indicates that an endpoint is terminating the connection because it has
received a message that violates its policy.
- port(int) - Method in class org.jooby.Jooby
-
Set the HTTP port.
- port() - Method in class org.jooby.Request.Forwarding
-
- port() - Method in interface org.jooby.Request
-
- post(String, Route.Handler) - Method in class org.jooby.Jooby
-
- post(String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- post(String, String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- post(String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- post(String, String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- post(String, String, String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- post(String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- post(String, String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- post(String, String, String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- post(String, Route.Filter) - Method in class org.jooby.Jooby
-
- post(String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- post(String, String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- POST - Annotation Type in org.jooby.mvc
-
HTTP POST verb for mvc routes.
- POST - Static variable in interface org.jooby.Route
-
- post(Route.Handler) - Method in interface org.jooby.Router
-
Append a route that supports HTTP POST method:
- post(String, Route.Handler) - Method in interface org.jooby.Router
-
Append a route that supports HTTP POST method:
- post(String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP POST method on the same handler:
- post(String, String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP POST method on the same handler:
- post(Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP POST method:
- post(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP POST method:
- post(String, String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP POST method on the same handler:
- post(String, String, String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP POST method on the same handler:
- post(Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP POST method:
- post(String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP POST method:
- post(String, String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP POST method on the same handler:
- post(String, String, String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP POST method on the same handler:
- post(String, Route.Filter) - Method in interface org.jooby.Router
-
Append a route that supports HTTP POST method:
- post(String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP POST method on the same handler:
- post(String, String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP POST method on the same handler:
- post(String) - Method in class org.jooby.test.MockRouter
-
- PRECONDITION_FAILED - Static variable in class org.jooby.Status
-
412 Precondition failed
.
- PRECONDITION_REQUIRED - Static variable in class org.jooby.Status
-
428 Precondition Required
.
- print() - Method in class org.jooby.Route.Forwarding
-
- print(int) - Method in class org.jooby.Route.Forwarding
-
- print(int) - Method in interface org.jooby.Route
-
Print route information like: method, path, source, etc...
- print() - Method in interface org.jooby.Route
-
Print route information like: method, path, source, etc...
- PROCESSING - Static variable in class org.jooby.Status
-
102 Processing
.
- Produces - Annotation Type in org.jooby.mvc
-
Defines what media types a route can produces.
- produces(List<MediaType>) - Method in class org.jooby.Route.Collection
-
- produces(List<MediaType>) - Method in class org.jooby.Route.Definition
-
- produces() - Method in class org.jooby.Route.Definition
-
- produces() - Method in class org.jooby.Route.Forwarding
-
- produces() - Method in interface org.jooby.Route
-
- produces(MediaType...) - Method in interface org.jooby.Route.Props
-
Set the media types the route can produces.
- produces(String...) - Method in interface org.jooby.Route.Props
-
Set the media types the route can produces.
- produces(List<MediaType>) - Method in interface org.jooby.Route.Props
-
Set the media types the route can produces.
- produces(String) - Method in class org.jooby.WebSocket.Definition
-
Set the media types the route can produces.
- produces(MediaType) - Method in class org.jooby.WebSocket.Definition
-
Set the media types the route can produces.
- produces() - Method in class org.jooby.WebSocket.Definition
-
- produces() - Method in interface org.jooby.WebSocket
-
- promise(Deferred.Initializer) - Method in class org.jooby.Jooby
-
- promise(String, Deferred.Initializer) - Method in class org.jooby.Jooby
-
- promise(Deferred.Initializer0) - Method in class org.jooby.Jooby
-
- promise(String, Deferred.Initializer0) - Method in class org.jooby.Jooby
-
- promise(Deferred.Initializer) - Method in interface org.jooby.Router
-
Produces a deferred response, useful for async request processing.
- promise(String, Deferred.Initializer) - Method in interface org.jooby.Router
-
Produces a deferred response, useful for async request processing.
- promise(Deferred.Initializer0) - Method in interface org.jooby.Router
-
Produces a deferred response, useful for async request processing.
- promise(String, Deferred.Initializer0) - Method in interface org.jooby.Router
-
Produces a deferred response, useful for async request processing.
- protocol() - Method in class org.jooby.Request.Forwarding
-
- protocol() - Method in interface org.jooby.Request
-
- protocol() - Method in interface org.jooby.spi.NativeRequest
-
- PROTOCOL_ERROR - Static variable in interface org.jooby.WebSocket
-
"1002 indicates that an endpoint is terminating the connection due to a protocol
error."
- Providers - Class in org.jooby.scope
-
- Providers() - Constructor for class org.jooby.scope.Providers
-
- PROXY_AUTHENTICATION_REQUIRED - Static variable in class org.jooby.Status
-
407 Proxy Authentication Required
.
- push(String) - Method in class org.jooby.Request.Forwarding
-
- push(String, Map<String, Object>) - Method in class org.jooby.Request.Forwarding
-
- push(String) - Method in interface org.jooby.Request
-
Send a push promise frame to the client and push the resource identified by the given path.
- push(String, Map<String, Object>) - Method in interface org.jooby.Request
-
Send a push promise frame to the client and push the resource identified by the given path.
- push(String, String, Map<String, Object>) - Method in interface org.jooby.spi.NativePushPromise
-
Send a push promise to client and start/enqueue a the response.
- push(String, String, Map<String, Object>) - Method in interface org.jooby.spi.NativeRequest
-
Send push promise to the client.
- put(String, Route.Handler) - Method in class org.jooby.Jooby
-
- put(String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- put(String, String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- put(String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- put(String, String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- put(String, String, String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- put(String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- put(String, String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- put(String, String, String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- put(String, Route.Filter) - Method in class org.jooby.Jooby
-
- put(String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- put(String, String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- PUT - Annotation Type in org.jooby.mvc
-
HTTP PUT verb for mvc routes.
- PUT - Static variable in interface org.jooby.Route
-
- put(Route.Handler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PUT method:
- put(String, Route.Handler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PUT method:
- put(String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PUT method on the same handler:
- put(String, String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PUT method on the same handler:
- put(Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PUT method:
- put(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PUT method:
- put(String, String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PUT method on the same handler:
- put(String, String, String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PUT method on the same handler:
- put(Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PUT method:
- put(String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP PUT method:
- put(String, String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PUT method on the same handler:
- put(String, String, String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PUT method on the same handler:
- put(String, Route.Filter) - Method in interface org.jooby.Router
-
Append route that supports HTTP PUT method:
- put(String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PUT method on the same handler:
- put(String, String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append three routes that supports HTTP PUT method on the same handler:
- put(String) - Method in class org.jooby.test.MockRouter
-
- put(String, Object) - Method in class org.jooby.View
-
Set a model attribute and override existing attribute.
- put(Map<String, ?>) - Method in class org.jooby.View
-
Set model attributes and override existing values.
- rawPath() - Method in class org.jooby.Request.Forwarding
-
- rawPath() - Method in interface org.jooby.Request
-
- rawPath() - Method in interface org.jooby.spi.NativeRequest
-
- reason() - Method in class org.jooby.Status
-
- reason() - Method in class org.jooby.WebSocket.CloseStatus
-
- redirect(String) - Method in class org.jooby.Response.Forwarding
-
- redirect(Status, String) - Method in class org.jooby.Response.Forwarding
-
- redirect(String) - Method in interface org.jooby.Response
-
Redirect to the given url with status code defaulting to
Status.FOUND
.
- redirect(Status, String) - Method in interface org.jooby.Response
-
Redirect to the given url with status code defaulting to
Status.FOUND
.
- redirect(String) - Static method in class org.jooby.Results
-
Redirect to the given url with status code defaulting to
Status.FOUND
.
- Registry - Interface in org.jooby
-
service registry
- reject(Throwable) - Method in class org.jooby.Deferred
-
Resolve the deferred with an error and handle it.
- render(Object, Renderer.Context) - Method in interface org.jooby.Renderer
-
Render the given value and write the response (if possible).
- render(Object, Renderer.Context) - Method in interface org.jooby.View.Engine
-
- render(View, Renderer.Context) - Method in interface org.jooby.View.Engine
-
- renderer(Renderer) - Method in class org.jooby.Jooby
-
Append a response
Renderer
for write HTTP messages.
- Renderer - Interface in org.jooby
-
Write a value into the HTTP response and apply a format, if need it.
- renderer() - Method in class org.jooby.Route.Collection
-
- renderer(String) - Method in class org.jooby.Route.Collection
-
- renderer() - Method in class org.jooby.Route.Definition
-
- renderer(String) - Method in class org.jooby.Route.Definition
-
- renderer() - Method in class org.jooby.Route.Forwarding
-
- renderer(String) - Method in interface org.jooby.Route.Props
-
Tell jooby what renderer should use to render the output.
- renderer() - Method in interface org.jooby.Route.Props
-
Explicit renderer to use or null
.
- renderer() - Method in interface org.jooby.Route
-
Explicit renderer to use or null
.
- Renderer.Context - Interface in org.jooby
-
Contains a few utility methods for doing the actual rendering and writing.
- renewId() - Method in interface org.jooby.Session
-
Assign a new ID to the existing session.
- Request - Interface in org.jooby
-
Give you access at the current HTTP request in order to read parameters, headers and body.
- Request.Flash - Interface in org.jooby
-
Flash scope.
- Request.Forwarding - Class in org.jooby
-
Forwarding request.
- REQUEST_ENTITY_TOO_LARGE - Static variable in class org.jooby.Status
-
413 Request Entity Too Large
.
- REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class org.jooby.Status
-
431 Request Header Fields Too Large
.
- REQUEST_TIMEOUT - Static variable in class org.jooby.Status
-
408 Request Timeout
.
- REQUEST_URI_TOO_LONG - Static variable in class org.jooby.Status
-
414 Request-URI Too Long
.
- REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class org.jooby.Status
-
416 Requested Range Not Satisfiable
.
- RequestLogger - Class in org.jooby
-
request logger
- RequestLogger(Function<Request, String>) - Constructor for class org.jooby.RequestLogger
-
Creates a new
RequestLogger
and use the given function and userId provider.
- RequestLogger() - Constructor for class org.jooby.RequestLogger
-
- RequestScoped - Annotation Type in org.jooby.scope
-
Define a request scoped object.
- require(Key<T>) - Method in class org.jooby.Jooby
-
- require(Class<T>) - Method in interface org.jooby.Parser.Context
-
Requires a service with the given type.
- require(TypeLiteral<T>) - Method in interface org.jooby.Parser.Context
-
Requires a service with the given type.
- require(Key<T>) - Method in interface org.jooby.Parser.Context
-
Requires a service with the given type.
- require(Class<T>) - Method in interface org.jooby.Registry
-
Request a service of the given type.
- require(String, Class<T>) - Method in interface org.jooby.Registry
-
Request a service of the given type and name.
- require(TypeLiteral<T>) - Method in interface org.jooby.Registry
-
Request a service of the given type.
- require(Key<T>) - Method in interface org.jooby.Registry
-
Request a service of the given key.
- require(String, TypeLiteral<T>) - Method in interface org.jooby.Registry
-
Request a service of a given type by a given name.
- require(Class<T>) - Method in class org.jooby.Request.Forwarding
-
- require(TypeLiteral<T>) - Method in class org.jooby.Request.Forwarding
-
- require(Key<T>) - Method in class org.jooby.Request.Forwarding
-
- require(Class<T>) - Method in class org.jooby.Sse
-
Ask Guice for the given type.
- require(String, Class<T>) - Method in class org.jooby.Sse
-
Ask Guice for the given type.
- require(TypeLiteral<T>) - Method in class org.jooby.Sse
-
Ask Guice for the given type.
- require(Key<T>) - Method in class org.jooby.Sse
-
Ask Guice for the given type.
- REQUIRED_EXTENSION - Static variable in interface org.jooby.WebSocket
-
"1010 indicates that an endpoint (client) is terminating the connection because it
has expected the server to negotiate one or more extension, but the server didn't
return them in the response message of the WebSocket handshake.
- requireTokenOn(Predicate<Request>) - Method in class org.jooby.handlers.CsrfHandler
-
Decided whenever or not an incoming request require token verification.
- reset() - Method in interface org.jooby.spi.NativeResponse
-
Reset the HTTP status, headers and response buffer is need it.
- RESET_CONTENT - Static variable in class org.jooby.Status
-
205 Reset Content
.
- resolve(Object) - Method in class org.jooby.Deferred
-
Resolve the deferred value and handle it.
- resolve(String) - Method in interface org.jooby.Env
-
Returns a string with all substitutions (the
${foo.bar}
syntax,
see
the
spec) resolved.
- resolve(String) - Method in class org.jooby.Env.Resolver
-
Returns a string with all substitutions (the
${foo.bar}
syntax,
see
the
spec) resolved.
- resolver() - Method in interface org.jooby.Env
-
- Resolver() - Constructor for class org.jooby.Env.Resolver
-
- resource() - Method in class org.jooby.Asset.Forwarding
-
- resource() - Method in interface org.jooby.Asset
-
- Response - Interface in org.jooby
-
Give you access to the actual HTTP response.
- Response.Forwarding - Class in org.jooby
-
A forwarding response.
- Result - Class in org.jooby
-
Utility class for HTTP responses.
- Result() - Constructor for class org.jooby.Result
-
- Results - Class in org.jooby
-
A
Result
builder with some utility static methods.
- Results() - Constructor for class org.jooby.Results
-
- resume() - Method in interface org.jooby.spi.NativeWebSocket
-
Resume reads.
- resume() - Method in interface org.jooby.WebSocket
-
Resume the client stream.
- RESUME_INCOMPLETE - Static variable in class org.jooby.Status
-
308 Resume Incomplete
.
- retry(int, TimeUnit) - Method in class org.jooby.Sse.Event
-
Clients (browsers) will attempt to reconnect every 3 seconds.
- retry(long) - Method in class org.jooby.Sse.Event
-
Clients (browsers) will attempt to reconnect every 3 seconds.
- retry() - Method in class org.jooby.Sse.Event
-
- reverse(Map<String, Object>) - Method in class org.jooby.Route.Definition
-
Recreate a route path and apply the given variables.
- reverse(Object...) - Method in class org.jooby.Route.Definition
-
Recreate a route path and apply the given variables.
- reverse(Map<String, Object>) - Method in class org.jooby.Route.Forwarding
-
- reverse(Object...) - Method in class org.jooby.Route.Forwarding
-
- reverse(Map<String, Object>) - Method in interface org.jooby.Route
-
Recreate a route path and apply the given variables.
- reverse(Object...) - Method in interface org.jooby.Route
-
Recreate a route path and apply the given variables.
- rnd - Static variable in interface org.jooby.Session.Store
-
Single secure random instance.
- route() - Method in class org.jooby.Request.Forwarding
-
- route() - Method in interface org.jooby.Request
-
- Route - Interface in org.jooby
-
Routes are a key concept in Jooby.
- Route.After - Interface in org.jooby
-
after
- Route.AssetDefinition - Class in org.jooby
-
Allow to customize an asset handler.
- Route.Before - Interface in org.jooby
-
before
- Route.Chain - Interface in org.jooby
-
Chain of routes to be executed.
- Route.Collection - Class in org.jooby
-
Collection of
Route.Props
useful for registering/setting route options at once.
- Route.Complete - Interface in org.jooby
-
complete
- Route.Definition - Class in org.jooby
-
DSL for customize routes.
- Route.Filter - Interface in org.jooby
-
The most advanced route handler which let you decided if the next route handler in the chain
can be executed or not.
- Route.Forwarding - Class in org.jooby
-
A forwarding route.
- Route.Handler - Interface in org.jooby
-
- Route.Mapper<T> - Interface in org.jooby
-
Converts a route output to something else, see Router#map(Mapper)
.
- Route.MethodHandler - Interface in org.jooby
-
A handler for a MVC route, it extends
Route.Handler
by adding a reference to the method
and class behind this route.
- Route.OneArgHandler - Interface in org.jooby
-
A functional route handler that use the return value as HTTP response.
- Route.Props<T extends Route.Props<T>> - Interface in org.jooby
-
Common route properties, like static and global metadata via attributes, path exclusion,
produces and consumes types.
- Route.Source - Interface in org.jooby
-
Provides useful information about where the route was defined.
- Route.ZeroArgHandler - Interface in org.jooby
-
A functional handler that use the return value as HTTP response.
- router() - Method in interface org.jooby.Env
-
Application router.
- Router - Interface in org.jooby
-
Route DSL.
- routes() - Method in interface org.jooby.Route.Chain
-
All the pending/next routes from pipeline.
- run(Request, Deferred) - Method in interface org.jooby.Deferred.Initializer
-
Run the initializer block.
- run(Deferred) - Method in interface org.jooby.Deferred.Initializer0
-
Run the initializer block.
- run(Supplier<? extends Jooby>, String...) - Static method in class org.jooby.Jooby
-
Prepare and startup a
Jooby
application.
- run(Class<? extends Jooby>, String...) - Static method in class org.jooby.Jooby
-
Prepare and startup a
Jooby
application.
- save(Session) - Method in class org.jooby.Session.Mem
-
- save(Session) - Method in interface org.jooby.Session.Store
-
Save/persist a session.
- savedAt(long) - Method in interface org.jooby.Session.Builder
-
Set session last saved it date.
- savedAt() - Method in interface org.jooby.Session
-
Last time the session was save it as epoch millis or -1
for client side sessions.
- saveInterval() - Method in class org.jooby.Session.Definition
-
Indicates how frequently a no-dirty session should be persisted (in millis).
- saveInterval(long) - Method in class org.jooby.Session.Definition
-
Set/override how frequently a no-dirty session should be persisted (in millis).
- secure(boolean) - Method in class org.jooby.Cookie.Definition
-
True, ensure that the session cookie is only transmitted via HTTPS.
- secure() - Method in class org.jooby.Cookie.Definition
-
- secure() - Method in interface org.jooby.Cookie
-
Returns true
if the browser is sending cookies only over a secure protocol, or
false
if the browser can send cookies using any protocol.
- secure() - Method in class org.jooby.Request.Forwarding
-
- secure() - Method in interface org.jooby.Request
-
- secure() - Method in interface org.jooby.spi.NativeRequest
-
- securePort(int) - Method in class org.jooby.Jooby
-
Set the HTTPS port to use.
- SEE_OTHER - Static variable in class org.jooby.Status
-
303 See Other
.
- seeOther(String) - Static method in class org.jooby.Results
-
Redirect to the given url with status code defaulting to
Status.FOUND
.
- send(byte[]) - Method in interface org.jooby.Renderer.Context
-
Write bytes into the HTTP response body.
- send(ByteBuffer) - Method in interface org.jooby.Renderer.Context
-
Write byte buffer into the HTTP response body.
- send(String) - Method in interface org.jooby.Renderer.Context
-
Write text into the HTTP response body.
- send(InputStream) - Method in interface org.jooby.Renderer.Context
-
Write bytes into the HTTP response body.
- send(CharBuffer) - Method in interface org.jooby.Renderer.Context
-
Write text into the HTTP response body.
- send(Reader) - Method in interface org.jooby.Renderer.Context
-
Write text into the HTTP response body.
- send(FileChannel) - Method in interface org.jooby.Renderer.Context
-
Write file into the HTTP response body, using OS zero-copy transfer (if possible).
- send(Object) - Method in class org.jooby.Response.Forwarding
-
- send(Result) - Method in class org.jooby.Response.Forwarding
-
- send(Object) - Method in interface org.jooby.Response
-
Responsible of writing the given body into the HTTP response.
- send(Result) - Method in interface org.jooby.Response
-
Responsible of writing the given body into the HTTP response.
- send(byte[]) - Method in interface org.jooby.spi.NativeResponse
-
- send(ByteBuffer) - Method in interface org.jooby.spi.NativeResponse
-
- send(InputStream) - Method in interface org.jooby.spi.NativeResponse
-
- send(FileChannel) - Method in interface org.jooby.spi.NativeResponse
-
- send(FileChannel, long, long) - Method in interface org.jooby.spi.NativeResponse
-
- send() - Method in class org.jooby.Sse.Event
-
Send an event and optionally listen for success confirmation or error:
- send(Object, String) - Method in class org.jooby.Sse
-
Send an event and set media type.
- send(Object, MediaType) - Method in class org.jooby.Sse
-
Send an event and set media type.
- send(Object) - Method in class org.jooby.Sse
-
Send an event.
- send(Object) - Method in interface org.jooby.WebSocket
-
Send data through the connection.
- send(Object, WebSocket.SuccessCallback) - Method in interface org.jooby.WebSocket
-
Send data through the connection.
- send(Object, WebSocket.OnError) - Method in interface org.jooby.WebSocket
-
Send data through the connection.
- send(Object, WebSocket.SuccessCallback, WebSocket.OnError) - Method in interface org.jooby.WebSocket
-
Send data through the connection.
- sendBytes(ByteBuffer, WebSocket.SuccessCallback, WebSocket.OnError) - Method in interface org.jooby.spi.NativeWebSocket
-
Send a binary message to the client.
- sendBytes(byte[], WebSocket.SuccessCallback, WebSocket.OnError) - Method in interface org.jooby.spi.NativeWebSocket
-
Send a binary message to the client.
- sendText(String, WebSocket.SuccessCallback, WebSocket.OnError) - Method in interface org.jooby.spi.NativeWebSocket
-
Send a text message to the client.
- sendText(ByteBuffer, WebSocket.SuccessCallback, WebSocket.OnError) - Method in interface org.jooby.spi.NativeWebSocket
-
Send a text message to the client.
- sendText(byte[], WebSocket.SuccessCallback, WebSocket.OnError) - Method in interface org.jooby.spi.NativeWebSocket
-
Send a text message to the client.
- server(Class<? extends Server>) - Method in class org.jooby.Jooby
-
Use the provided HTTP server.
- Server - Interface in org.jooby.spi
-
A HTTP web server.
- SERVER_ERROR - Static variable in class org.jooby.Status
-
500 Server Error
.
- SERVER_ERROR - Static variable in interface org.jooby.WebSocket
-
"1011 indicates that a server is terminating the connection because it encountered
an unexpected condition that prevented it from fulfilling the request."
- SERVICE_OVERLOAD - Static variable in interface org.jooby.WebSocket
-
"1013 indicates that the service is experiencing overload.
- SERVICE_RESTARTED - Static variable in interface org.jooby.WebSocket
-
"1012 indicates that the service is restarted.
- SERVICE_UNAVAILABLE - Static variable in class org.jooby.Status
-
503 Service Unavailable
.
- serviceKey() - Method in interface org.jooby.Env
-
- ServiceKey() - Constructor for class org.jooby.Env.ServiceKey
-
- session(Class<? extends Session.Store>) - Method in class org.jooby.Jooby
-
Setup a session store to use.
- session(Session.Store) - Method in class org.jooby.Jooby
-
Setup a session store to use.
- session() - Method in class org.jooby.Request.Forwarding
-
- session() - Method in interface org.jooby.Request
-
- Session - Interface in org.jooby
-
- Session.Builder - Interface in org.jooby
-
Build or restore a session from a persistent storage.
- Session.Definition - Class in org.jooby
-
Hold session related configuration parameters.
- Session.Destroyed - Exception in org.jooby
-
Throw when session access is required but the session has been destroyed.\
See
Session.destroy()
.
- Session.Mem - Class in org.jooby
-
A keep in memory session store.
- Session.Store - Interface in org.jooby
-
Read, save and delete sessions from a persistent storage.
- sessionId() - Method in interface org.jooby.Session.Builder
-
- set(Object) - Method in class org.jooby.Deferred
-
- set(Key<T>, T) - Method in interface org.jooby.Env
-
Add a global object.
- set(Class<T>, T) - Method in interface org.jooby.Env
-
Add a global object.
- set(String, Object) - Method in class org.jooby.Request.Forwarding
-
- set(Key<?>, Object) - Method in class org.jooby.Request.Forwarding
-
- set(Class<?>, Object) - Method in class org.jooby.Request.Forwarding
-
- set(TypeLiteral<?>, Object) - Method in class org.jooby.Request.Forwarding
-
- set(String, Object) - Method in interface org.jooby.Request
-
Set local attribute.
- set(Class<?>, Object) - Method in interface org.jooby.Request
-
- set(TypeLiteral<?>, Object) - Method in interface org.jooby.Request
-
- set(Key<?>, Object) - Method in interface org.jooby.Request
-
- set(Object) - Method in class org.jooby.Result
-
Set result content.
- set(String, String) - Method in interface org.jooby.Session.Builder
-
Set a session local attribute.
- set(Map<String, String>) - Method in interface org.jooby.Session.Builder
-
Set one ore more session local attributes.
- set(String, byte) - Method in interface org.jooby.Session
-
Set a session local using a the given name.
- set(String, char) - Method in interface org.jooby.Session
-
Set a session local using a the given name.
- set(String, boolean) - Method in interface org.jooby.Session
-
Set a session local using a the given name.
- set(String, short) - Method in interface org.jooby.Session
-
Set a session local using a the given name.
- set(String, int) - Method in interface org.jooby.Session
-
Set a session local using a the given name.
- set(String, long) - Method in interface org.jooby.Session
-
Set a session local using a the given name.
- set(String, float) - Method in interface org.jooby.Session
-
Set a session local using a the given name.
- set(String, double) - Method in interface org.jooby.Session
-
Set a session local using a the given name.
- set(String, CharSequence) - Method in interface org.jooby.Session
-
Set a session local using a the given name.
- set(String, String) - Method in interface org.jooby.Session
-
Set a session local using a the given name.
- set(Object) - Method in class org.jooby.test.MockRouter
-
- set(String, Object) - Method in class org.jooby.test.MockRouter
-
- set(Object) - Method in class org.jooby.View
-
- set(String, Object) - Method in interface org.jooby.WebSocket
-
Set a web socket attribute.
- shortValue() - Method in interface org.jooby.Mutant
-
- shortValue(short) - Method in interface org.jooby.Mutant
-
- sign(String, String) - Static method in class org.jooby.Cookie.Signature
-
Sign a value using a secret key.
- Signature() - Constructor for class org.jooby.Cookie.Signature
-
- size() - Method in interface org.jooby.Parser.ParamReference
-
- source(Map<String, Object>) - Method in class org.jooby.Env.Resolver
-
Set property source.
- source(Env.PropertySource) - Method in class org.jooby.Env.Resolver
-
Set property source.
- source(Config) - Method in class org.jooby.Env.Resolver
-
Set property source.
- source() - Method in class org.jooby.Route.Definition
-
Source information (where the route was defined).
- source() - Method in class org.jooby.Route.Forwarding
-
- source() - Method in interface org.jooby.Route
-
Source information (where the route was defined).
- sse(String, Sse.Handler) - Method in class org.jooby.Jooby
-
- sse(String, Sse.Handler1) - Method in class org.jooby.Jooby
-
- sse - Static variable in class org.jooby.MediaType
-
Server sent event type.
- sse(String, Sse.Handler) - Method in interface org.jooby.Router
-
Add a server-sent event handler.
- sse(String, Sse.Handler1) - Method in interface org.jooby.Router
-
Add a server-sent event handler.
- Sse - Class in org.jooby
-
Server Sent Events
- Sse() - Constructor for class org.jooby.Sse
-
- Sse.Event - Class in org.jooby
-
Event representation of Server sent event.
- Sse.Handler - Interface in org.jooby
-
Server-sent event handler.
- Sse.Handler1 - Interface in org.jooby
-
Single argument event handler.
- SSIHandler - Class in org.jooby.handlers
-
server side include
- SSIHandler(String) - Constructor for class org.jooby.handlers.SSIHandler
-
- SSIHandler() - Constructor for class org.jooby.handlers.SSIHandler
-
- start() - Method in class org.jooby.Jooby
-
Start an application.
- start(String...) - Method in class org.jooby.Jooby
-
Start an application.
- start() - Method in interface org.jooby.spi.Server
-
Start the web server.
- startAsync(Executor, Runnable) - Method in interface org.jooby.spi.NativeRequest
-
Put the request in async mode.
- startedTasks() - Method in interface org.jooby.Env
-
- startTasks() - Method in interface org.jooby.Env
-
- status() - Method in class org.jooby.Response.Forwarding
-
- status(Status) - Method in class org.jooby.Response.Forwarding
-
- status(int) - Method in class org.jooby.Response.Forwarding
-
- status() - Method in interface org.jooby.Response
-
- status(Status) - Method in interface org.jooby.Response
-
Set the HTTP response status.
- status(int) - Method in interface org.jooby.Response
-
Set the HTTP response status.
- status(Status) - Method in class org.jooby.Result
-
Set response status.
- status(int) - Method in class org.jooby.Result
-
Set response status.
- status() - Method in class org.jooby.Result
-
- Status - Class in org.jooby
-
HTTP status codes.
- statusCode() - Method in exception org.jooby.Err
-
- statusCode() - Method in interface org.jooby.spi.NativeResponse
-
- statusCode(int) - Method in interface org.jooby.spi.NativeResponse
-
Set the HTTP response status.
- stop() - Method in class org.jooby.Jooby
-
- stop() - Method in interface org.jooby.spi.Server
-
Stop the web server.
- stopTasks() - Method in interface org.jooby.Env
-
- store() - Method in class org.jooby.Session.Definition
-
- stream() - Method in class org.jooby.Asset.Forwarding
-
- stream() - Method in interface org.jooby.Asset
-
- subtype() - Method in class org.jooby.MediaType
-
- SUCCESS - Static variable in interface org.jooby.WebSocket
-
Default success callback.
- SWITCHING_PROTOCOLS - Static variable in class org.jooby.Status
-
101 Switching Protocols
.
- TEMPORARY_REDIRECT - Static variable in class org.jooby.Status
-
307 Temporary Redirect
.
- tempRedirect(String) - Static method in class org.jooby.Results
-
Redirect to the given url with status code defaulting to
Status.FOUND
.
- terminate() - Method in interface org.jooby.spi.NativeWebSocket
-
Terminate immediately a connection.
- terminate() - Method in interface org.jooby.WebSocket
-
Immediately shuts down the connection.
- text - Static variable in class org.jooby.MediaType
-
Any text media type.
- text() - Method in interface org.jooby.Parser.BodyReference
-
Returns the HTTP body as text.
- throwBootstrapException() - Method in class org.jooby.Jooby
-
If the application fails to start all the services are shutdown.
- timestamp() - Method in class org.jooby.Request.Forwarding
-
- timestamp() - Method in interface org.jooby.Request
-
Request timestamp.
- timezone(ZoneId) - Method in class org.jooby.Jooby
-
Set application time zone.
- to(Class<T>) - Method in interface org.jooby.Mutant
-
Convert a raw value to the given type.
- to(TypeLiteral<T>) - Method in interface org.jooby.Mutant
-
Convert a raw value to the given type.
- to(Class<T>, String) - Method in interface org.jooby.Mutant
-
Convert a raw value to the given type.
- to(Class<T>, MediaType) - Method in interface org.jooby.Mutant
-
Convert a raw value to the given type.
- to(TypeLiteral<T>, String) - Method in interface org.jooby.Mutant
-
Convert a raw value to the given type.
- to(TypeLiteral<T>, MediaType) - Method in interface org.jooby.Mutant
-
Convert a raw value to the given type.
- toCookie() - Method in class org.jooby.Cookie.Definition
-
Produces a cookie from current definition.
- toEnum(Class<T>) - Method in interface org.jooby.Mutant
-
- toEnum(T) - Method in interface org.jooby.Mutant
-
- tokenGen(Function<Request, String>) - Method in class org.jooby.handlers.CsrfHandler
-
Set a custom token generator.
- toList(Class<T>) - Method in interface org.jooby.Mutant
-
- toList() - Method in interface org.jooby.Mutant
-
- toMap() - Method in exception org.jooby.Err
-
Produces a friendly view of the err, resulting map has these attributes:
- toMap(boolean) - Method in exception org.jooby.Err
-
Produces a friendly view of the err, resulting map has these attributes:
- toMap() - Method in interface org.jooby.Mutant
-
A map view of this mutant.
- TOO_BIG_TO_PROCESS - Static variable in interface org.jooby.WebSocket
-
"1009 indicates that an endpoint is terminating the connection because it has
received a message that is too big for it to process."
- TOO_MANY_REQUESTS - Static variable in class org.jooby.Status
-
429 Too Many Requests
.
- toOptional() - Method in interface org.jooby.Mutant
-
- toOptional(Class<T>) - Method in interface org.jooby.Mutant
-
- toSet() - Method in interface org.jooby.Mutant
-
- toSet(Class<T>) - Method in interface org.jooby.Mutant
-
- toSortedSet() - Method in interface org.jooby.Mutant
-
- toSortedSet(Class<T>) - Method in interface org.jooby.Mutant
-
- toString() - Method in class org.jooby.Cookie.Definition
-
- toString() - Method in class org.jooby.MediaType
-
- toString() - Method in class org.jooby.Request.Forwarding
-
- toString() - Method in class org.jooby.Response.Forwarding
-
- toString() - Method in class org.jooby.Route.Definition
-
- toString() - Method in class org.jooby.Route.Forwarding
-
- toString() - Method in class org.jooby.Status
-
Return a string representation of this status code.
- toString() - Method in class org.jooby.View
-
- toString() - Method in class org.jooby.WebSocket.CloseStatus
-
- toString() - Method in class org.jooby.WebSocket.Definition
-
- trace(String, Route.Handler) - Method in class org.jooby.Jooby
-
- trace(String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- trace(String, Route.ZeroArgHandler) - Method in class org.jooby.Jooby
-
- trace(String, Route.Filter) - Method in class org.jooby.Jooby
-
- trace() - Method in class org.jooby.Jooby
-
- TRACE - Annotation Type in org.jooby.mvc
-
HTTP TRACE verb for mvc routes.
- TRACE - Static variable in interface org.jooby.Route
-
- trace(String, Route.Handler) - Method in interface org.jooby.Router
-
Append a route that supports HTTP TRACE method:
- trace(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP TRACE method:
- trace(String, Route.ZeroArgHandler) - Method in interface org.jooby.Router
-
Append route that supports HTTP TRACE method:
- trace(String, Route.Filter) - Method in interface org.jooby.Router
-
Append a route that supports HTTP TRACE method:
- trace() - Method in interface org.jooby.Router
-
Append a default trace implementation under the given path.
- type() - Method in class org.jooby.Asset.Forwarding
-
- type() - Method in interface org.jooby.Asset
-
- type() - Method in class org.jooby.MediaType
-
- type() - Method in interface org.jooby.Parser.Context
-
Content Type header, if current context was bind to a HTTP body via
Request.body()
.
- type() - Method in interface org.jooby.Parser.ParamReference
-
- type(String) - Method in interface org.jooby.Renderer.Context
-
Set the Content-Type
header IF and ONLY IF, no Content-Type
was set
yet.
- type(MediaType) - Method in interface org.jooby.Renderer.Context
-
Set the Content-Type
header IF and ONLY IF, no Content-Type
was set
yet.
- type() - Method in class org.jooby.Request.Forwarding
-
- type() - Method in interface org.jooby.Request
-
- type() - Method in class org.jooby.Response.Forwarding
-
- type(MediaType) - Method in class org.jooby.Response.Forwarding
-
- type(String) - Method in class org.jooby.Response.Forwarding
-
- type() - Method in interface org.jooby.Response
-
- type(MediaType) - Method in interface org.jooby.Response
-
Set the response media type and set the Content-Type
header.
- type(String) - Method in interface org.jooby.Response
-
Set the response media type and set the Content-Type
header.
- type(MediaType) - Method in class org.jooby.Result
-
Set the content type of this content.
- type(String) - Method in class org.jooby.Result
-
Set the content type of this content.
- type() - Method in class org.jooby.Result
-
- type() - Method in class org.jooby.Sse.Event
-
Event media type helps to render or format event data.
- type(MediaType) - Method in class org.jooby.Sse.Event
-
Set event media type.
- type(String) - Method in class org.jooby.Sse.Event
-
Set event media type.
- type() - Method in interface org.jooby.Upload
-
- UNAUTHORIZED - Static variable in class org.jooby.Status
-
401 Unauthorized
.
- unerrpath(String) - Static method in interface org.jooby.Route
-
Remove invalid path mark when present.
- UNPROCESSABLE_ENTITY - Static variable in class org.jooby.Status
-
422 Unprocessable Entity
.
- unset(Key<T>) - Method in interface org.jooby.Env
-
Remove a global object.
- unset(String) - Method in class org.jooby.Request.Forwarding
-
- unset(String) - Method in interface org.jooby.Request
-
Remove a request local attribute.
- unset(String) - Method in interface org.jooby.Session
-
Remove a local value (if any) from session locals.
- unset() - Method in interface org.jooby.Session
-
Unset/remove all the session data.
- unset(String) - Method in interface org.jooby.WebSocket
-
Clear/remove a web socket attribute.
- unset() - Method in interface org.jooby.WebSocket
-
Clear/reset all the web socket attributes.
- unsign(String, String) - Static method in class org.jooby.Cookie.Signature
-
- UNSUPPORTED_MEDIA_TYPE - Static variable in class org.jooby.Status
-
415 Unsupported Media Type
.
- unwrap(Request) - Static method in class org.jooby.Request.Forwarding
-
Unwrap a request in order to find out the target instance.
- unwrap(Response) - Static method in class org.jooby.Response.Forwarding
-
Unwrap a response in order to find out the target instance.
- unwrap(Route) - Static method in class org.jooby.Route.Forwarding
-
Find a target route.
- upgrade(Class<T>) - Method in interface org.jooby.spi.NativeRequest
-
Upgrade the request to something else...like a web socket.
- UPGRADE_REQUIRED - Static variable in class org.jooby.Status
-
426 Upgrade Required
.
- Upload - Interface in org.jooby
-
- URL_DECODER - Static variable in interface org.jooby.Cookie
-
Decode a cookie value using, like: k=v
, multiple k=v
pair are
separated by &
.
- URL_ENCODER - Static variable in interface org.jooby.Cookie
-
Encode a hash into cookie value, like: k1=v1&...&kn=vn
.
- use(Jooby) - Method in class org.jooby.Jooby
-
- use(String, Jooby) - Method in class org.jooby.Jooby
-
- use(String, Route.Filter) - Method in class org.jooby.Jooby
-
- use(String, String, Route.Filter) - Method in class org.jooby.Jooby
-
- use(String, String, Route.Handler) - Method in class org.jooby.Jooby
-
- use(String, Route.Handler) - Method in class org.jooby.Jooby
-
- use(String, Route.OneArgHandler) - Method in class org.jooby.Jooby
-
- use(Class<?>) - Method in class org.jooby.Jooby
-
- use(String, Class<?>) - Method in class org.jooby.Jooby
-
- use(Jooby.Module) - Method in class org.jooby.Jooby
-
- use(Config) - Method in class org.jooby.Jooby
-
Set the application configuration object.
- use(Jooby) - Method in interface org.jooby.Router
-
Import content from provide application (routes, parsers/renderers, start/stop callbacks, ...
- use(String, Jooby) - Method in interface org.jooby.Router
-
Import content from provide application (routes, parsers/renderers, start/stop callbacks, ...
- use(String, Route.Filter) - Method in interface org.jooby.Router
-
Append a new filter that matches any method under the given path.
- use(String, String, Route.Filter) - Method in interface org.jooby.Router
-
Append a new filter that matches the given method and path.
- use(String, String, Route.Handler) - Method in interface org.jooby.Router
-
Append a new route handler that matches the given method and path.
- use(String, Route.Handler) - Method in interface org.jooby.Router
-
Append a new route handler that matches any method under the given path.
- use(String, Route.OneArgHandler) - Method in interface org.jooby.Router
-
Append a new route handler that matches any method under the given path.
- use(Class<?>) - Method in interface org.jooby.Router
-
Append MVC routes from a controller like class:
- use(String, Class<?>) - Method in interface org.jooby.Router
-
Append MVC routes from a controller like class:
- USE_PROXY - Static variable in class org.jooby.Status
-
305 Use Proxy
.
- WatchEventModifier - Class in org.jooby.spi
-
- WatchEventModifier() - Constructor for class org.jooby.spi.WatchEventModifier
-
- WebSocket - Interface in org.jooby
-
WebSockets
- WebSocket.CloseStatus - Class in org.jooby
-
- WebSocket.Definition - Class in org.jooby
-
Configure a web socket.
- WebSocket.Handler<T> - Interface in org.jooby
-
- WebSocket.OnClose - Interface in org.jooby
-
- WebSocket.OnError - Interface in org.jooby
-
Web socket err callback.
- WebSocket.OnMessage<T> - Interface in org.jooby
-
Web socket message callback.
- WebSocket.OnOpen - Interface in org.jooby
-
A web socket connect handler.
- WebSocket.OnOpen1 - Interface in org.jooby
-
A web socket connect handler.
- WebSocket.SuccessCallback - Interface in org.jooby
-
Web socket success callback.
- when(String, Supplier<Object>) - Method in class org.jooby.Result
-
Add a when clause for a custom result for the given media-type.
- when(MediaType, Supplier<Object>) - Method in class org.jooby.Result
-
Add a when clause for a custom result for the given media-type.
- when(String, Supplier<Object>) - Static method in class org.jooby.Results
-
Performs content-negotiation on the Accept HTTP header on the request object.
- when(MediaType, Supplier<Object>) - Static method in class org.jooby.Results
-
Performs content-negotiation on the Accept HTTP header on the request object.
- with(Runnable) - Method in class org.jooby.Jooby
-
- with(Object) - Static method in class org.jooby.Results
-
Set the result
- with(Object, Status) - Static method in class org.jooby.Results
-
Set the result
- with(Object, int) - Static method in class org.jooby.Results
-
Set the result
- with(Status) - Static method in class org.jooby.Results
-
Set the response status.
- with(int) - Static method in class org.jooby.Results
-
Set the response status.
- with(Runnable) - Method in interface org.jooby.Router
-
Apply common configuration and attributes to a group of routes:
- withExposedHeaders(String...) - Method in class org.jooby.handlers.Cors
-
Set the list of exposed headers.
- withExposedHeaders(List<String>) - Method in class org.jooby.handlers.Cors
-
Set the list of exposed headers.
- withHeaders(String...) - Method in class org.jooby.handlers.Cors
-
Set one or more allowed headers.
- withHeaders(List<String>) - Method in class org.jooby.handlers.Cors
-
Set one or more allowed headers.
- withMaxAge(int) - Method in class org.jooby.handlers.Cors
-
Set the preflight max age header.
- withMethods(String...) - Method in class org.jooby.handlers.Cors
-
Set one or more allowed methods.
- withMethods(List<String>) - Method in class org.jooby.handlers.Cors
-
Set one or more allowed methods.
- withOrigin(String...) - Method in class org.jooby.handlers.Cors
-
Set the allowed origins.
- withOrigin(List<String>) - Method in class org.jooby.handlers.Cors
-
Set the allowed origins.
- withoutCreds() - Method in class org.jooby.handlers.Cors
-
- writeTo(OutputStream) - Method in interface org.jooby.Parser.BodyReference
-
Write the content to the given output stream.
- ws(String, WebSocket.OnOpen) - Method in class org.jooby.Jooby
-
- ws(String, Class<? extends WebSocket.OnMessage<T>>) - Method in class org.jooby.Jooby
-
- ws(String, WebSocket.OnOpen1) - Method in interface org.jooby.Router
-
Append a new WebSocket handler under the given path.
- ws(String, WebSocket.OnOpen) - Method in interface org.jooby.Router
-
Append a new WebSocket handler under the given path.
- ws(Class<? extends WebSocket.OnMessage<T>>) - Method in interface org.jooby.Router
-
Append a new WebSocket handler under the given path.
- ws(String, Class<? extends WebSocket.OnMessage<T>>) - Method in interface org.jooby.Router
-
Append a new WebSocket handler under the given path.