Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W X _ 

A

ACCEPT - Static variable in interface io.jooby.Context
Constant for Accept header.
accept(MediaType) - Method in interface io.jooby.Context
True if the given type matches the `Accept` header.
accept(List<MediaType>) - Method in interface io.jooby.Context
Check if the accept type list matches the given produces list and return the most specific media type from produces list.
accept(MediaType) - Method in interface io.jooby.DefaultContext
 
accept(List<MediaType>) - Method in interface io.jooby.DefaultContext
 
accept(MediaType) - Method in class io.jooby.ForwardingContext
 
accept(List<MediaType>) - Method in class io.jooby.ForwardingContext
 
accept(MediaType) - Method in interface io.jooby.MessageEncoder
Execute this renderer only if the Accept header matches the content-type parameter.
ACCEPT - Static variable in class io.jooby.Route
Handler for StatusCode.NOT_ACCEPTABLE responses.
accept(V) - Method in interface io.jooby.SneakyThrows.Consumer
 
accept(V1, V2) - Method in interface io.jooby.SneakyThrows.Consumer2
Performs this operation on the given argument.
accept(V1, V2, V3) - Method in interface io.jooby.SneakyThrows.Consumer3
Performs this operation on the given arguments and throw any exception using SneakyThrows.propagate(Throwable) method.
accept(V1, V2, V3, V4) - Method in interface io.jooby.SneakyThrows.Consumer4
Performs this operation on the given arguments and throw any exception using SneakyThrows.propagate(Throwable) method.
accept(V1, V2, V3, V4, V5) - Method in interface io.jooby.SneakyThrows.Consumer5
Performs this operation on the given arguments and throw any exception using SneakyThrows.propagate(Throwable) method.
accept(V1, V2, V3, V4, V5, V6) - Method in interface io.jooby.SneakyThrows.Consumer6
Performs this operation on the given arguments and throw any exception using SneakyThrows.propagate(Throwable) method.
accept(V1, V2, V3, V4, V5, V6, V7) - Method in interface io.jooby.SneakyThrows.Consumer7
Performs this operation on the given arguments and throw any exception using SneakyThrows.propagate(Throwable) method.
accept(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface io.jooby.SneakyThrows.Consumer8
Performs this operation on the given arguments and throw any exception using SneakyThrows.propagate(Throwable) method.
ACCEPTED - Static variable in class io.jooby.StatusCode
202 Accepted.
ACCEPTED_CODE - Static variable in class io.jooby.StatusCode
202 Accepted.
after(Route.After) - Method in class io.jooby.Jooby
 
after(Route.After) - Method in interface io.jooby.Router
Add an after route decorator to the route pipeline.
ALL - Static variable in class io.jooby.MediaType
ALL.
all - Static variable in class io.jooby.MediaType
ALL.
allowHeader(String...) - Method in class io.jooby.Cors
True if all the headers are allowed.
allowHeaders(List<String>) - Method in class io.jooby.Cors
True if all the headers are allowed.
allowMethod(String) - Method in class io.jooby.Cors
True if the method is allowed.
allowOrigin(String) - Method in class io.jooby.Cors
Test if the given origin is allowed or not.
ALREADY_REPORTED - Static variable in class io.jooby.StatusCode
208 Already Reported.
ALREADY_REPORTED_CODE - Static variable in class io.jooby.StatusCode
208 Already Reported.
anyHeader() - Method in class io.jooby.Cors
 
anyOrigin() - Method in class io.jooby.Cors
 
apply(Context) - Method in class io.jooby.AssetHandler
 
apply(Context) - Method in interface io.jooby.ByteRange
For partial request this method set the following byte range response headers: - Accept-Ranges - Content-Range - Content-Length For not satisfiable requests: - Throws a StatusCode.REQUESTED_RANGE_NOT_SATISFIABLE Otherwise this method does nothing.
apply(InputStream) - Method in interface io.jooby.ByteRange
For partial requests this method generates a new truncated input stream.
apply(Route.Handler) - Method in class io.jooby.CorsHandler
 
apply(Context, Throwable, StatusCode) - Method in interface io.jooby.ErrorHandler
Produces an error response using the given exception and status code.
apply(Route.Handler) - Method in class io.jooby.HeadHandler
 
apply(Context, Object) - Method in interface io.jooby.Route.After
Execute application logic on a route response.
apply(Context) - Method in interface io.jooby.Route.Before
Execute application code before next handler.
apply(Route.Handler) - Method in interface io.jooby.Route.Decorator
Chain the decorator within next handler.
apply(Context) - Method in interface io.jooby.Route.Handler
Execute application code.
apply(V) - Method in interface io.jooby.SneakyThrows.Function
Apply this function to the given argument and produces a result.
apply(V1, V2) - Method in interface io.jooby.SneakyThrows.Function2
Apply this function to the given argument and produces a result.
apply(V1, V2, V3) - Method in interface io.jooby.SneakyThrows.Function3
Apply this function to the given argument and produces a result.
apply(V1, V2, V3, V4) - Method in interface io.jooby.SneakyThrows.Function4
Apply this function to the given argument and produces a result.
apply(V1, V2, V3, V4, V5) - Method in interface io.jooby.SneakyThrows.Function5
Apply this function to the given argument and produces a result.
apply(V1, V2, V3, V4, V5, V6) - Method in interface io.jooby.SneakyThrows.Function6
Apply this function to the given argument and produces a result.
apply(V1, V2, V3, V4, V5, V6, V7) - Method in interface io.jooby.SneakyThrows.Function7
Apply this function to the given argument and produces a result.
apply(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface io.jooby.SneakyThrows.Function8
Apply this function to the given argument and produces a result.
apply(Route.Handler) - Method in class io.jooby.TraceHandler
 
array(String, List<String>) - Static method in interface io.jooby.Value
Creates a sequence/array of values.
Asset - Interface in io.jooby
Represent an static resource file.
AssetHandler - Class in io.jooby
Handler for static resources represented by the Asset contract.
AssetHandler(String, AssetSource...) - Constructor for class io.jooby.AssetHandler
Creates a new asset handler that fallback to the given fallback asset when the asset is not found.
AssetHandler(AssetSource...) - Constructor for class io.jooby.AssetHandler
Creates a new asset handler.
assets(String, Path) - Method in interface io.jooby.Router
Add a static resource handler.
assets(String, String) - Method in interface io.jooby.Router
Add a static resource handler.
assets(String) - Method in interface io.jooby.Router
Add a static resource handler.
assets(String, AssetSource...) - Method in interface io.jooby.Router
Add a static resource handler.
assets(String, AssetHandler) - Method in interface io.jooby.Router
Add a static resource handler.
AssetSource - Interface in io.jooby
An asset source is a collection or provider of Asset.
AttachedFile - Class in io.jooby
Represent a file attachment response.
AttachedFile(InputStream, String, long) - Constructor for class io.jooby.AttachedFile
Creates a new file attachment.
AttachedFile(InputStream, String) - Constructor for class io.jooby.AttachedFile
Creates a new file attachment.
AttachedFile(Path, String) - Constructor for class io.jooby.AttachedFile
Creates a new file attachment.
AttachedFile(Path) - Constructor for class io.jooby.AttachedFile
Creates a new file attachment.
attribute(String) - Method in interface io.jooby.Context
Get an attribute by his key.
attribute(String, Object) - Method in interface io.jooby.Context
Set an application attribute.
attribute(String) - Method in interface io.jooby.DefaultContext
Get an attribute by his key.
attribute(String, Object) - Method in interface io.jooby.DefaultContext
 
attribute(String) - Method in class io.jooby.ForwardingContext
 
attribute(String, Object) - Method in class io.jooby.ForwardingContext
 
attribute(String, Object) - Method in class io.jooby.Jooby
 
attribute(String) - Method in class io.jooby.Jooby
 
attribute(String) - Method in class io.jooby.Route
Retrieve value of this specific Attribute set to this route.
attribute(String, Object) - Method in class io.jooby.Route
Add one or more attributes applied to this route.
attribute(String) - Method in interface io.jooby.Router
Get an attribute by his key.
attribute(String, Object) - Method in interface io.jooby.Router
Set an application attribute.

B

BAD_GATEWAY - Static variable in class io.jooby.StatusCode
502 Bad Gateway.
BAD_GATEWAY_CODE - Static variable in class io.jooby.StatusCode
502 Bad Gateway.
BAD_REQUEST - Static variable in class io.jooby.StatusCode
400 Bad Request.
BAD_REQUEST_CODE - Static variable in class io.jooby.StatusCode
400 Bad Request.
BadRequestException - Exception in io.jooby
Specific exception for bad request.
BadRequestException(String) - Constructor for exception io.jooby.BadRequestException
Creates a bad request exception.
BadRequestException(String, Throwable) - Constructor for exception io.jooby.BadRequestException
Creates a bad request exception.
BANDWIDTH_LIMIT_EXCEEDED - Static variable in class io.jooby.StatusCode
509 Bandwidth Limit Exceeded.
BANDWIDTH_LIMIT_EXCEEDED_CODE - Static variable in class io.jooby.StatusCode
509 Bandwidth Limit Exceeded.
Base() - Constructor for class io.jooby.Server.Base
 
before(Route.Before) - Method in class io.jooby.Jooby
 
before(Route.Before) - Method in interface io.jooby.Router
Add a before route decorator to the route pipeline.
bind(Object, T) - Static method in class io.jooby.RequestScope
Binds the given value to the current context for its key.
Body - Interface in io.jooby
HTTP body value.
body() - Method in interface io.jooby.Context
HTTP body which provides access to body content.
body(Reified<T>) - Method in interface io.jooby.Context
Convert the HTTP body to the given type.
body(Reified<T>, MediaType) - Method in interface io.jooby.Context
Convert the HTTP body to the given type.
body(Class<T>) - Method in interface io.jooby.Context
Convert the HTTP body to the given type.
body(Class<T>, MediaType) - Method in interface io.jooby.Context
Convert the HTTP body to the given type.
body(Reified<T>) - Method in interface io.jooby.DefaultContext
 
body(Reified<T>, MediaType) - Method in interface io.jooby.DefaultContext
 
body(Class<T>) - Method in interface io.jooby.DefaultContext
 
body(Class<T>, MediaType) - Method in interface io.jooby.DefaultContext
 
body() - Method in class io.jooby.ForwardingContext
 
body(Reified<T>) - Method in class io.jooby.ForwardingContext
 
body(Reified<T>, MediaType) - Method in class io.jooby.ForwardingContext
 
body(Class<T>) - Method in class io.jooby.ForwardingContext
 
body(Class<T>, MediaType) - Method in class io.jooby.ForwardingContext
 
booleanValue() - Method in interface io.jooby.Value
Convert this value to boolean (if possible).
booleanValue(boolean) - Method in interface io.jooby.Value
Convert this value to boolean (if possible) or fallback to given value when missing.
byFile(File) - Static method in class io.jooby.MediaType
Mediatype by file extension.
byFile(Path) - Static method in class io.jooby.MediaType
Mediatype by file extension.
byFile(String) - Static method in class io.jooby.MediaType
Mediatype by file extension.
byFileExtension(String) - Static method in class io.jooby.MediaType
Mediatype by file extension.
ByteRange - Interface in io.jooby
Utility class to compute single byte range requests when response content length is known.
bytes() - Method in interface io.jooby.Body
HTTP body as byte array.
bytes() - Method in interface io.jooby.FileUpload
Content as byte array.
BYTES_RANGE - Static variable in interface io.jooby.ByteRange
Byte range prefix.
byteValue() - Method in interface io.jooby.Value
Convert this value to byte (if possible).
byteValue(byte) - Method in interface io.jooby.Value
Convert this value to byte (if possible) or fallback to given value when missing.

C

channel() - Method in interface io.jooby.Body
Body as readable channel.
CHECKPOINT - Static variable in class io.jooby.StatusCode
103 Checkpoint.
CHECKPOINT_CODE - Static variable in class io.jooby.StatusCode
103 Checkpoint.
clear() - Method in interface io.jooby.Session
Remove all attributes.
clone() - Method in class io.jooby.Cookie
Copy all state from this cookie and creates a new cookie.
close() - Method in interface io.jooby.Sender
Close the sender.
compareTo(MediaType) - Method in class io.jooby.MediaType
 
completableFuture(Type) - Static method in class io.jooby.Reified
Creates a CompletableFuture type literal.
configure(List<String>) - Static method in class io.jooby.LogConfigurer
Initializes the logback.configurationFile system property when a logback[.env].xml file is found at user.dir/conf directory or user.dir.
CONFLICT - Static variable in class io.jooby.StatusCode
409 Conflict.
CONFLICT_CODE - Static variable in class io.jooby.StatusCode
409 Conflict.
CONNECT - Annotation Type in io.jooby.annotations
HTTP CONNECT verb for mvc routes.
connectionLost(Throwable) - Static method in interface io.jooby.Server
Test whenever the given exception is a connection-lost.
Consumes - Annotation Type in io.jooby.annotations
Defines what media types a route can consume.
consumes(MediaType...) - Method in class io.jooby.Route
Add one or more request types (format) consumed by this route.
Context - Interface in io.jooby
HTTP context allows you to interact with the HTTP Request and manipulate the HTTP Response.
CONTINUE - Static variable in class io.jooby.StatusCode
100 Continue.
CONTINUE_CODE - Static variable in class io.jooby.StatusCode
100 Continue.
cookie(String) - Method in interface io.jooby.Context
Get a cookie matching the given name.
Cookie - Class in io.jooby
Response cookie implementation.
Cookie(String, String) - Constructor for class io.jooby.Cookie
Creates a response cookie.
Cookie(String) - Constructor for class io.jooby.Cookie
Creates a response cookie without a value.
cookie(String) - Method in interface io.jooby.DefaultContext
 
cookie(String) - Method in class io.jooby.ForwardingContext
 
cookie(Cookie) - Static method in interface io.jooby.SessionId
Create a cookie-based Session ID.
cookieMap() - Method in interface io.jooby.Context
Request cookies.
cookieMap() - Method in class io.jooby.ForwardingContext
 
CookieParam - Annotation Type in io.jooby.annotations
Allow access to query parameter from MVC route method.
Cors - Class in io.jooby
Cross-origin resource sharing
Cors() - Constructor for class io.jooby.Cors
Creates default Cors.
CorsHandler - Class in io.jooby
Handle preflight and simple CORS requests.
CorsHandler(Cors) - Constructor for class io.jooby.CorsHandler
Creates a new CorsHandler.
CorsHandler() - Constructor for class io.jooby.CorsHandler
Creates a new CorsHandler with default options.
create(Path) - Static method in interface io.jooby.Asset
Creates a file system asset.
create(String, URL) - Static method in interface io.jooby.Asset
Creates a URL asset with the given path.
create(ClassLoader, String) - Static method in interface io.jooby.AssetSource
Classpath asset source.
create(Path) - Static method in interface io.jooby.AssetSource
Creates a source from given location.
create(Context, Cookie) - Static method in interface io.jooby.FlashMap
Creates a new flash-scope using the given cookie.
create() - Static method in interface io.jooby.Formdata
Creates a formdata object.
create() - Static method in interface io.jooby.Multipart
Creates a new multipart object.
create(String) - Static method in interface io.jooby.QueryString
Query string hash value.
create(Route.Handler) - Method in interface io.jooby.ResponseHandler
Creates a handler for a response type.
create(String) - Static method in interface io.jooby.Session
Creates a new session.
create(Context, Session) - Static method in interface io.jooby.Session
Creates a new session and attach it to current request.
create(String, List<String>) - Static method in interface io.jooby.Value
Creates a value that fits better with the given values.
create(String, String) - Static method in interface io.jooby.Value
Creates a value that fits better with the given values.
createApp(String[], ExecutionMode, Class<? extends Jooby>) - Static method in class io.jooby.Jooby
Setup default environment, logging (logback or log4j2) and run application.
createApp(String[], ExecutionMode, Supplier<Jooby>) - Static method in class io.jooby.Jooby
Setup default environment, logging (logback or log4j2) and run application.
CREATED - Static variable in class io.jooby.StatusCode
201 Created.
CREATED_CODE - Static variable in class io.jooby.StatusCode
201 Created.
CSS - Static variable in class io.jooby.MediaType
TEXT_CSS.
css - Static variable in class io.jooby.MediaType
TEXT_CSS.

D

decode(String) - Static method in class io.jooby.Cookie
Decode a cookie value using, like: k=v, multiple k=v pair are separated by &.
decode(Context, Type) - Method in interface io.jooby.MessageDecoder
Parse HTTP body into the given type.
decoder(MediaType) - Method in interface io.jooby.Context
Get a decoder for the given content type or get an StatusCode.UNSUPPORTED_MEDIA_TYPE.
decoder(MediaType) - Method in interface io.jooby.DefaultContext
 
decoder(MediaType) - Method in class io.jooby.ForwardingContext
 
decoder(MediaType, MessageDecoder) - Method in class io.jooby.Jooby
 
decoder(MediaType) - Method in class io.jooby.Route
MessageDecoder for given media type.
decoder(MediaType, MessageDecoder) - Method in interface io.jooby.Router
Register a decoder for the given content type.
decorator(Route.Decorator) - Method in class io.jooby.Jooby
 
decorator(Route.Decorator) - Method in interface io.jooby.Router
Add a route decorator to the route pipeline.
DEFAULT - Static variable in interface io.jooby.ErrorHandler
Default error handler with support for content-negotiation.
DEFAULT_PORT - Static variable in class io.jooby.ServerOptions
Default application port 8080 or the value of system property server.port.
DefaultContext - Interface in io.jooby
Like Context but with couple of default methods.
defaults() - Static method in class io.jooby.Environment
Creates a default configuration properties with some common values like: application.tmpdir, application.charset and pid (process ID).
DELETE - Annotation Type in io.jooby.annotations
HTTP DELETE verb for mvc routes.
DELETE - Static variable in interface io.jooby.Router
HTTP DELETE.
delete(String, Route.Handler) - Method in interface io.jooby.Router
Add a HTTP DELETE handler.
deleteSession(String) - Method in interface io.jooby.SessionStore
Delete a session from store.
deleteSessionId(Context, String) - Method in interface io.jooby.SessionId
Delete session ID in the web context.
destroy() - Method in interface io.jooby.FileUpload
Free resources, delete temporary file.
destroy() - Method in interface io.jooby.Session
Destroy/invalidates this session.
detach(Route.Handler) - Method in interface io.jooby.Context
Tells context that response will be generated form a different thread.
detach(Route.Handler) - Method in class io.jooby.ForwardingContext
 
Dispatch - Annotation Type in io.jooby.annotations
Dispatch operator for MVC routes.
dispatch(Runnable) - Method in interface io.jooby.Context
Dispatch context to a worker threads.
dispatch(Executor, Runnable) - Method in interface io.jooby.Context
Dispatch context to the given executor.
dispatch(Runnable) - Method in class io.jooby.ForwardingContext
 
dispatch(Executor, Runnable) - Method in class io.jooby.ForwardingContext
 
dispatch(Runnable) - Method in class io.jooby.Jooby
 
dispatch(Executor, Runnable) - Method in class io.jooby.Jooby
 
dispatch(Runnable) - Method in interface io.jooby.Router
Dispatch route pipeline to the Router.getWorker() worker thread pool.
dispatch(Executor, Runnable) - Method in interface io.jooby.Router
Dispatch route pipeline to the given executor.
doubleValue() - Method in interface io.jooby.Value
Convert this value to double (if possible).
doubleValue(double) - Method in interface io.jooby.Value
Convert this value to double (if possible) or fallback to given value when missing.

E

empty() - Static method in interface io.jooby.Body
Empty body.
encode(Map<String, String>) - Static method in class io.jooby.Cookie
Encode a hash into cookie value, like: k1=v1&...&kn=vn.
encode(Context, Object) - Method in interface io.jooby.MessageEncoder
MessageEncoder a value into a byte array or null if given object isn't supported it.
encode(Context, Object) - Method in interface io.jooby.TemplateEngine
 
encoder(MessageEncoder) - Method in class io.jooby.Jooby
 
encoder(MediaType, MessageEncoder) - Method in class io.jooby.Jooby
 
encoder(MessageEncoder) - Method in interface io.jooby.Router
Register a route response encoder.
encoder(MediaType, MessageEncoder) - Method in interface io.jooby.Router
Register a route response encoder.
entrySet() - Method in interface io.jooby.ServiceRegistry
Registered service entries.
Environment - Class in io.jooby
Application environment contains configuration object and active environment names.
Environment(ClassLoader, Config, String...) - Constructor for class io.jooby.Environment
Creates a new environment.
Environment(ClassLoader, Config, List<String>) - Constructor for class io.jooby.Environment
Creates a new environment.
EnvironmentOptions - Class in io.jooby
Available environment options.
EnvironmentOptions() - Constructor for class io.jooby.EnvironmentOptions
Creates environment options.
equals(Object) - Method in class io.jooby.MediaType
 
equals(Object) - Method in class io.jooby.Reified
 
equals(Object) - Method in class io.jooby.ServiceKey
 
equals(Object) - Method in class io.jooby.StatusCode
 
error(ErrorHandler) - Method in class io.jooby.Jooby
 
error(StatusCode, ErrorHandler) - Method in interface io.jooby.Router
Add a custom error handler that matches the given status code.
error(Class<? extends Throwable>, ErrorHandler) - Method in interface io.jooby.Router
Add a custom error handler that matches the given exception type.
error(Predicate<StatusCode>, ErrorHandler) - Method in interface io.jooby.Router
Add a custom error handler that matches the given predicate.
error(ErrorHandler) - Method in interface io.jooby.Router
Add a custom error handler.
errorCode(Class<? extends Throwable>, StatusCode) - Method in class io.jooby.Jooby
 
errorCode(Throwable) - Method in class io.jooby.Jooby
 
errorCode(Class<? extends Throwable>, StatusCode) - Method in interface io.jooby.Router
Map an exception type to a status code.
errorCode(Throwable) - Method in interface io.jooby.Router
Computes the status code for the given exception.
ErrorHandler - Interface in io.jooby
Catch and encode application errors.
errorMessage(Context, StatusCode) - Static method in interface io.jooby.ErrorHandler
Build a line error message that describe the current web context and the status code.
execute(Context) - Method in interface io.jooby.Router.Match
 
ExecutionMode - Enum in io.jooby
Execution mode.
executor(String, Executor) - Method in class io.jooby.Jooby
 
executor(String) - Method in interface io.jooby.Router
Get an executor from application registry.
executor(String, Executor) - Method in interface io.jooby.Router
Put an executor into the application registry.
EXPECTATION_FAILED - Static variable in class io.jooby.StatusCode
417 Expectation Failed.
EXPECTATION_FAILED_CODE - Static variable in class io.jooby.StatusCode
417 Expectation Failed.
Extension - Interface in io.jooby
Simple extension contract for adding and reusing commons application infrastructure components and/or integrate with external libraries.
extensions() - Method in interface io.jooby.TemplateEngine
Number of file extensions supported by the template engine.

F

FAILED_DEPENDENCY - Static variable in class io.jooby.StatusCode
424 Failed Dependency.
FAILED_DEPENDENCY_CODE - Static variable in class io.jooby.StatusCode
424 Failed Dependency.
FAVICON - Static variable in class io.jooby.Route
Favicon handler as a silent 404 error.
file(String) - Method in interface io.jooby.Context
A file upload that matches the given field name.
file(String) - Method in interface io.jooby.DefaultContext
 
file(String) - Method in class io.jooby.ForwardingContext
 
files() - Method in interface io.jooby.Context
All file uploads.
files(String) - Method in interface io.jooby.Context
All file uploads that matches the given field name.
files() - Method in interface io.jooby.DefaultContext
 
files(String) - Method in interface io.jooby.DefaultContext
 
files() - Method in class io.jooby.ForwardingContext
 
files(String) - Method in class io.jooby.ForwardingContext
 
FileUpload - Interface in io.jooby
File upload class, file upload are available when request body is encoded as MediaType.MULTIPART_FORMDATA.
findSession(String) - Method in interface io.jooby.SessionStore
Find an existing session by ID.
findSessionId(Context) - Method in interface io.jooby.SessionId
Find session ID.
flash() - Method in interface io.jooby.Context
Flash map.
flash(String) - Method in interface io.jooby.Context
Get a flash attribute.
flash() - Method in interface io.jooby.DefaultContext
 
flash(String) - Method in interface io.jooby.DefaultContext
Get a flash attribute.
flash() - Method in class io.jooby.ForwardingContext
 
flash(String) - Method in class io.jooby.ForwardingContext
 
FlashMap - Interface in io.jooby
Flash map.
FlashParam - Annotation Type in io.jooby.annotations
Allow access to flash parameter from MVC route method.
floatValue() - Method in interface io.jooby.Value
Convert this value to float (if possible).
floatValue(float) - Method in interface io.jooby.Value
Convert this value to float (if possible) or fallback to given value when missing.
FORBIDDEN - Static variable in class io.jooby.StatusCode
403 Forbidden.
FORBIDDEN_CODE - Static variable in class io.jooby.StatusCode
403 Forbidden.
form() - Method in interface io.jooby.Context
Formdata as Value.
form(String) - Method in interface io.jooby.Context
Form field that matches the given name.
form(Reified<T>) - Method in interface io.jooby.Context
Convert formdata to the given type.
form(Class<T>) - Method in interface io.jooby.Context
Convert formdata to the given type.
form(String) - Method in interface io.jooby.DefaultContext
 
form(Reified<T>) - Method in interface io.jooby.DefaultContext
 
form(Class<T>) - Method in interface io.jooby.DefaultContext
 
form() - Method in class io.jooby.ForwardingContext
 
form(String) - Method in class io.jooby.ForwardingContext
 
form(Reified<T>) - Method in class io.jooby.ForwardingContext
 
form(Class<T>) - Method in class io.jooby.ForwardingContext
 
FORM_URLENCODED - Static variable in class io.jooby.MediaType
FORM_URLENCODED.
Formdata - Interface in io.jooby
Formdata class for direct MVC parameter provisioning.
formMap() - Method in interface io.jooby.Context
Formdata as single-value map.
formMap() - Method in interface io.jooby.DefaultContext
 
formMap() - Method in class io.jooby.ForwardingContext
 
formMultimap() - Method in interface io.jooby.Context
Formdata as multi-value map.
formMultimap() - Method in interface io.jooby.DefaultContext
 
formMultimap() - Method in class io.jooby.ForwardingContext
 
FormParam - Annotation Type in io.jooby.annotations
Allow access to field or entire form from MVC route method.
formUrlencoded - Static variable in class io.jooby.MediaType
FORM_URLENCODED.
ForwardingContext - Class in io.jooby
Utility to class that helps to wrap and delegate to another context.
ForwardingContext(Context) - Constructor for class io.jooby.ForwardingContext
Creates a new forwarding context.
FOUND - Static variable in class io.jooby.StatusCode
302 Found.
FOUND_CODE - Static variable in class io.jooby.StatusCode
302 Found.
from(Config) - Static method in class io.jooby.Cors
Get cors options from application configuration file.
from(Config) - Static method in class io.jooby.ServerOptions
Creates server options from config object.

G

GATEWAY_TIMEOUT - Static variable in class io.jooby.StatusCode
504 Gateway Timeout.
GATEWAY_TIMEOUT_CODE - Static variable in class io.jooby.StatusCode
504 Gateway Timeout.
generateId() - Method in class io.jooby.SessionOptions
Generates a Session ID.
GET - Annotation Type in io.jooby.annotations
HTTP GET verb for mvc routes.
get(int) - Method in interface io.jooby.FileUpload
 
get(String) - Method in interface io.jooby.FileUpload
 
get(Type) - Static method in class io.jooby.Reified
Gets type literal for the given Type instance.
get(Class<T>) - Static method in class io.jooby.Reified
Gets type literal for the given Class instance.
get(Object) - Static method in class io.jooby.RequestScope
Get a previously bind value for the given key or null.
GET - Static variable in interface io.jooby.Router
HTTP GET.
get(String, Route.Handler) - Method in interface io.jooby.Router
Add a HTTP GET handler.
get(ServiceKey<T>) - Method in interface io.jooby.ServiceRegistry
Retrieve a service/resource by key.
get(Class<T>) - Method in interface io.jooby.ServiceRegistry
Retrieve a service/resource by key.
get(String) - Method in interface io.jooby.Session
Get a session attribute.
get() - Method in interface io.jooby.SneakyThrows.Supplier
Computes/retrieves a value.
get(int) - Method in interface io.jooby.Value
Get a value at the given position.
get(String) - Method in interface io.jooby.Value
Get a value that matches the given name.
getActiveNames() - Method in class io.jooby.Environment
Active environment names.
getActiveNames() - Method in class io.jooby.EnvironmentOptions
Active environment names or fallback and read them from system property: application.env.
getAfter() - Method in class io.jooby.Route
After filter or null.
getAttributes() - Method in interface io.jooby.Context
Context attributes (a.k.a request attributes).
getAttributes() - Method in class io.jooby.ForwardingContext
 
getAttributes() - Method in class io.jooby.Jooby
 
getAttributes() - Method in class io.jooby.Route
Attributes set to this route.
getAttributes() - Method in interface io.jooby.Router
Mutable map of application attributes.
getBasedir() - Method in class io.jooby.EnvironmentOptions
Base directory to use or null for default.
getBasePackage() - Method in class io.jooby.Jooby
Get base application package.
getBefore() - Method in class io.jooby.Route
Before pipeline or null.
getBufferSize() - Method in class io.jooby.ServerOptions
Server buffer size in bytes.
getCharset() - Method in class io.jooby.MediaType
Charset or null.
getClassLoader() - Method in class io.jooby.Environment
Application class loader.
getClassLoader() - Method in class io.jooby.EnvironmentOptions
Class loader.
getClassLoader(ClassLoader) - Method in class io.jooby.EnvironmentOptions
Class loader.
getClassLoader() - Method in class io.jooby.Jooby
Application class loader.
getConfig() - Method in class io.jooby.Environment
Application configuration.
getConfig() - Method in class io.jooby.Jooby
Application configuration.
getConsumes() - Method in class io.jooby.Route
Request types (format) consumed by this route.
getContentDisposition() - Method in class io.jooby.AttachedFile
Content disposition header.
getContentLength() - Method in interface io.jooby.ByteRange
New content length.
getContentRange() - Method in interface io.jooby.ByteRange
Value for Content-Range response header.
getContentType() - Method in interface io.jooby.Asset
 
getContentType() - Method in class io.jooby.AttachedFile
File content type.
getContentType() - Method in interface io.jooby.FileUpload
Content type of file upload.
getContextPath() - Method in interface io.jooby.Context
Get application context path (a.k.a as base path).
getContextPath() - Method in class io.jooby.Jooby
 
getContextPath() - Method in interface io.jooby.Router
Get application context path (a.k.a as base path).
getCreationTime() - Method in interface io.jooby.Session
Session creation time.
getDecoders() - Method in class io.jooby.Route
Route message decoder.
getDecorator() - Method in class io.jooby.Route
Decorator or null.
getDefaultHeaders() - Method in class io.jooby.ServerOptions
True if default headers: Date, Content-Type and Server are enabled.
getDomain() - Method in class io.jooby.Cookie
Cookie's domain.
getDomain(String) - Method in class io.jooby.Cookie
Get cookie's domain.
getEncoder() - Method in class io.jooby.Route
Route encoder.
getEnd() - Method in interface io.jooby.ByteRange
End range or -1.
getEnvironment() - Method in class io.jooby.Jooby
Application environment.
getErrorHandler() - Method in class io.jooby.Jooby
 
getErrorHandler() - Method in interface io.jooby.Router
Get the error handler.
getEtag() - Method in interface io.jooby.Asset
Computes a weak e-tag value from asset.
getExecutionMode() - Method in class io.jooby.Jooby
Application execution mode.
getExposedHeaders() - Method in class io.jooby.Cors
 
getFileName() - Method in class io.jooby.AttachedFile
File name.
getFilename() - Method in class io.jooby.EnvironmentOptions
Configuration file name.
getFileName() - Method in interface io.jooby.FileUpload
Name of file upload.
getFileSize() - Method in class io.jooby.AttachedFile
File size or -1 if unknown.
getFileSize() - Method in interface io.jooby.FileUpload
File size.
getFlashCookie() - Method in class io.jooby.Jooby
 
getFlashCookie() - Method in interface io.jooby.Router
Name of the flash cookie.
getGzip() - Method in class io.jooby.ServerOptions
True if gzip is enabled.
getHandle() - Method in class io.jooby.Route
Handler instance which might or might not be the same as Route.getHandler().
getHandler() - Method in class io.jooby.Route
Route handler.
getHeaders() - Method in class io.jooby.Cors
 
getHost() - Method in interface io.jooby.Context
The fully qualified name of the resource being requested, as obtained from the Host HTTP header.
getHost() - Method in interface io.jooby.DefaultContext
 
getHost() - Method in class io.jooby.ForwardingContext
 
getId() - Method in interface io.jooby.Session
Session ID.
getIgnoreCase() - Method in class io.jooby.RouterOptions
Indicates whenever routing algorithm does case-sensitive matching or not on incoming request path.
getIgnoreTrailingSlash() - Method in class io.jooby.RouterOptions
Indicates whenever a trailing slash is ignored or not on incoming request path.
getIoThreads() - Method in class io.jooby.ServerOptions
Number of IO threads used by the server.
getIoThreads(int) - Method in class io.jooby.ServerOptions
Number of IO threads used by the server.
getLastAccessedTime() - Method in interface io.jooby.Session
Session last accessed time.
getLastModified() - Method in interface io.jooby.Asset
 
getLog() - Method in class io.jooby.Jooby
 
getLog() - Method in interface io.jooby.Router
Application logger.
getMaxAge() - Method in class io.jooby.Cookie
Max age value: - -1: indicates a browser session.
getMaxAge() - Method in class io.jooby.Cors
 
getMaxRequestSize() - Method in class io.jooby.ServerOptions
Maximum request size in bytes.
getMethod() - Method in interface io.jooby.Context
HTTP method in upper-case form.
getMethod() - Method in class io.jooby.ForwardingContext
 
getMethod() - Method in class io.jooby.Route
HTTP method.
getMethods() - Method in class io.jooby.Cors
 
getModel() - Method in class io.jooby.ModelAndView
View data (a.k.a as model).
getName() - Method in class io.jooby.Cookie
Cookie's name.
getName() - Method in exception io.jooby.MissingValueException
Parameter/attribute name.
getName() - Method in class io.jooby.ServiceKey
Resource name or null.
getName() - Method in exception io.jooby.TypeMismatchException
Parameter/attribute name.
getOptions() - Method in interface io.jooby.Server
Get server options.
getOrigin() - Method in class io.jooby.Cors
An origin must be a "*" (any origin), a domain name (like, http://foo.com) and/or a regex (like, http://*.domain.com).
getOrNull(ServiceKey<T>) - Method in interface io.jooby.ServiceRegistry
Retrieve an existing service or null if not exists.
getOrNull(Class<T>) - Method in interface io.jooby.ServiceRegistry
Retrieve an existing service or null if not exists.
getParameter(String) - Method in class io.jooby.MediaType
Get a parameter that matches the given name or null.
getParameterized(Type, Type...) - Static method in class io.jooby.Reified
Gets type literal for the parameterized type represented by applying typeArguments to rawType.
getPath() - Method in class io.jooby.Cookie
Cookie's path.
getPath(String) - Method in class io.jooby.Cookie
Cookie's path.
getPathKeys() - Method in class io.jooby.Route
Path keys.
getPattern() - Method in class io.jooby.Route
Path pattern.
getPipeline() - Method in class io.jooby.Route
Route pipeline.
getPort() - Method in class io.jooby.ServerOptions
Server HTTP port.
getProduces() - Method in class io.jooby.Route
Response types (format) produces by this route.
getProperties(String) - Method in class io.jooby.Environment
List all the properties under the given key.
getProperties(String, String) - Method in class io.jooby.Environment
List all the properties under the given key.
getProperty(String, String) - Method in class io.jooby.Environment
Get a property under the given key or use the given default value when missing.
getProperty(String) - Method in class io.jooby.Environment
Get a property under the given key or null when missing.
getProtocol() - Method in interface io.jooby.Context
The name of the protocol the request.
getProtocol() - Method in class io.jooby.ForwardingContext
 
getQuality() - Method in class io.jooby.MediaType
Value of q parameter.
getRawType() - Method in class io.jooby.Reified
Returns the raw (non-generic) type for this type.
getRemoteAddress() - Method in interface io.jooby.Context
The IP address of the client or last proxy that sent the request.
getRemoteAddress() - Method in class io.jooby.ForwardingContext
 
getRequestLength() - Method in interface io.jooby.Context
Request Content-Length header or -1 when missing.
getRequestLength() - Method in interface io.jooby.DefaultContext
 
getRequestLength() - Method in class io.jooby.ForwardingContext
 
getRequestType() - Method in interface io.jooby.Context
Request Content-Type header or null when missing.
getRequestType(MediaType) - Method in interface io.jooby.Context
Request Content-Type header or null when missing.
getRequestType() - Method in interface io.jooby.DefaultContext
 
getRequestType(MediaType) - Method in interface io.jooby.DefaultContext
 
getRequestType() - Method in class io.jooby.ForwardingContext
 
getRequestType(MediaType) - Method in class io.jooby.ForwardingContext
 
getResponseCode() - Method in interface io.jooby.Context
Get response status code.
getResponseCode() - Method in class io.jooby.ForwardingContext
 
getResponseLength() - Method in interface io.jooby.Context
Get response content length or -1 when none was set.
getResponseLength() - Method in class io.jooby.ForwardingContext
 
getResponseType() - Method in interface io.jooby.Context
Get response content type.
getResponseType() - Method in class io.jooby.ForwardingContext
 
getReturnType() - Method in class io.jooby.Route
Return return type.
getRoute() - Method in interface io.jooby.Context
Matching route.
getRoute() - Method in class io.jooby.ForwardingContext
 
getRouter() - Method in interface io.jooby.Context
Get the HTTP router (usually this represent an instance of Jooby.
getRouter() - Method in class io.jooby.ForwardingContext
 
getRouterOptions() - Method in class io.jooby.Jooby
 
getRouterOptions() - Method in interface io.jooby.Router
Router options.
getRoutes() - Method in class io.jooby.Jooby
 
getRoutes() - Method in interface io.jooby.Router
Returns all routes.
getScheme() - Method in interface io.jooby.Context
HTTP scheme in lower case.
getScheme() - Method in class io.jooby.ForwardingContext
 
getServer() - Method in class io.jooby.ServerOptions
Server name.
getServerOptions() - Method in class io.jooby.Jooby
Server options or null.
getServices() - Method in class io.jooby.Jooby
 
getServices() - Method in interface io.jooby.Router
Application service registry.
getSessionId() - Method in class io.jooby.SessionOptions
Session ID strategy (cookie or header).
getSessionOptions() - Method in class io.jooby.Jooby
 
getSessionOptions() - Method in interface io.jooby.Router
Get session options.
getSize() - Method in interface io.jooby.Asset
 
getSize() - Method in interface io.jooby.Body
Size in bytes.
getStart() - Method in interface io.jooby.ByteRange
Start range or -1.
getStatusCode() - Method in interface io.jooby.ByteRange
For partial requests this method returns StatusCode.PARTIAL_CONTENT.
getStatusCode() - Method in exception io.jooby.StatusCodeException
Status code.
getStore() - Method in class io.jooby.SessionOptions
Session store (defaults uses memory).
getSubtype() - Method in class io.jooby.MediaType
Subtype segment of mediatype (trailing type).
getTmpdir() - Method in class io.jooby.Jooby
 
getTmpdir() - Method in interface io.jooby.Router
Application temporary directory.
getType() - Method in class io.jooby.MediaType
Type segment of mediatype (leading type).
getType() - Method in class io.jooby.Reified
Gets underlying Type instance.
getType() - Method in class io.jooby.ServiceKey
Resource type.
getUseCredentials() - Method in class io.jooby.Cors
If true, set the Access-Control-Allow-Credentials header.
getValue() - Method in class io.jooby.Cookie
Cookie's value.
getValue() - Method in class io.jooby.MediaType
Media type value without parameters.
getView() - Method in class io.jooby.ModelAndView
View name with file extension, like: index.html.
getWorker() - Method in class io.jooby.Jooby
 
getWorker() - Method in interface io.jooby.Router
Returns the worker thread pool.
getWorkerThreads() - Method in class io.jooby.ServerOptions
Number of worker threads (a.k.a application) to use.
getWorkerThreads(int) - Method in class io.jooby.ServerOptions
Number of worker threads (a.k.a application) to use.
GMT - Static variable in interface io.jooby.Context
Constant for GMT.
GONE - Static variable in class io.jooby.StatusCode
410 Gone.
GONE_CODE - Static variable in class io.jooby.StatusCode
410 Gone.

H

hasBind(Object) - Static method in class io.jooby.RequestScope
Check to see if there is already a value associated with the current thread for the given key.
hash(Map<String, Collection<String>>) - Static method in interface io.jooby.Value
Create a hash/object value using the map values.
hashCode() - Method in class io.jooby.MediaType
 
hashCode() - Method in class io.jooby.Reified
 
hashCode() - Method in class io.jooby.ServiceKey
 
hashCode() - Method in class io.jooby.StatusCode
 
HEAD - Annotation Type in io.jooby.annotations
HTTP HEAD verb for mvc routes.
HEAD - Static variable in interface io.jooby.Router
HTTP HEAD.
head(String, Route.Handler) - Method in interface io.jooby.Router
Add a HTTP HEAD handler.
Header - Annotation Type in io.jooby.annotations
Mark a MVC method parameter as a request header.
header() - Method in interface io.jooby.Context
Request headers as Value.
header(String) - Method in interface io.jooby.Context
Get a header that matches the given name.
header(String) - Method in interface io.jooby.DefaultContext
 
header() - Method in class io.jooby.ForwardingContext
 
header(String) - Method in class io.jooby.ForwardingContext
 
header(String) - Static method in interface io.jooby.SessionId
Create a header-based Session ID.
headerMap() - Method in interface io.jooby.Context
Header as single-value map.
headerMap() - Method in interface io.jooby.DefaultContext
 
headerMap() - Method in class io.jooby.ForwardingContext
 
headerMultimap() - Method in interface io.jooby.Context
Header as multi-value map.
headerMultimap() - Method in interface io.jooby.DefaultContext
 
headerMultimap() - Method in class io.jooby.ForwardingContext
 
HeaderParam - Annotation Type in io.jooby.annotations
Allow access to header value from MVC route method.
HeadHandler - Class in io.jooby
Add support for HTTP Head requests.
HeadHandler() - Constructor for class io.jooby.HeadHandler
 
HMAC_SHA256 - Static variable in class io.jooby.Cookie
Algorithm name.
HTML - Static variable in class io.jooby.MediaType
TEXT_HTML.
html - Static variable in class io.jooby.MediaType
TEXT_HTML.
html(String) - Static method in class io.jooby.XSS
Perform an HTML5 level 2 (result is ASCII) escape operation on a String input.
HTTP_VERSION_NOT_SUPPORTED - Static variable in class io.jooby.StatusCode
505 HTTP Version Not Supported.
HTTP_VERSION_NOT_SUPPORTED_CODE - Static variable in class io.jooby.StatusCode
505 HTTP Version Not Supported.

I

I_AM_A_TEAPOT - Static variable in class io.jooby.StatusCode
418 I'm a teapot.
I_AM_A_TEAPOT_CODE - Static variable in class io.jooby.StatusCode
418 I'm a teapot.
IM_USED - Static variable in class io.jooby.StatusCode
226 IM Used.
IM_USED_CODE - Static variable in class io.jooby.StatusCode
226 IM Used.
install(Jooby) - Method in interface io.jooby.Extension
Install, configure additional features to a Jooby application.
install(Extension) - Method in class io.jooby.Jooby
Install extension module.
INSUFFICIENT_STORAGE - Static variable in class io.jooby.StatusCode
507 Insufficient Storage.
INSUFFICIENT_STORAGE_CODE - Static variable in class io.jooby.StatusCode
507 Insufficient Storage.
intValue() - Method in interface io.jooby.Value
Convert this value to int (if possible).
intValue(int) - Method in interface io.jooby.Value
Convert this value to int (if possible) or fallback to given value when missing.
io.jooby - package io.jooby
 
io.jooby.annotations - package io.jooby.annotations
 
IO_THREADS - Static variable in class io.jooby.ServerOptions
Number of available threads, but never smaller than 2.
isActive(String, String...) - Method in class io.jooby.Environment
Test is the given environment names are active.
isArray() - Method in interface io.jooby.Value
True if this value is an array/sequence (not single or hash).
isDirectory() - Method in interface io.jooby.Asset
 
isFatal(Throwable) - Static method in class io.jooby.SneakyThrows
True if the given exception is one of InterruptedException, LinkageError, ThreadDeath, VirtualMachineError.
isHttpHead() - Method in class io.jooby.Route
True if route support HTTP HEAD.
isHttpOnly() - Method in class io.jooby.Cookie
Cookie's http-only flag.
isHttpOptions() - Method in class io.jooby.Route
True if route support HTTP OPTIONS.
isHttpTrace() - Method in class io.jooby.Route
True if route support HTTP TRACE.
isInIoThread() - Method in interface io.jooby.Context
True when request runs in IO threads.
isInIoThread() - Method in class io.jooby.ForwardingContext
 
isInMemory() - Method in interface io.jooby.Body
True if body is on memory.
isJson() - Method in class io.jooby.MediaType
Indicates whenever this is a json mediatype.
isMissing() - Method in interface io.jooby.Value
True for missing values.
isModify() - Method in interface io.jooby.Session
True for modified/dirty sessions.
isNew() - Method in interface io.jooby.Session
True for new sessions.
isObject() - Method in interface io.jooby.Value
True if this is a hash/object value (not single or array).
isResponseStarted() - Method in interface io.jooby.Context
True if response already started.
isResponseStarted() - Method in class io.jooby.ForwardingContext
 
isSecure() - Method in class io.jooby.Cookie
Secure cookie.
isSingle() - Method in interface io.jooby.Value
True if this is a single value (not a hash or array).
isTextual() - Method in class io.jooby.MediaType
Indicates whenever this is a textual mediatype.
isUpload() - Method in interface io.jooby.Value
True if this is a file upload (not single, not array, not hash).
iterator() - Method in interface io.jooby.FileUpload
 
iterator() - Method in interface io.jooby.Value
Value iterator.

J

javaScript(String) - Static method in class io.jooby.XSS
Perform a JavaScript level 2 (basic set and all non-ASCII chars) escape operation on a String input.
join() - Method in interface io.jooby.Server
Block current thread so JVM doesn't exit.
Jooby - Class in io.jooby
Welcome to Jooby!
Jooby() - Constructor for class io.jooby.Jooby
Creates a new Jooby instance.
JS - Static variable in class io.jooby.MediaType
APPLICATION_JAVASCRIPT.
js - Static variable in class io.jooby.MediaType
APPLICATION_JSON.
JSON - Static variable in class io.jooby.MediaType
APPLICATION_JSON.
json - Static variable in class io.jooby.MediaType
APPLICATION_JSON.
json(String) - Static method in class io.jooby.XSS
Perform a JSON level 2 (basic set and all non-ASCII chars) escape operation on a String input.

K

keep() - Method in interface io.jooby.FlashMap
Keep flash cookie for next request.
key(Class<T>) - Static method in class io.jooby.ServiceKey
Creates a resource key.
key(Class<T>, String) - Static method in class io.jooby.ServiceKey
Creates a named resource key.
keySet() - Method in interface io.jooby.ServiceRegistry
Registered service keys.

L

lateinit() - Method in interface io.jooby.Extension
True when extension needs to run while starting the application.
LENGTH_REQUIRED - Static variable in class io.jooby.StatusCode
411 Length Required.
LENGTH_REQUIRED_CODE - Static variable in class io.jooby.StatusCode
411 Length Required.
list(Type) - Static method in class io.jooby.Reified
Creates a List type literal.
loadClass(String) - Method in class io.jooby.Environment
Loaded class or empty.
loadEnvironment(EnvironmentOptions) - Static method in class io.jooby.Environment
This method search for an application.conf file in three location (first-listed are higher priority): ${user.dir}/conf: This is a file system location, useful is you want to externalize configuration (outside of jar file). ${user.dir}: This is a file system location, useful is you want to externalize configuration (outside of jar file) classpath:// (root of classpath).
LOCKED - Static variable in class io.jooby.StatusCode
423 Locked.
LOCKED_CODE - Static variable in class io.jooby.StatusCode
423 Locked.
LogConfigurer - Class in io.jooby
Utility class that initializes logback or log4j2 logging implementation.
longValue() - Method in interface io.jooby.Value
Convert this value to long (if possible).
longValue(long) - Method in interface io.jooby.Value
Convert this value to long (if possible) or fallback to given value when missing.
LOOP_DETECTED - Static variable in class io.jooby.StatusCode
508 Loop Detected.
LOOP_DETECTED_CODE - Static variable in class io.jooby.StatusCode
508 Loop Detected.

M

map(Type, Type) - Static method in class io.jooby.Reified
Creates an Map type literal.
match(Context) - Method in class io.jooby.Jooby
 
match(Context) - Method in interface io.jooby.Router
Find a matching route using the given context.
matches(String) - Method in class io.jooby.MediaType
True if this mediatype is compatible with the given content type.
matches(MediaType) - Method in class io.jooby.MediaType
True if this mediatype is compatible with the given content type.
matches(Type) - Method in interface io.jooby.ResponseHandler
True if response route type is the one expected by the response handler.
matches() - Method in interface io.jooby.Router.Match
True for matching route.
MediaType - Class in io.jooby
Implementation of media/content type.
MessageDecoder - Interface in io.jooby
Parse HTTP body into a target type.
MessageEncoder - Interface in io.jooby
Render a route output as byte array.
METHOD_NOT_ALLOWED - Static variable in class io.jooby.Route
Handler for StatusCode.METHOD_NOT_ALLOWED responses.
METHOD_NOT_ALLOWED - Static variable in class io.jooby.StatusCode
405 Method Not Allowed.
METHOD_NOT_ALLOWED_CODE - Static variable in class io.jooby.StatusCode
405 Method Not Allowed.
METHODS - Static variable in interface io.jooby.Router
HTTP Methods.
missing(String) - Static method in interface io.jooby.Value
Creates a missing value.
MissingValueException - Exception in io.jooby
Missing exception.
MissingValueException(String) - Constructor for exception io.jooby.MissingValueException
Creates a missing exception.
ModelAndView - Class in io.jooby
Used by template engines to renderer views.
ModelAndView(String, Map<String, Object>) - Constructor for class io.jooby.ModelAndView
Creates a new model and view.
ModelAndView(String) - Constructor for class io.jooby.ModelAndView
Creates a new model and view.
MOST_SPECIFIC - Static variable in class io.jooby.MediaType
Computes and returns the most specific media type of both.
MOVED_PERMANENTLY - Static variable in class io.jooby.StatusCode
301 Moved Permanently.
MOVED_PERMANENTLY_CODE - Static variable in class io.jooby.StatusCode
301 Moved Permanently.
MULTI_STATUS - Static variable in class io.jooby.StatusCode
207 Multi-StatusCode.
MULTI_STATUS_CODE - Static variable in class io.jooby.StatusCode
207 Multi-StatusCode.
multipart() - Method in interface io.jooby.Context
Get multipart data.
multipart(String) - Method in interface io.jooby.Context
Get a multipart field that matches the given name.
multipart(Reified<T>) - Method in interface io.jooby.Context
Convert multipart data to the given type.
multipart(Class<T>) - Method in interface io.jooby.Context
Convert multipart data to the given type.
multipart(String) - Method in interface io.jooby.DefaultContext
 
multipart(Reified<T>) - Method in interface io.jooby.DefaultContext
 
multipart(Class<T>) - Method in interface io.jooby.DefaultContext
 
multipart() - Method in class io.jooby.ForwardingContext
 
multipart(String) - Method in class io.jooby.ForwardingContext
 
multipart(Reified<T>) - Method in class io.jooby.ForwardingContext
 
multipart(Class<T>) - Method in class io.jooby.ForwardingContext
 
Multipart - Interface in io.jooby
Multipart class for direct MVC parameter provisioning.
MULTIPART_FORMDATA - Static variable in class io.jooby.MediaType
MULTIPART_FORM_DATA.
multipartFormdata - Static variable in class io.jooby.MediaType
MULTIPART_FORM_DATA.
multipartMap() - Method in interface io.jooby.Context
Multipart data as single-value map.
multipartMap() - Method in interface io.jooby.DefaultContext
 
multipartMap() - Method in class io.jooby.ForwardingContext
 
multipartMultimap() - Method in interface io.jooby.Context
Multipart data as multi-value map.
multipartMultimap() - Method in interface io.jooby.DefaultContext
 
multipartMultimap() - Method in class io.jooby.ForwardingContext
 
MULTIPLE_CHOICES - Static variable in class io.jooby.StatusCode
300 Multiple Choices.
MULTIPLE_CHOICES_CODE - Static variable in class io.jooby.StatusCode
300 Multiple Choices.
mvc(Object) - Method in class io.jooby.Jooby
 
mvc(Class) - Method in class io.jooby.Jooby
 
mvc(Class<T>, Provider<T>) - Method in class io.jooby.Jooby
 
mvc(Class) - Method in interface io.jooby.Router
Import all route method from the given controller class.
mvc(Class<T>, Provider<T>) - Method in interface io.jooby.Router
Import all route method from the given controller class.
mvc(Object) - Method in interface io.jooby.Router
Import all route methods from given controller instance.

N

NAME - Static variable in interface io.jooby.FlashMap
Flash map attribute.
NAME - Static variable in interface io.jooby.Session
Attribute's name.
name() - Method in interface io.jooby.Value
Name of this value or null.
NETWORK_AUTHENTICATION_REQUIRED - Static variable in class io.jooby.StatusCode
511 Network Authentication Required.
NETWORK_AUTHENTICATION_REQUIRED_CODE - Static variable in class io.jooby.StatusCode
511 Network Authentication Required.
newSession(String) - Method in interface io.jooby.SessionStore
Creates a new session.
NO_CONTENT - Static variable in class io.jooby.StatusCode
204 No Content.
NO_CONTENT_CODE - Static variable in class io.jooby.StatusCode
204 No Content.
NON_AUTHORITATIVE_INFORMATION - Static variable in class io.jooby.StatusCode
203 Non-Authoritative Information.
NON_AUTHORITATIVE_INFORMATION_CODE - Static variable in class io.jooby.StatusCode
203 Non-Authoritative Information.
normalizePath(String, boolean, boolean) - Static method in interface io.jooby.Router
Normalize a path by removing consecutives /(slashes), make it lower case and removing trailing slash.
normalizePath(String) - Static method in interface io.jooby.TemplateEngine
Normalize a template path by removing the leading `/` when present.
NOT_ACCEPTABLE - Static variable in class io.jooby.StatusCode
406 Not Acceptable.
NOT_ACCEPTABLE_CODE - Static variable in class io.jooby.StatusCode
406 Not Acceptable.
NOT_EXTENDED - Static variable in class io.jooby.StatusCode
510 Not Extended.
NOT_EXTENDED_CODE - Static variable in class io.jooby.StatusCode
510 Not Extended.
NOT_FOUND - Static variable in class io.jooby.Route
Handler for StatusCode.NOT_FOUND responses.
NOT_FOUND - Static variable in class io.jooby.StatusCode
404 Not Found.
NOT_FOUND_CODE - Static variable in class io.jooby.StatusCode
404 Not Found.
NOT_IMPLEMENTED - Static variable in class io.jooby.StatusCode
501 Not Implemented.
NOT_IMPLEMENTED_CODE - Static variable in class io.jooby.StatusCode
501 Not Implemented.
NOT_MODIFIED - Static variable in class io.jooby.StatusCode
304 Not Modified.
NOT_MODIFIED_CODE - Static variable in class io.jooby.StatusCode
304 Not Modified.

O

OCTET_STREAM - Static variable in class io.jooby.MediaType
APPLICATION_OCTET_STREAM.
octetStream - Static variable in class io.jooby.MediaType
APPLICATION_OCTET_STREAM.
of(InputStream, long) - Static method in interface io.jooby.Body
Creates a HTTP body from input stream.
of(byte[]) - Static method in interface io.jooby.Body
Creates a HTTP body from byte array.
of(Path) - Static method in interface io.jooby.Body
Creates a HTTP body from file.
OK - Static variable in class io.jooby.StatusCode
200 OK.
OK_CODE - Static variable in class io.jooby.StatusCode
200 OK.
onComplete(Context, Throwable) - Method in interface io.jooby.Sender.Callback
Callback after for write operation.
onStarted(SneakyThrows.Runnable) - Method in class io.jooby.Jooby
Event is fire once all components has been initialized, for example router and web-server are up and running, extension installed, etc...
onStarting(SneakyThrows.Runnable) - Method in class io.jooby.Jooby
Event fired before starting router and web-server.
onStop(AutoCloseable) - Method in class io.jooby.Jooby
Stop event is fire at application shutdown time.
optional(Type) - Static method in class io.jooby.Reified
Creates an Optional type literal.
OPTIONS - Annotation Type in io.jooby.annotations
HTTP OPTIONS verb for mvc routes.
OPTIONS - Static variable in interface io.jooby.Router
HTTP OPTIONS.
options(String, Route.Handler) - Method in interface io.jooby.Router
Add a HTTP OPTIONS handler.

P

parse(String, long) - Static method in interface io.jooby.ByteRange
Parse a byte range request value.
parse(String) - Static method in class io.jooby.MediaType
Parse one or more mediatype values.
PARTIAL_CONTENT - Static variable in class io.jooby.StatusCode
207 Multi-StatusCode.
PARTIAL_CONTENT_CODE - Static variable in class io.jooby.StatusCode
206 Partial Content.
PATCH - Annotation Type in io.jooby.annotations
HTTP PATCH verb for mvc routes.
PATCH - Static variable in interface io.jooby.Router
HTTP PATCH.
patch(String, Route.Handler) - Method in interface io.jooby.Router
Add a HTTP PATCH handler.
Path - Annotation Type in io.jooby.annotations
Set a path for Mvc routes.
path(String) - Method in interface io.jooby.Context
Path variable.
path(Reified<T>) - Method in interface io.jooby.Context
Convert the Context.pathMap() to the given type.
path(Class<T>) - Method in interface io.jooby.Context
Convert the Context.pathMap() to the given type.
path() - Method in interface io.jooby.Context
Convert Context.pathMap() to a Value object.
path(String) - Method in interface io.jooby.DefaultContext
 
path(Reified<T>) - Method in interface io.jooby.DefaultContext
 
path(Class<T>) - Method in interface io.jooby.DefaultContext
 
path() - Method in interface io.jooby.DefaultContext
 
path() - Method in interface io.jooby.FileUpload
File system path to access file content.
path(String) - Method in class io.jooby.ForwardingContext
 
path(Reified<T>) - Method in class io.jooby.ForwardingContext
 
path(Class<T>) - Method in class io.jooby.ForwardingContext
 
path() - Method in class io.jooby.ForwardingContext
 
path(String, Runnable) - Method in class io.jooby.Jooby
 
path(String, Runnable) - Method in interface io.jooby.Router
Group one or more routes under a common path prefix.
PATH - Static variable in interface io.jooby.TemplateEngine
Default template path.
pathKeys(String) - Static method in interface io.jooby.Router
Extract path keys from given path pattern.
pathMap() - Method in interface io.jooby.Context
Path map represent all the path keys with their values.
pathMap() - Method in class io.jooby.ForwardingContext
 
pathMap() - Method in interface io.jooby.Router.Match
Path pattern variables.
PathParam - Annotation Type in io.jooby.annotations
Allow access to path variable from MVC route method.
pathString() - Method in interface io.jooby.Context
Request path without decoding (a.k.a raw Path) without query string.
pathString() - Method in class io.jooby.ForwardingContext
 
PAYMENT_REQUIRED - Static variable in class io.jooby.StatusCode
402 Payment Required.
PAYMENT_REQUIRED_CODE - Static variable in class io.jooby.StatusCode
402 Payment Required.
pid() - Static method in class io.jooby.Environment
Find JVM process ID.
POST - Annotation Type in io.jooby.annotations
HTTP POST verb for mvc routes.
POST - Static variable in interface io.jooby.Router
HTTP POST.
post(String, Route.Handler) - Method in interface io.jooby.Router
Add a HTTP POST handler.
PRECONDITION_FAILED - Static variable in class io.jooby.StatusCode
412 Precondition failed.
PRECONDITION_FAILED_CODE - Static variable in class io.jooby.StatusCode
412 Precondition failed.
PRECONDITION_REQUIRED - Static variable in class io.jooby.StatusCode
428 Precondition Required.
PRECONDITION_REQUIRED_CODE - Static variable in class io.jooby.StatusCode
428 Precondition Required.
PROCESSING - Static variable in class io.jooby.StatusCode
102 Processing.
PROCESSING_CODE - Static variable in class io.jooby.StatusCode
102 Processing.
Produces - Annotation Type in io.jooby.annotations
Defines what media types a route can produces.
produces(MediaType...) - Method in class io.jooby.Route
Add one or more response types (format) produces by this route.
propagate(Throwable) - Static method in class io.jooby.SneakyThrows
Throws any throwable 'sneakily' - you don't need to catch it, nor declare that you throw it onwards.
ProvisioningException - Exception in io.jooby
Provisioning exception, throws by MVC routes when parameter binding fails.
ProvisioningException(Parameter, Throwable) - Constructor for exception io.jooby.ProvisioningException
Creates a provisioning exception.
ProvisioningException(String, Throwable) - Constructor for exception io.jooby.ProvisioningException
Creates a provisioning exception.
PROXY_AUTHENTICATION_REQUIRED - Static variable in class io.jooby.StatusCode
407 Proxy Authentication Required.
PROXY_AUTHENTICATION_REQUIRED_CODE - Static variable in class io.jooby.StatusCode
407 Proxy Authentication Required.
PUT - Annotation Type in io.jooby.annotations
HTTP PUT verb for mvc routes.
put(String, Value) - Method in interface io.jooby.Formdata
Add a form field.
put(String, String) - Method in interface io.jooby.Formdata
Add a form field.
put(String, Collection<String>) - Method in interface io.jooby.Formdata
Add a form field.
put(String, Object) - Method in class io.jooby.ModelAndView
Put a model attribute.
put(Map<String, Object>) - Method in class io.jooby.ModelAndView
Copy all the attributes into the model.
PUT - Static variable in interface io.jooby.Router
HTTP PUT.
put(String, Route.Handler) - Method in interface io.jooby.Router
Add a HTTP PUT handler.
put(Class<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
Put a service in this registry.
put(ServiceKey<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
Put a service in this registry.
put(Class<T>, T) - Method in interface io.jooby.ServiceRegistry
Put a service in this registry.
put(ServiceKey<T>, T) - Method in interface io.jooby.ServiceRegistry
Put a service in this registry.
put(String, int) - Method in interface io.jooby.Session
Put a session attribute.
put(String, long) - Method in interface io.jooby.Session
Put a session attribute.
put(String, CharSequence) - Method in interface io.jooby.Session
Put a session attribute.
put(String, String) - Method in interface io.jooby.Session
Put a session attribute.
put(String, float) - Method in interface io.jooby.Session
Put a session attribute.
put(String, double) - Method in interface io.jooby.Session
Put a session attribute.
put(String, boolean) - Method in interface io.jooby.Session
Put a session attribute.
put(String, Number) - Method in interface io.jooby.Session
Put a session attribute.
putIfAbsent(ServiceKey<T>, T) - Method in interface io.jooby.ServiceRegistry
Put/register a service in this registry if there isn't the same service already registered.
putIfAbsent(Class<T>, T) - Method in interface io.jooby.ServiceRegistry
Put/register a service in this registry if there isn't the same service already registered.
putIfAbsent(ServiceKey<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
Put/register a service in this registry if there isn't the same service already registered.
putIfAbsent(Class<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
Put/register a service in this registry if there isn't the same service already registered.

Q

query() - Method in interface io.jooby.Context
Query string as Value object.
query(String) - Method in interface io.jooby.Context
Get a query parameter that matches the given name.
query(Reified<T>) - Method in interface io.jooby.Context
Convert the queryString to the given type.
query(Class<T>) - Method in interface io.jooby.Context
Convert the queryString to the given type.
query(String) - Method in interface io.jooby.DefaultContext
 
query(Reified<T>) - Method in interface io.jooby.DefaultContext
 
query(Class<T>) - Method in interface io.jooby.DefaultContext
 
query() - Method in class io.jooby.ForwardingContext
 
query(String) - Method in class io.jooby.ForwardingContext
 
query(Reified<T>) - Method in class io.jooby.ForwardingContext
 
query(Class<T>) - Method in class io.jooby.ForwardingContext
 
queryMap() - Method in interface io.jooby.Context
Query string as simple map.
queryMap() - Method in interface io.jooby.DefaultContext
 
queryMap() - Method in class io.jooby.ForwardingContext
 
queryMultimap() - Method in interface io.jooby.Context
Query string as multi-value map.
queryMultimap() - Method in interface io.jooby.DefaultContext
 
queryMultimap() - Method in class io.jooby.ForwardingContext
 
QueryParam - Annotation Type in io.jooby.annotations
Allow access to query parameter from MVC route method.
queryString() - Method in interface io.jooby.Context
Query string with the leading ? or empty string.
queryString() - Method in interface io.jooby.DefaultContext
 
queryString() - Method in class io.jooby.ForwardingContext
 
QueryString - Interface in io.jooby
Query string class for direct MVC parameter provisioning.
queryString() - Method in interface io.jooby.QueryString
Query string with the leading ? or empty string.

R

RAW - Static variable in interface io.jooby.MessageDecoder
Parse body to one of the raw types: String, byte[], etc.
rawType(Type) - Static method in class io.jooby.Reified
Get raw type (class) from given type.
ready(Server) - Method in class io.jooby.Jooby
Callback method that indicates application was successfully started it and listening for connections.
reason() - Method in class io.jooby.StatusCode
 
registry(Registry) - Method in class io.jooby.Jooby
Set application registry.
Registry - Interface in io.jooby
Service locator pattern which may be provided by a dependency injection framework.
RegistryException - Exception in io.jooby
Thrown when a required service is not available.
RegistryException(String, Throwable) - Constructor for exception io.jooby.RegistryException
Constructor.
RegistryException(String) - Constructor for exception io.jooby.RegistryException
Constructor.
Reified<T> - Class in io.jooby
Represents a generic type T.
Reified() - Constructor for class io.jooby.Reified
Constructs a new type literal.
remove(String) - Method in interface io.jooby.Session
Remove a session attribute.
removeResponseHeader(String) - Method in interface io.jooby.Context
Remove a response header.
removeResponseHeader(String) - Method in class io.jooby.ForwardingContext
 
render(Object) - Method in interface io.jooby.Context
Render a value and send the response to client.
render(Object) - Method in interface io.jooby.DefaultContext
 
render(Object) - Method in class io.jooby.ForwardingContext
 
render(Context, ModelAndView) - Method in interface io.jooby.TemplateEngine
Render a model and view instance as String.
REQUEST_ENTITY_TOO_LARGE - Static variable in class io.jooby.StatusCode
413 Request Entity Too Large.
REQUEST_ENTITY_TOO_LARGE_CODE - Static variable in class io.jooby.StatusCode
413 Request Entity Too Large.
REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class io.jooby.StatusCode
431 Request Header Fields Too Large.
REQUEST_HEADER_FIELDS_TOO_LARGE_CODE - Static variable in class io.jooby.StatusCode
431 Request Header Fields Too Large.
REQUEST_TIMEOUT - Static variable in class io.jooby.StatusCode
408 Request Timeout.
REQUEST_TIMEOUT_CODE - Static variable in class io.jooby.StatusCode
408 Request Timeout.
REQUEST_URI_TOO_LONG - Static variable in class io.jooby.StatusCode
414 Request-URI Too Long.
REQUEST_URI_TOO_LONG_CODE - Static variable in class io.jooby.StatusCode
414 Request-URI Too Long.
REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class io.jooby.StatusCode
416 Requested Range Not Satisfiable.
REQUESTED_RANGE_NOT_SATISFIABLE_CODE - Static variable in class io.jooby.StatusCode
416 Requested Range Not Satisfiable.
RequestScope - Class in io.jooby
Thread-Local request scope implementation useful for save/store request attribute and access to them using a static way.
require(Class<T>, String) - Method in interface io.jooby.DefaultContext
 
require(Class<T>) - Method in interface io.jooby.DefaultContext
 
require(ServiceKey<T>) - Method in interface io.jooby.DefaultContext
 
require(Class<T>) - Method in class io.jooby.ForwardingContext
 
require(Class<T>, String) - Method in class io.jooby.ForwardingContext
 
require(ServiceKey<T>) - Method in class io.jooby.ForwardingContext
 
require(Class<T>, String) - Method in class io.jooby.Jooby
 
require(Class<T>) - Method in class io.jooby.Jooby
 
require(ServiceKey<T>) - Method in class io.jooby.Jooby
 
require(Class<T>) - Method in interface io.jooby.Registry
Provides an instance of the given type.
require(Class<T>, String) - Method in interface io.jooby.Registry
Provides an instance of the given type where name matches it.
require(ServiceKey<T>) - Method in interface io.jooby.Registry
Provides an instance of the given type.
require(Class<T>) - Method in interface io.jooby.ServiceRegistry
 
require(Class<T>, String) - Method in interface io.jooby.ServiceRegistry
 
require(ServiceKey<T>) - Method in interface io.jooby.ServiceRegistry
 
RESET_CONTENT - Static variable in class io.jooby.StatusCode
206 Partial Content.
RESET_CONTENT_CODE - Static variable in class io.jooby.StatusCode
205 Reset Content.
resolve(String) - Method in interface io.jooby.AssetSource
Resolve an asset using the given path.
resolve(String) - Method in interface io.jooby.Value
Process the given expression and resolve value references.
resolve(String, boolean) - Method in interface io.jooby.Value
Process the given expression and resolve value references.
resolve(String, String, String) - Method in interface io.jooby.Value
Process the given expression and resolve value references.
resolve(String, boolean, String, String) - Method in interface io.jooby.Value
Process the given expression and resolve value references.
responseHandler(ResponseHandler) - Method in class io.jooby.Jooby
 
ResponseHandler - Interface in io.jooby
Bind a route response type to a custom handler.
responseHandler(ResponseHandler) - Method in interface io.jooby.Router
Add a response handler factory.
responseSender() - Method in interface io.jooby.Context
HTTP response channel as chunker.
responseSender() - Method in class io.jooby.ForwardingContext
 
responseStream() - Method in interface io.jooby.Context
HTTP response channel as output stream.
responseStream(MediaType) - Method in interface io.jooby.Context
HTTP response channel as output stream.
responseStream(MediaType, SneakyThrows.Consumer<OutputStream>) - Method in interface io.jooby.Context
HTTP response channel as output stream.
responseStream(SneakyThrows.Consumer<OutputStream>) - Method in interface io.jooby.Context
HTTP response channel as output stream.
responseStream(MediaType) - Method in interface io.jooby.DefaultContext
 
responseStream(MediaType, SneakyThrows.Consumer<OutputStream>) - Method in interface io.jooby.DefaultContext
 
responseStream(SneakyThrows.Consumer<OutputStream>) - Method in interface io.jooby.DefaultContext
 
responseStream() - Method in class io.jooby.ForwardingContext
 
responseStream(MediaType) - Method in class io.jooby.ForwardingContext
 
responseStream(MediaType, SneakyThrows.Consumer<OutputStream>) - Method in class io.jooby.ForwardingContext
 
responseStream(SneakyThrows.Consumer<OutputStream>) - Method in class io.jooby.ForwardingContext
 
responseWriter() - Method in interface io.jooby.Context
HTTP response channel as response writer.
responseWriter(MediaType) - Method in interface io.jooby.Context
HTTP response channel as response writer.
responseWriter(MediaType, Charset) - Method in interface io.jooby.Context
HTTP response channel as response writer.
responseWriter(SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.Context
HTTP response channel as response writer.
responseWriter(MediaType, SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.Context
HTTP response channel as response writer.
responseWriter(MediaType, Charset, SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.Context
HTTP response channel as response writer.
responseWriter() - Method in interface io.jooby.DefaultContext
 
responseWriter(MediaType) - Method in interface io.jooby.DefaultContext
 
responseWriter(SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.DefaultContext
 
responseWriter(MediaType, SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.DefaultContext
 
responseWriter(MediaType, Charset, SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.DefaultContext
 
responseWriter() - Method in class io.jooby.ForwardingContext
 
responseWriter(MediaType) - Method in class io.jooby.ForwardingContext
 
responseWriter(MediaType, Charset) - Method in class io.jooby.ForwardingContext
 
responseWriter(SneakyThrows.Consumer<PrintWriter>) - Method in class io.jooby.ForwardingContext
 
responseWriter(MediaType, SneakyThrows.Consumer<PrintWriter>) - Method in class io.jooby.ForwardingContext
 
responseWriter(MediaType, Charset, SneakyThrows.Consumer<PrintWriter>) - Method in class io.jooby.ForwardingContext
 
RESUME_INCOMPLETE - Static variable in class io.jooby.StatusCode
308 Resume Incomplete.
RESUME_INCOMPLETE_CODE - Static variable in class io.jooby.StatusCode
308 Resume Incomplete.
RFC1123 - Static variable in interface io.jooby.Context
RFC1123 date formatter.
RFC1123_PATTERN - Static variable in interface io.jooby.Context
RFC1123 date pattern.
route(Runnable) - Method in class io.jooby.Jooby
 
route(String, String, Route.Handler) - Method in class io.jooby.Jooby
 
Route - Class in io.jooby
Route contains information about the HTTP method, path pattern, which content types consumes and produces, etc..
Route(String, String, Route.Handler) - Constructor for class io.jooby.Route
Creates a new route.
route() - Method in interface io.jooby.Router.Match
Matched route.
route(Runnable) - Method in interface io.jooby.Router
Group one or more routes.
route(String, String, Route.Handler) - Method in interface io.jooby.Router
Add a route.
Route.After - Interface in io.jooby
Execute application logic after a response has been generated by a route handler.
Route.Before - Interface in io.jooby
Decorates a handler and run logic before handler is executed.
Route.Decorator - Interface in io.jooby
Decorates a route handler by running logic before and after route handler.
Route.Handler - Interface in io.jooby
Route handler here is where the application logic lives.
Router - Interface in io.jooby
Routing DSL functions.
Router.Match - Interface in io.jooby
Find route result.
RouterOptions - Class in io.jooby
Router matching options.
RouterOptions() - Constructor for class io.jooby.RouterOptions
 
run() - Method in interface io.jooby.SneakyThrows.Runnable
Run task.
runApp(String[], Class<? extends Jooby>) - Static method in class io.jooby.Jooby
Setup default environment, logging (logback or log4j2) and run application.
runApp(String[], ExecutionMode, Class<? extends Jooby>) - Static method in class io.jooby.Jooby
Setup default environment, logging (logback or log4j2) and run application.
runApp(String[], Supplier<Jooby>) - Static method in class io.jooby.Jooby
Setup default environment, logging (logback or log4j2) and run application.
runApp(String[], Consumer<Jooby>) - Static method in class io.jooby.Jooby
Setup default environment, logging (logback or log4j2) and run application.
runApp(String[], ExecutionMode, Consumer<Jooby>) - Static method in class io.jooby.Jooby
Setup default environment, logging (logback or log4j2) and run application.
runApp(String[], ExecutionMode, Supplier<Jooby>) - Static method in class io.jooby.Jooby
Setup default environment, logging (logback or log4j2) and run application.

S

save(Session) - Method in interface io.jooby.SessionStore
Save a session.
saveSessionId(Context, String) - Method in interface io.jooby.SessionId
Save session ID in the web context.
SEE_OTHER - Static variable in class io.jooby.StatusCode
303 See Other.
SEE_OTHER_CODE - Static variable in class io.jooby.StatusCode
303 See Other.
send(String) - Method in interface io.jooby.Context
Send response data.
send(String, Charset) - Method in interface io.jooby.Context
Send response data.
send(byte[]) - Method in interface io.jooby.Context
Send response data.
send(ByteBuffer) - Method in interface io.jooby.Context
Send response data.
send(ReadableByteChannel) - Method in interface io.jooby.Context
Send response data.
send(InputStream) - Method in interface io.jooby.Context
Send response data.
send(AttachedFile) - Method in interface io.jooby.Context
Send a file attached response.
send(Path) - Method in interface io.jooby.Context
Send a file response.
send(FileChannel) - Method in interface io.jooby.Context
Send a file response.
send(StatusCode) - Method in interface io.jooby.Context
Send an empty response with the given status code.
send(String) - Method in interface io.jooby.DefaultContext
 
send(AttachedFile) - Method in interface io.jooby.DefaultContext
 
send(Path) - Method in interface io.jooby.DefaultContext
 
send(String) - Method in class io.jooby.ForwardingContext
 
send(String, Charset) - Method in class io.jooby.ForwardingContext
 
send(byte[]) - Method in class io.jooby.ForwardingContext
 
send(ByteBuffer) - Method in class io.jooby.ForwardingContext
 
send(ReadableByteChannel) - Method in class io.jooby.ForwardingContext
 
send(InputStream) - Method in class io.jooby.ForwardingContext
 
send(AttachedFile) - Method in class io.jooby.ForwardingContext
 
send(Path) - Method in class io.jooby.ForwardingContext
 
send(FileChannel) - Method in class io.jooby.ForwardingContext
 
send(StatusCode) - Method in class io.jooby.ForwardingContext
 
Sender - Interface in io.jooby
Non-blocking sender.
Sender.Callback - Interface in io.jooby
Write callback.
sendError(Throwable) - Method in interface io.jooby.Context
Send an error response.
sendError(Throwable, StatusCode) - Method in interface io.jooby.Context
Send an error response.
sendError(Throwable) - Method in interface io.jooby.DefaultContext
 
sendError(Throwable, StatusCode) - Method in interface io.jooby.DefaultContext
Send an error response.
sendError(Throwable) - Method in class io.jooby.ForwardingContext
 
sendError(Throwable, StatusCode) - Method in class io.jooby.ForwardingContext
 
sendRedirect(String) - Method in interface io.jooby.Context
Send a 302 response.
sendRedirect(StatusCode, String) - Method in interface io.jooby.Context
Send a redirect response.
sendRedirect(String) - Method in interface io.jooby.DefaultContext
 
sendRedirect(StatusCode, String) - Method in interface io.jooby.DefaultContext
 
sendRedirect(String) - Method in class io.jooby.ForwardingContext
 
sendRedirect(StatusCode, String) - Method in class io.jooby.ForwardingContext
 
Server - Interface in io.jooby
Web server contract.
Server.Base - Class in io.jooby
Base class for server.
SERVER_ERROR - Static variable in class io.jooby.StatusCode
500 Server Error.
SERVER_ERROR_CODE - Static variable in class io.jooby.StatusCode
500 Server Error.
ServerOptions - Class in io.jooby
Available server options.
ServerOptions() - Constructor for class io.jooby.ServerOptions
 
SERVICE_UNAVAILABLE - Static variable in class io.jooby.StatusCode
503 Service Unavailable.
SERVICE_UNAVAILABLE_CODE - Static variable in class io.jooby.StatusCode
503 Service Unavailable.
ServiceKey<T> - Class in io.jooby
Utility class to access application services.
ServiceRegistry - Interface in io.jooby
Default registry which use a simply key/value mechanism for storing and retrieving services.
session() - Method in interface io.jooby.Context
Find a session or creates a new session.
session() - Method in interface io.jooby.DefaultContext
 
session() - Method in class io.jooby.ForwardingContext
 
Session - Interface in io.jooby
HTTP session.
SessionId - Interface in io.jooby
Find, save and delete a session ID (cookie or header) into/from the web Context.
SessionOptions - Class in io.jooby
Options for HTTP session.
SessionOptions(String, SessionId...) - Constructor for class io.jooby.SessionOptions
Creates a session options.
SessionOptions(SessionId...) - Constructor for class io.jooby.SessionOptions
Creates a session options.
sessionOrNull() - Method in interface io.jooby.Context
Find an existing session.
sessionOrNull() - Method in interface io.jooby.DefaultContext
 
sessionOrNull() - Method in class io.jooby.ForwardingContext
 
SessionStore - Interface in io.jooby
Load and save sessions from store (memory, database, etc.).
set(Type) - Static method in class io.jooby.Reified
Creates a Set type literal.
setActiveNames(String...) - Method in class io.jooby.EnvironmentOptions
Set active environment names.
setActiveNames(List<String>) - Method in class io.jooby.EnvironmentOptions
Set active environment names.
setAfter(Route.After) - Method in class io.jooby.Route
Set after filter.
setAttributes(Map<String, Object>) - Method in class io.jooby.Route
Add one or more attributes applied to this route.
setBasedir(String) - Method in class io.jooby.EnvironmentOptions
Set base dir.
setBasedir(Path) - Method in class io.jooby.EnvironmentOptions
Set base dir.
setBefore(Route.Before) - Method in class io.jooby.Route
Set before filter.
setBufferSize(int) - Method in class io.jooby.ServerOptions
Set buffer size.
setClassLoader(ClassLoader) - Method in class io.jooby.EnvironmentOptions
Set class loader.
setConsumes(Collection<MediaType>) - Method in class io.jooby.Route
Add one or more request types (format) consumed by this route.
setContextPath(String) - Method in class io.jooby.Jooby
 
setContextPath(String) - Method in interface io.jooby.Router
Set application context path.
setCreationTime(Instant) - Method in interface io.jooby.Session
Set session creation time.
setDecoders(Map<String, MessageDecoder>) - Method in class io.jooby.Route
Set message decoders.
setDecorator(Route.Decorator) - Method in class io.jooby.Route
Set route decorator.
setDefaultHeaders(boolean) - Method in class io.jooby.ServerOptions
Enabled/disabled default server headers: Date, Content-Type and Server.
setDefaultResponseType(MediaType) - Method in interface io.jooby.Context
Set the default response content type header.
setDefaultResponseType(MediaType) - Method in class io.jooby.ForwardingContext
 
setDefaultWorker(Executor) - Method in class io.jooby.Jooby
 
setDefaultWorker(Executor) - Method in interface io.jooby.Router
Set the default worker thread pool.
setDomain(String) - Method in class io.jooby.Cookie
Set cookie's domain.
setEncoder(MessageEncoder) - Method in class io.jooby.Route
Set encoder.
setEnvironment(Environment) - Method in class io.jooby.Jooby
Set application environment.
setEnvironmentOptions(EnvironmentOptions) - Method in class io.jooby.Jooby
Set environment options and initialize/overrides the environment.
setETag(boolean) - Method in class io.jooby.AssetHandler
Turn on/off e-tag support.
setExecutionMode(ExecutionMode) - Method in class io.jooby.Jooby
Set application execution mode.
setExposedHeaders(String...) - Method in class io.jooby.Cors
Set the list of exposed headers.
setExposedHeaders(List<String>) - Method in class io.jooby.Cors
Set the list of exposed headers.
setFilename(String) - Method in class io.jooby.EnvironmentOptions
Set file name.
setFlashCookie(String) - Method in class io.jooby.Jooby
 
setFlashCookie(String) - Method in interface io.jooby.Router
Set flash cookie name.
setGzip(boolean) - Method in class io.jooby.ServerOptions
Enabled/disabled gzip.
setHandle(Object) - Method in class io.jooby.Route
Set route handle instance, required when handle is different from Route.getHandler().
setHeaders(String...) - Method in class io.jooby.Cors
Set one or more allowed headers.
setHeaders(List<String>) - Method in class io.jooby.Cors
Set one or more allowed headers.
setHttpHead(boolean) - Method in class io.jooby.Route
Enabled or disabled HTTP HEAD.
setHttpOnly(boolean) - Method in class io.jooby.Cookie
Set cookie's http-only.
setHttpOptions(boolean) - Method in class io.jooby.Route
Enabled or disabled HTTP Options.
setHttpTrace(boolean) - Method in class io.jooby.Route
Enabled or disabled HTTP TRACE.
setIgnoreCase(boolean) - Method in class io.jooby.RouterOptions
Turn on/off case-sensitive matching.
setIgnoreTrailingSlash(boolean) - Method in class io.jooby.RouterOptions
Turn on/off support for trailing slash.
setIoThreads(int) - Method in class io.jooby.ServerOptions
Set number of IO threads to use.
setLastAccessedTime(Instant) - Method in interface io.jooby.Session
Set session last accessed time.
setLastModified(boolean) - Method in class io.jooby.AssetHandler
Turn on/off handling of If-Modified-Since header.
setLateInit(boolean) - Method in class io.jooby.Jooby
Force all module to be initialized lazily at application startup time (not at creation/instantiation time).
setMaxAge(long) - Method in class io.jooby.AssetHandler
Set cache-control header with the given max-age value.
setMaxAge(Duration) - Method in class io.jooby.AssetHandler
Set cache-control header with the given max-age value.
setMaxAge(Duration) - Method in class io.jooby.Cookie
Set max age value: - -1: indicates a browser session.
setMaxAge(long) - Method in class io.jooby.Cookie
Set max age value: - -1: indicates a browser session.
setMaxAge(Duration) - Method in class io.jooby.Cors
Set the preflight max age header.
setMaxRequestSize(int) - Method in class io.jooby.ServerOptions
Set max request size in bytes.
setMethods(String...) - Method in class io.jooby.Cors
Set one or more allowed methods.
setMethods(List<String>) - Method in class io.jooby.Cors
Set one or more allowed methods.
setModify(boolean) - Method in interface io.jooby.Session
Set modify flag.
setName(String) - Method in class io.jooby.Cookie
Set cookie's name.
setNew(boolean) - Method in interface io.jooby.Session
Set new flag.
setOptions(ServerOptions) - Method in interface io.jooby.Server
Set server options.
setOrigin(String...) - Method in class io.jooby.Cors
Set the allowed origins.
setOrigin(List<String>) - Method in class io.jooby.Cors
Set the allowed origins.
setPath(String) - Method in class io.jooby.Cookie
Set cookie's path.
setPathKeys(List<String>) - Method in class io.jooby.Route
Set path keys.
setPathMap(Map<String, String>) - Method in interface io.jooby.Context
Set path map.
setPathMap(Map<String, String>) - Method in class io.jooby.ForwardingContext
 
setPipeline(Route.Handler) - Method in class io.jooby.Route
Set route pipeline.
setPort(int) - Method in class io.jooby.ServerOptions
Set the server port (default is 8080).
setProduces(Collection<MediaType>) - Method in class io.jooby.Route
Add one or more response types (format) produces by this route.
setResponseCode(StatusCode) - Method in interface io.jooby.Context
Set response status code.
setResponseCode(int) - Method in interface io.jooby.Context
Set response status code.
setResponseCode(StatusCode) - Method in interface io.jooby.DefaultContext
 
setResponseCode(StatusCode) - Method in class io.jooby.ForwardingContext
 
setResponseCode(int) - Method in class io.jooby.ForwardingContext
 
setResponseCookie(Cookie) - Method in interface io.jooby.Context
Set/add a cookie to response.
setResponseCookie(Cookie) - Method in class io.jooby.ForwardingContext
 
setResponseHeader(String, Date) - Method in interface io.jooby.Context
Set response header.
setResponseHeader(String, Instant) - Method in interface io.jooby.Context
Set response header.
setResponseHeader(String, Object) - Method in interface io.jooby.Context
Set response header.
setResponseHeader(String, String) - Method in interface io.jooby.Context
Set response header.
setResponseHeader(String, Date) - Method in interface io.jooby.DefaultContext
 
setResponseHeader(String, Instant) - Method in interface io.jooby.DefaultContext
 
setResponseHeader(String, Object) - Method in interface io.jooby.DefaultContext
 
setResponseHeader(String, Date) - Method in class io.jooby.ForwardingContext
 
setResponseHeader(String, Instant) - Method in class io.jooby.ForwardingContext
 
setResponseHeader(String, Object) - Method in class io.jooby.ForwardingContext
 
setResponseHeader(String, String) - Method in class io.jooby.ForwardingContext
 
setResponseLength(long) - Method in interface io.jooby.Context
Set response content length header.
setResponseLength(long) - Method in class io.jooby.ForwardingContext
 
setResponseType(String) - Method in interface io.jooby.Context
Set response content type header.
setResponseType(MediaType) - Method in interface io.jooby.Context
Set response content type header.
setResponseType(MediaType, Charset) - Method in interface io.jooby.Context
Set response content type header.
setResponseType(MediaType) - Method in interface io.jooby.DefaultContext
 
setResponseType(String) - Method in class io.jooby.ForwardingContext
 
setResponseType(MediaType) - Method in class io.jooby.ForwardingContext
 
setResponseType(MediaType, Charset) - Method in class io.jooby.ForwardingContext
 
setReturnType(Type) - Method in class io.jooby.Route
Set route return type.
setRoute(Route) - Method in class io.jooby.AssetHandler
 
setRoute(Route) - Method in interface io.jooby.Context
Set matching route.
setRoute(Route) - Method in class io.jooby.CorsHandler
 
setRoute(Route) - Method in class io.jooby.ForwardingContext
 
setRoute(Route) - Method in class io.jooby.HeadHandler
 
setRoute(Route) - Method in interface io.jooby.Route.Decorator
Allows a handler to listen for route metadata.
setRoute(Route) - Method in interface io.jooby.Route.Handler
Allows a handler to listen for route metadata.
setRoute(Route) - Method in class io.jooby.TraceHandler
 
setRouterOptions(RouterOptions) - Method in class io.jooby.Jooby
 
setRouterOptions(RouterOptions) - Method in interface io.jooby.Router
Set router options.
setSecure(boolean) - Method in class io.jooby.Cookie
Set cookie secure flag..
setServer(String) - Method in class io.jooby.ServerOptions
Set server name.
setServerOptions(ServerOptions) - Method in class io.jooby.Jooby
Set server options.
setSessionOptions(SessionOptions) - Method in class io.jooby.Jooby
 
setSessionOptions(SessionOptions) - Method in interface io.jooby.Router
Set session options.
setStore(SessionStore) - Method in class io.jooby.SessionOptions
Set session store.
setTmpdir(Path) - Method in class io.jooby.Jooby
Set application temporary directory.
setUseCredentials(boolean) - Method in class io.jooby.Cors
If true, set the Access-Control-Allow-Credentials header.
setValue(String) - Method in class io.jooby.Cookie
Set cookie's value.
setWorker(Executor) - Method in class io.jooby.Jooby
 
setWorker(Executor) - Method in interface io.jooby.Router
Set a worker thread pool.
setWorkerThreads(int) - Method in class io.jooby.ServerOptions
Set number of worker threads (a.k.a application) to use.
sign(String, String) - Static method in class io.jooby.Cookie
Sign a value using a secret key.
size() - Method in interface io.jooby.FileUpload
 
size() - Method in interface io.jooby.Value
The number of values this one has.
SneakyThrows - Class in io.jooby
Collection of throwable interfaces to simplify exception handling on lambdas.
SneakyThrows.Consumer<V> - Interface in io.jooby
Throwable version of Consumer.
SneakyThrows.Consumer2<V1,V2> - Interface in io.jooby
Two argument version of SneakyThrows.Consumer.
SneakyThrows.Consumer3<V1,V2,V3> - Interface in io.jooby
Three argument version of SneakyThrows.Consumer.
SneakyThrows.Consumer4<V1,V2,V3,V4> - Interface in io.jooby
Four argument version of SneakyThrows.Consumer.
SneakyThrows.Consumer5<V1,V2,V3,V4,V5> - Interface in io.jooby
Five argument version of SneakyThrows.Consumer.
SneakyThrows.Consumer6<V1,V2,V3,V4,V5,V6> - Interface in io.jooby
Six argument version of SneakyThrows.Consumer.
SneakyThrows.Consumer7<V1,V2,V3,V4,V5,V6,V7> - Interface in io.jooby
Seven argument version of SneakyThrows.Consumer.
SneakyThrows.Consumer8<V1,V2,V3,V4,V5,V6,V7,V8> - Interface in io.jooby
Seven argument version of SneakyThrows.Consumer.
SneakyThrows.Function<V,R> - Interface in io.jooby
Throwable version of Function.
SneakyThrows.Function2<V1,V2,R> - Interface in io.jooby
Throwable version of BiFunction.
SneakyThrows.Function3<V1,V2,V3,R> - Interface in io.jooby
Function with three arguments.
SneakyThrows.Function4<V1,V2,V3,V4,R> - Interface in io.jooby
Function with four arguments.
SneakyThrows.Function5<V1,V2,V3,V4,V5,R> - Interface in io.jooby
Function with five arguments.
SneakyThrows.Function6<V1,V2,V3,V4,V5,V6,R> - Interface in io.jooby
Function with six arguments.
SneakyThrows.Function7<V1,V2,V3,V4,V5,V6,V7,R> - Interface in io.jooby
Function with seven arguments.
SneakyThrows.Function8<V1,V2,V3,V4,V5,V6,V7,V8,R> - Interface in io.jooby
Function with seven arguments.
SneakyThrows.Predicate<V> - Interface in io.jooby
Throwable version of SneakyThrows.Predicate.
SneakyThrows.Predicate2<V1,V2> - Interface in io.jooby
Throwable version of SneakyThrows.Predicate.
SneakyThrows.Runnable - Interface in io.jooby
Throwable version of Runnable.
SneakyThrows.Supplier<V> - Interface in io.jooby
Throwable version of Supplier.
start() - Method in class io.jooby.Jooby
Start application, find a web server, deploy application, start router, extension modules, etc..
start(Server) - Method in class io.jooby.Jooby
Call back method that indicates application was deploy it in the given server.
start(Jooby) - Method in interface io.jooby.Server
Start an application.
StatusCode - Class in io.jooby
HTTP status codes.
StatusCodeException - Exception in io.jooby
Runtime exception with status code.
StatusCodeException(StatusCode) - Constructor for exception io.jooby.StatusCodeException
Creates an error with the given status code.
StatusCodeException(StatusCode, String) - Constructor for exception io.jooby.StatusCodeException
Creates an error with the given status code.
StatusCodeException(StatusCode, String, Throwable) - Constructor for exception io.jooby.StatusCodeException
Creates an error with the given status code.
stop() - Method in class io.jooby.Jooby
Stop application, fire the stop event to cleanup resources.
stop() - Method in interface io.jooby.Server
Stop the server.
stream() - Method in interface io.jooby.Asset
 
stream() - Method in class io.jooby.AttachedFile
File content.
stream() - Method in interface io.jooby.Body
Body as input stream.
stream() - Method in interface io.jooby.FileUpload
Content as input stream.
SUPPORT_MEDIA_TYPE - Static variable in class io.jooby.Route
Handler for StatusCode.UNSUPPORTED_MEDIA_TYPE responses.
supports(ModelAndView) - Method in interface io.jooby.TemplateEngine
True if the template engine is able to render the given view.
SWITCHING_PROTOCOLS - Static variable in class io.jooby.StatusCode
101 Switching Protocols.
SWITCHING_PROTOCOLS_CODE - Static variable in class io.jooby.StatusCode
101 Switching Protocols.
systemEnv() - Static method in class io.jooby.Environment
Creates a Config object from System.getenv().
systemProperties() - Static method in class io.jooby.Environment
Creates a Config object from System.getProperties().

T

TEMPLATE_PATH - Static variable in interface io.jooby.TemplateEngine
Name of application property that defines the template path.
TemplateEngine - Interface in io.jooby
Template engine renderer.
TEMPORARY_REDIRECT - Static variable in class io.jooby.StatusCode
307 Temporary Redirect.
TEMPORARY_REDIRECT_CODE - Static variable in class io.jooby.StatusCode
307 Temporary Redirect.
test(V) - Method in interface io.jooby.SneakyThrows.Predicate
Apply the predicate.
test(V1, V2) - Method in interface io.jooby.SneakyThrows.Predicate2
Apply the predicate.
TEXT - Static variable in class io.jooby.MediaType
TEXT_PLAIN.
text - Static variable in class io.jooby.MediaType
TEXT_PLAIN.
then(ErrorHandler) - Method in interface io.jooby.ErrorHandler
Chain this error handler with next and produces a new error handler.
then(Route.After) - Method in interface io.jooby.Route.After
Chain this filter with next one and produces a new after filter.
then(Route.Before) - Method in interface io.jooby.Route.Before
Chain this filter with next one and produces a new before filter.
then(Route.Handler) - Method in interface io.jooby.Route.Before
Chain this decorator with a handler and produces a new handler.
then(Route.Decorator) - Method in interface io.jooby.Route.Decorator
Chain this decorator with another and produces a new decorator.
then(Route.Handler) - Method in interface io.jooby.Route.Decorator
Chain this decorator with a handler and produces a new handler.
then(Route.After) - Method in interface io.jooby.Route.Handler
Chain this after decorator with next and produces a new decorator.
throwingConsumer(SneakyThrows.Consumer<V>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing consumer.
throwingConsumer(SneakyThrows.Consumer2<V1, V2>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing consumer.
throwingConsumer(SneakyThrows.Consumer3<V1, V2, V3>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing consumer.
throwingConsumer(SneakyThrows.Consumer4<V1, V2, V3, V4>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing consumer.
throwingConsumer(SneakyThrows.Consumer5<V1, V2, V3, V4, V5>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing consumer.
throwingConsumer(SneakyThrows.Consumer6<V1, V2, V3, V4, V5, V6>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing consumer.
throwingConsumer(SneakyThrows.Consumer7<V1, V2, V3, V4, V5, V6, V7>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing consumer.
throwingConsumer(SneakyThrows.Consumer8<V1, V2, V3, V4, V5, V6, V7, V8>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing consumer.
throwingFunction(SneakyThrows.Function<V, R>) - Static method in class io.jooby.SneakyThrows
Factory method for SneakyThrows.Function and Function.
throwingFunction(SneakyThrows.Function2<V1, V2, R>) - Static method in class io.jooby.SneakyThrows
Factory method for SneakyThrows.Function2 and BiFunction.
throwingFunction(SneakyThrows.Function3<V1, V2, V3, R>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing function.
throwingFunction(SneakyThrows.Function4<V1, V2, V3, V4, R>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing function.
throwingFunction(SneakyThrows.Function5<V1, V2, V3, V4, V5, R>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing function.
throwingFunction(SneakyThrows.Function6<V1, V2, V3, V4, V5, V6, R>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing function.
throwingFunction(SneakyThrows.Function7<V1, V2, V3, V4, V5, V6, V7, R>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing function.
throwingFunction(SneakyThrows.Function8<V1, V2, V3, V4, V5, V6, V7, V8, R>) - Static method in class io.jooby.SneakyThrows
Factory method for throwing function.
throwingPredicate(SneakyThrows.Predicate<V>) - Static method in class io.jooby.SneakyThrows
Factory method for predicate.
throwingPredicate(SneakyThrows.Predicate2<V1, V2>) - Static method in class io.jooby.SneakyThrows
Factory method for predicate.
throwingRunnable(SneakyThrows.Runnable) - Static method in class io.jooby.SneakyThrows
Factory method for Runnable.
throwingSupplier(SneakyThrows.Supplier<V>) - Static method in class io.jooby.SneakyThrows
Factory method for SneakyThrows.Supplier.
to(Class<T>) - Method in interface io.jooby.Value
Convert this value to the given type.
to(Type) - Method in interface io.jooby.Value
Convert this value to the given type.
to(Reified<T>) - Method in interface io.jooby.Value
Convert this value to the given type.
TO_STRING - Static variable in interface io.jooby.MessageEncoder
To string renderer.
toContentTypeHeader(Charset) - Method in class io.jooby.MediaType
Render a content type header and add the charset parameter (when present).
toCookieString() - Method in class io.jooby.Cookie
Generates a cookie string.
toEnum(SneakyThrows.Function<String, T>) - Method in interface io.jooby.Value
Convert this value to an Enum.
toEnum(SneakyThrows.Function<String, T>, Function<String, String>) - Method in interface io.jooby.Value
Convert this value to an Enum.
toList() - Method in interface io.jooby.Value
Get list of values.
toList(Class<T>) - Method in interface io.jooby.Value
Get list of the given type.
toMap() - Method in interface io.jooby.Session
Read-only attributes.
toMap() - Method in interface io.jooby.Value
Value as single-value map.
toMultimap() - Method in interface io.jooby.FileUpload
Multi-value map with field name as key and file name as values.
toMultimap() - Method in interface io.jooby.Value
Value as multi-value map.
TOO_MANY_REQUESTS - Static variable in class io.jooby.StatusCode
429 Too Many Requests.
TOO_MANY_REQUESTS_CODE - Static variable in class io.jooby.StatusCode
429 Too Many Requests.
toOptional() - Method in interface io.jooby.Value
Get a value or empty optional.
toOptional(Class<T>) - Method in interface io.jooby.Value
Get a value or empty optional.
toSet() - Method in interface io.jooby.Value
Get set of values.
toSet(Class<T>) - Method in interface io.jooby.Value
Get set of the given type.
toString() - Method in class io.jooby.AttachedFile
 
toString() - Method in class io.jooby.Cookie
 
toString() - Method in class io.jooby.Environment
 
toString() - Method in class io.jooby.ForwardingContext
 
toString() - Method in class io.jooby.Jooby
 
toString() - Method in class io.jooby.MediaType
 
toString() - Method in class io.jooby.ModelAndView
 
toString() - Method in class io.jooby.Reified
 
toString() - Method in class io.jooby.Route
 
toString() - Method in class io.jooby.ServerOptions
 
toString() - Method in class io.jooby.ServiceKey
 
toString() - Method in class io.jooby.StatusCode
Return a string representation of this status code.
TRACE - Annotation Type in io.jooby.annotations
HTTP TRACE verb for mvc routes.
TRACE - Static variable in interface io.jooby.Router
HTTP TRACE.
trace(String, Route.Handler) - Method in interface io.jooby.Router
Add a HTTP TRACE handler.
TraceHandler - Class in io.jooby
The TRACE method performs a message loop-back test along the path to the target resource.
TraceHandler() - Constructor for class io.jooby.TraceHandler
 
tryAccept(V) - Method in interface io.jooby.SneakyThrows.Consumer
Performs this operation on the given argument.
tryAccept(V1, V2) - Method in interface io.jooby.SneakyThrows.Consumer2
Performs this operation on the given argument.
tryAccept(V1, V2, V3) - Method in interface io.jooby.SneakyThrows.Consumer3
Performs this operation on the given argument.
tryAccept(V1, V2, V3, V4) - Method in interface io.jooby.SneakyThrows.Consumer4
Performs this operation on the given arguments.
tryAccept(V1, V2, V3, V4, V5) - Method in interface io.jooby.SneakyThrows.Consumer5
Performs this operation on the given arguments.
tryAccept(V1, V2, V3, V4, V5, V6) - Method in interface io.jooby.SneakyThrows.Consumer6
Performs this operation on the given arguments.
tryAccept(V1, V2, V3, V4, V5, V6, V7) - Method in interface io.jooby.SneakyThrows.Consumer7
Performs this operation on the given arguments.
tryAccept(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface io.jooby.SneakyThrows.Consumer8
Performs this operation on the given arguments.
tryApply(V) - Method in interface io.jooby.SneakyThrows.Function
Apply this function to the given argument and produces a result.
tryApply(V1, V2) - Method in interface io.jooby.SneakyThrows.Function2
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3) - Method in interface io.jooby.SneakyThrows.Function3
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3, V4) - Method in interface io.jooby.SneakyThrows.Function4
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3, V4, V5) - Method in interface io.jooby.SneakyThrows.Function5
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3, V4, V5, V6) - Method in interface io.jooby.SneakyThrows.Function6
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3, V4, V5, V6, V7) - Method in interface io.jooby.SneakyThrows.Function7
Apply this function to the given argument and produces a result.
tryApply(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface io.jooby.SneakyThrows.Function8
Apply this function to the given argument and produces a result.
tryGet() - Method in interface io.jooby.SneakyThrows.Supplier
Computes/retrieves a value.
tryRun() - Method in interface io.jooby.SneakyThrows.Runnable
Run task.
tryTest(V) - Method in interface io.jooby.SneakyThrows.Predicate
Apply the predicate.
tryTest(V1, V2) - Method in interface io.jooby.SneakyThrows.Predicate2
Apply the predicate.
TypeMismatchException - Exception in io.jooby
Type mismatch exception.
TypeMismatchException(String, Type, Throwable) - Constructor for exception io.jooby.TypeMismatchException
Creates a type mismatch error.
TypeMismatchException(String, Type) - Constructor for exception io.jooby.TypeMismatchException
Creates a type mismatch error.

U

UNAUTHORIZED - Static variable in class io.jooby.StatusCode
401 Unauthorized.
UNAUTHORIZED_CODE - Static variable in class io.jooby.StatusCode
401 Unauthorized.
unbind(Object) - Static method in class io.jooby.RequestScope
Unbinds the session (if one) current associated with the context for the given session.
UNPROCESSABLE_ENTITY - Static variable in class io.jooby.StatusCode
422 Unprocessable Entity.
UNPROCESSABLE_ENTITY_CODE - Static variable in class io.jooby.StatusCode
422 Unprocessable Entity.
unsign(String, String) - Static method in class io.jooby.Cookie
Un-sign a value, previously signed with Cookie.sign(String, String).
UNSUPPORTED_MEDIA_TYPE - Static variable in interface io.jooby.MessageDecoder
UNSUPPORTED_MEDIA_TYPE - Static variable in class io.jooby.StatusCode
415 Unsupported Media Type.
UNSUPPORTED_MEDIA_TYPE_CODE - Static variable in class io.jooby.StatusCode
415 Unsupported Media Type.
UPGRADE_REQUIRED - Static variable in class io.jooby.StatusCode
426 Upgrade Required.
UPGRADE_REQUIRED_CODE - Static variable in class io.jooby.StatusCode
426 Upgrade Required.
uri(String) - Static method in class io.jooby.XSS
Perform am URI path escape operation on a String input using UTF-8 as encoding.
use(Router) - Method in class io.jooby.Jooby
 
use(Predicate<Context>, Router) - Method in class io.jooby.Jooby
 
use(String, Router) - Method in class io.jooby.Jooby
 
use(Predicate<Context>, Router) - Method in interface io.jooby.Router
Import routes from given router.
use(String, Router) - Method in interface io.jooby.Router
Import all routes from the given router and prefix them with the given path.
use(Router) - Method in interface io.jooby.Router
Import all routes from the given router.
USE_PROXY - Static variable in class io.jooby.StatusCode
305 Use Proxy.
USE_PROXY_CODE - Static variable in class io.jooby.StatusCode
305 Use Proxy.

V

value(Charset) - Method in interface io.jooby.Body
HTTP body as string.
value() - Method in interface io.jooby.FileUpload
 
value(Charset) - Method in interface io.jooby.FileUpload
File upload content as string.
value() - Method in class io.jooby.StatusCode
 
Value - Interface in io.jooby
Unified API for HTTP value.
value(String) - Method in interface io.jooby.Value
Convert this value to String (if possible) or fallback to given value when missing.
value(SneakyThrows.Function<String, T>) - Method in interface io.jooby.Value
Convert value using the given function.
value() - Method in interface io.jooby.Value
Get string value.
value(String, String) - Static method in interface io.jooby.Value
Creates a single value.
valueOf(String) - Static method in enum io.jooby.ExecutionMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in class io.jooby.MediaType
Parse a string value into a media-type.
valueOf(int) - Static method in class io.jooby.StatusCode
Return the enum constant of this type with the specified numeric value.
valueOrNull() - Method in interface io.jooby.Value
Convert this value to String (if possible) or null when missing.
values() - Static method in enum io.jooby.ExecutionMode
Returns an array containing the constants of this enum type, in the order they are declared.
VARIANT_ALSO_NEGOTIATES - Static variable in class io.jooby.StatusCode
506 Variant Also Negotiates.
VARIANT_ALSO_NEGOTIATES_CODE - Static variable in class io.jooby.StatusCode
506 Variant Also Negotiates.

W

WORKER_THREADS - Static variable in class io.jooby.ServerOptions
Number of worker (a.k.a application) threads.
write(String, Sender.Callback) - Method in interface io.jooby.Sender
Write a string chunk.
write(String, Charset, Sender.Callback) - Method in interface io.jooby.Sender
Write a string chunk.
write(byte[], Sender.Callback) - Method in interface io.jooby.Sender
Write a bytes chunk.

X

XML - Static variable in class io.jooby.MediaType
APPLICATION_XML.
xml - Static variable in class io.jooby.MediaType
APPLICATION_XML.
xml(String) - Static method in class io.jooby.XSS
Perform an XML 1.1 level 2 (markup-significant and all non-ASCII chars) escape operation on a String input.
XSS - Class in io.jooby
Set of escaping routines for fixing cross-site scripting (XSS).

_

_10MB - Static variable in class io.jooby.ServerOptions
10mb constant in bytes.
_16KB - Static variable in class io.jooby.ServerOptions
16kb constant in bytes.
_4KB - Static variable in class io.jooby.ServerOptions
4kb constant in bytes.
_8KB - Static variable in class io.jooby.ServerOptions
8kb constant in bytes.
A B C D E F G H I J K L M N O P Q R S T U V W X _ 
Skip navigation links

Copyright © 2019. All rights reserved.