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 Y _ 

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.
AccessLogHandler - Class in io.jooby
Access Log Handler
AccessLogHandler(Function<Context, String>) - Constructor for class io.jooby.AccessLogHandler
Creates a new AccessLogHandler and use the given function and userId provider.
AccessLogHandler() - Constructor for class io.jooby.AccessLogHandler
Creates a new AccessLogHandler without user identifier.
add(ValueNode) - Method in class io.jooby.internal.ArrayValue
 
add(List<String>) - Method in class io.jooby.internal.ArrayValue
 
add(String) - Method in class io.jooby.internal.ArrayValue
 
add(ContextInitializer) - Method in interface io.jooby.internal.ContextInitializer
 
add(ContextInitializer) - Method in class io.jooby.internal.ContextInitializerList
 
add(MessageEncoder) - Method in class io.jooby.internal.HttpMessageEncoder
 
addListener(Route.Complete) - Method in class io.jooby.CompletionListeners
Add a listener.
addTag(String) - Method in class io.jooby.Route
Add a tag to this route.
after(Route.After) - Method in class io.jooby.internal.RouterImpl
 
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(Route.Handler) - Method in class io.jooby.AccessLogHandler
 
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) - Method in class io.jooby.CsrfHandler
 
apply(Context, Throwable, StatusCode) - Method in class io.jooby.DefaultErrorHandler
 
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) - Method in interface io.jooby.internal.ContextInitializer
 
apply(Context) - Method in class io.jooby.internal.ContextInitializerList
 
apply(Context) - Method in class io.jooby.internal.CurrentUserInitializer
 
apply(Context) - Method in class io.jooby.internal.DefaultHiddenMethodLookup
 
apply(Route.Handler) - Method in class io.jooby.internal.GracefulShutdownHandler
 
apply(Context) - Method in class io.jooby.internal.HeadResponseHandler
 
apply(Context) - Method in class io.jooby.internal.HiddenMethodInitializer
 
apply(Context) - Method in class io.jooby.internal.NoByteRange
 
apply(InputStream) - Method in class io.jooby.internal.NoByteRange
 
apply(Context) - Method in class io.jooby.internal.NotSatisfiableByteRange
 
apply(InputStream) - Method in class io.jooby.internal.NotSatisfiableByteRange
 
apply(Context) - Method in class io.jooby.internal.SingleByteRange
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 class io.jooby.internal.SingleByteRange
For partial requests this method generates a new truncated input stream.
apply(Context) - Method in class io.jooby.RateLimitHandler
 
apply(Context, Object, Throwable) - 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(Context) - Method in interface io.jooby.Route.Complete
Callback method.
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(Context) - Method in class io.jooby.SSLHandler
 
apply(Route.Handler) - Method in class io.jooby.TraceHandler
 
apply(Route.Handler) - Method in class io.jooby.WebVariables
 
array(Context, String, List<String>) - Static method in interface io.jooby.Value
Creates a sequence/array of values.
ArrayValue - Class in io.jooby.internal
 
ArrayValue(Context, String) - Constructor for class io.jooby.internal.ArrayValue
 
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, 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.
attribute(String, Object) - Method in class io.jooby.RouteSet
Add one or more attributes applied to this route.
attribute(String) - Method in interface io.jooby.ServerSentEmitter
Get an attribute by his key.
attribute(String, Object) - Method in interface io.jooby.ServerSentEmitter
Set an application attribute.
attribute(String) - Method in interface io.jooby.WebSocket
Get an attribute by his key.
attribute(String, Object) - Method in interface io.jooby.WebSocket
Set an application attribute.

B

BAD_DATA - Static variable in class io.jooby.WebSocketCloseStatus
1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [RFC3629] data within a text message).
BAD_DATA_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [RFC3629] data within a text message).
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.exception
Specific exception for bad request.
BadRequestException(String) - Constructor for exception io.jooby.exception.BadRequestException
Creates a bad request exception.
BadRequestException(String, Throwable) - Constructor for exception io.jooby.exception.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
 
BeanConverter - Interface in io.jooby
Value converter for complex values that come from query, path, form, etc...
before(Route.Before) - Method in class io.jooby.internal.RouterImpl
 
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(Class<T>) - Method in interface io.jooby.Context
Convert the HTTP body to the given type.
body(Type) - Method in interface io.jooby.Context
Convert the HTTP body to the given type.
body(Class<T>) - Method in interface io.jooby.DefaultContext
 
body(Type) - Method in interface io.jooby.DefaultContext
 
body() - Method in class io.jooby.ForwardingContext
 
body(Class<T>) - Method in class io.jooby.ForwardingContext
 
body(Type) - 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.
ByteArrayBody - Class in io.jooby.internal
 
ByteArrayBody(Context, byte[]) - Constructor for class io.jooby.internal.ByteArrayBody
 
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() - Method in class io.jooby.internal.ByteArrayBody
 
bytes() - Method in class io.jooby.internal.FileBody
 
bytes() - Method in class io.jooby.internal.InputStreamBody
 
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.
channel() - Method in class io.jooby.internal.ByteArrayBody
 
channel() - Method in class io.jooby.internal.FileBody
 
channel() - Method in class io.jooby.internal.InputStreamBody
 
CHECKPOINT - Static variable in class io.jooby.StatusCode
103 Checkpoint.
CHECKPOINT_CODE - Static variable in class io.jooby.StatusCode
103 Checkpoint.
ClassPathAssetSource - Class in io.jooby.internal
 
ClassPathAssetSource(ClassLoader, String) - Constructor for class io.jooby.internal.ClassPathAssetSource
 
clear() - Method in class io.jooby.internal.SessionImpl
 
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 class io.jooby.internal.FileAsset
 
close() - Method in class io.jooby.internal.JarAsset
 
close() - Method in class io.jooby.internal.URLAsset
 
close() - Method in interface io.jooby.Sender
Close the sender.
close() - Method in interface io.jooby.ServerSentEmitter
Close the ServerSent and fir the close event.
close() - Method in interface io.jooby.WebSocket
Close the web socket and send a WebSocketCloseStatus.NORMAL code to client.
close(WebSocketCloseStatus) - Method in interface io.jooby.WebSocket
Close the web socket and send a close status code to client.
cluster(SneakyThrows.Function<String, Bucket>) - Static method in class io.jooby.RateLimitHandler
Rate limiter per IP/Remote address using a cluster.
cluster(SneakyThrows.Function<String, Bucket>, String) - Static method in class io.jooby.RateLimitHandler
Rate limiter per header key using a cluster.
cluster(SneakyThrows.Function<String, Bucket>, SneakyThrows.Function<Context, String>) - Static method in class io.jooby.RateLimitHandler
Rate limiter per key using a cluster.
combine(SessionToken...) - Static method in interface io.jooby.SessionToken
Combine/compose two or more session tokens.
compareTo(MediaType) - Method in class io.jooby.MediaType
 
completableFuture(Type) - Static method in class io.jooby.Reified
Creates a CompletableFuture type literal.
CompletionListeners - Class in io.jooby
Utility class that group one or more completion listeners and execute them in reverse order.
CompletionListeners() - Constructor for class io.jooby.CompletionListeners
 
compute(String, BiFunction<? super String, ? super String, ? extends String>) - Method in class io.jooby.internal.FlashMapImpl
 
compute(ClassLoader, Route, ExecutionMode, Executor, List<ResponseHandler>) - Static method in class io.jooby.internal.Pipeline
 
computeIfAbsent(String, Function<? super String, ? extends String>) - Method in class io.jooby.internal.FlashMapImpl
 
computeIfPresent(String, BiFunction<? super String, ? super String, ? extends String>) - Method in class io.jooby.internal.FlashMapImpl
 
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.
consumes(MediaType...) - Method in class io.jooby.RouteSet
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.
ContextInitializer - Interface in io.jooby.internal
 
ContextInitializerList - Class in io.jooby.internal
 
ContextInitializerList(ContextInitializer) - Constructor for class io.jooby.internal.ContextInitializerList
 
ContextParam - Annotation Type in io.jooby.annotations
Allow access to context attributes from MVC route.
CONTINUE - Static variable in class io.jooby.StatusCode
100 Continue.
CONTINUE_CODE - Static variable in class io.jooby.StatusCode
100 Continue.
convert(ValueNode, Class) - Method in interface io.jooby.BeanConverter
Convert a node value into more specific type.
convert(ValueNode, Class<T>) - Method in interface io.jooby.Context
Converts a value (single or hash) into the given type.
convert(ValueNode, Class<T>) - Method in interface io.jooby.DefaultContext
 
convert(ValueNode, Class<T>) - Method in class io.jooby.ForwardingContext
 
convert(ValueNode, Type, Router) - Static method in class io.jooby.internal.ValueConverters
 
convert(ValueNode, Class, Router) - Static method in class io.jooby.internal.ValueConverters
 
convert(Value, Class) - Method in interface io.jooby.ValueConverter
Convert simple to specific type.
converter(ValueConverter) - Method in class io.jooby.internal.RouterImpl
 
converter(BeanConverter) - Method in class io.jooby.internal.RouterImpl
 
converter(ValueConverter) - Method in class io.jooby.Jooby
 
converter(BeanConverter) - Method in class io.jooby.Jooby
 
converter(ValueConverter) - Method in interface io.jooby.Router
Add a custom string value converter.
converter(BeanConverter) - Method in interface io.jooby.Router
Add a custom bean value converter.
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
 
cookieId(Cookie) - Static method in interface io.jooby.SessionToken
Create a cookie-based Session ID.
CookieID(Cookie) - Constructor for class io.jooby.SessionToken.CookieID
Creates a Cookie 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(String, Config) - Static method in class io.jooby.Cookie
Attempt to create/parse a cookie from application configuration object.
create() - Static method in interface io.jooby.ErrorHandler
Creates a default error handler.
create(Context, Cookie) - Static method in interface io.jooby.FlashMap
Creates a new flash-scope using the given cookie.
create(Context) - Static method in interface io.jooby.Formdata
Creates a formdata object.
create(ClassLoader, SslOptions) - Method in interface io.jooby.internal.SslContextProvider
 
create(ClassLoader, SslOptions) - Method in class io.jooby.internal.SslPkcs12Provider
 
create(ClassLoader, SslOptions) - Method in class io.jooby.internal.SslX509Provider
 
create(Context) - Static method in interface io.jooby.Multipart
Creates a new multipart object.
create(Provider) - Method in interface io.jooby.MvcFactory
Creates an extension module.
create(Context, 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(Context, String) - Static method in interface io.jooby.Session
Creates a new session.
create(Context, String, Map<String, String>) - Static method in interface io.jooby.Session
Creates a new session.
create(Context, String, List<String>) - Static method in interface io.jooby.Value
Creates a value that fits better with the given values.
create(Context, String, String) - Static method in interface io.jooby.Value
Creates a value that fits better with the given values.
create(Context, byte[]) - Static method in interface io.jooby.WebSocketMessage
Creates a websocket message.
create(Context, String) - Static method in interface io.jooby.WebSocketMessage
Creates a websocket message.
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.
CsrfHandler - Class in io.jooby
Cross Site Request Forgery handler
CsrfHandler(String) - Constructor for class io.jooby.CsrfHandler
Creates a new CsrfHandler handler and use the given name to save the token in the Session and or extract the token from incoming requests.
CsrfHandler() - Constructor for class io.jooby.CsrfHandler
Creates a new CsrfHandler handler and use the given name to save the token in the Session and or extract the token from incoming requests.
CSS - Static variable in class io.jooby.MediaType
TEXT_CSS.
css - Static variable in class io.jooby.MediaType
TEXT_CSS.
CurrentUserInitializer - Class in io.jooby.internal
 
CurrentUserInitializer(Function<Context, Object>) - Constructor for class io.jooby.internal.CurrentUserInitializer
 

D

dateFormatter(DateTimeFormatter) - Method in class io.jooby.AccessLogHandler
Override the default date formatter.
dateFormatter(Function<Long, String>) - Method in class io.jooby.AccessLogHandler
Override the default date formatter.
dateFormatter(ZoneId) - Method in class io.jooby.AccessLogHandler
Keep the default formatter but use the provided timezone.
decode(Type, MediaType) - Method in interface io.jooby.Context
Convert the HTTP body to the given type.
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(Type, MediaType) - Method in interface io.jooby.DefaultContext
 
decode(Type, MediaType) - Method in class io.jooby.ForwardingContext
 
decode(String, boolean) - Static method in class io.jooby.internal.UrlParser
 
decode(Context, Type) - Method in interface io.jooby.MessageDecoder
Parse HTTP body into the given type.
decodePathSegment(String) - Static method in class io.jooby.internal.UrlParser
 
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.internal.RouterImpl
 
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.internal.RouterImpl
 
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_COMPRESSION_LEVEL - Static variable in class io.jooby.ServerOptions
Default compression level for gzip.
DEFAULT_FILTER - Static variable in class io.jooby.CsrfHandler
Default request filter.
DEFAULT_GENERATOR - Static variable in class io.jooby.CsrfHandler
UUID token generator.
DEFAULT_TIMEOUT - Static variable in interface io.jooby.SessionStore
Default session timeout in minutes.
DefaultContext - Interface in io.jooby
Like Context but with couple of default methods.
DefaultErrorHandler - Class in io.jooby
Default error handler with content negotiation support and optionally mute log statement base on status code or exception types.
DefaultErrorHandler() - Constructor for class io.jooby.DefaultErrorHandler
 
DefaultHiddenMethodLookup - Class in io.jooby.internal
 
DefaultHiddenMethodLookup(String) - Constructor for class io.jooby.internal.DefaultHiddenMethodLookup
 
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(Context, Session) - Method in class io.jooby.internal.SignedSessionStore
 
deleteSession(Context, Session) - Method in interface io.jooby.SessionStore
Delete a session from store.
deleteSession(Context, Session) - Method in class io.jooby.SessionStore.InMemory
 
deleteToken(Context, String) - Method in class io.jooby.internal.MultipleSessionToken
 
deleteToken(Context, String) - Method in class io.jooby.SessionToken.CookieID
 
deleteToken(Context, String) - Method in interface io.jooby.SessionToken
Delete session ID in the web context.
deleteToken(Context, String) - Method in class io.jooby.SessionToken.HeaderID
 
deleteToken(Context, String) - Method in class io.jooby.SessionToken.SignedCookie
 
description(String) - Method in class io.jooby.Route
Route description useful for documentation purpose from openAPI generator.
description(String) - Method in class io.jooby.RouteSet
Route description useful for documentation purpose from openAPI generator.
destroy() - Method in interface io.jooby.FileUpload
Free resources, delete temporary file.
destroy() - Method in class io.jooby.internal.RouterImpl
 
destroy() - Method in class io.jooby.internal.RouteTreeForwarding
 
destroy() - Method in class io.jooby.internal.SessionImpl
 
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.internal.RouterImpl
 
dispatch(Executor, Runnable) - Method in class io.jooby.internal.RouterImpl
 
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.
domain(String, Runnable) - Method in class io.jooby.internal.RouterImpl
 
domain(String, Router) - Method in class io.jooby.internal.RouterImpl
 
domain(String, Router) - Method in class io.jooby.Jooby
 
domain(String, Runnable) - Method in class io.jooby.Jooby
 
domain(String, Router) - Method in interface io.jooby.Router
Enabled routes for specific domain.
domain(String, Runnable) - Method in interface io.jooby.Router
Enabled routes for specific domain.
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(Context) - Static method in interface io.jooby.Body
Empty body.
empty(Context) - Static method in class io.jooby.internal.ByteArrayBody
 
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 class io.jooby.internal.HttpMessageEncoder
 
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.internal.RouterImpl
 
encoder(MediaType, MessageEncoder) - Method in class io.jooby.internal.RouterImpl
 
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 class io.jooby.internal.ServiceRegistryImpl
 
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.internal.FileAsset
 
equals(Object) - Method in class io.jooby.internal.URLAsset
 
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.internal.RouterImpl
 
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.internal.RouterImpl
 
errorCode(Throwable) - Method in class io.jooby.internal.RouterImpl
 
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(Runnable) - Method in class io.jooby.internal.ForwardingExecutor
 
execute(Context) - Method in class io.jooby.internal.RouterMatch
 
execute(Context) - Method in class io.jooby.internal.StaticRouterMatch
 
execute(Context) - Method in interface io.jooby.Router.Match
 
ExecutionMode - Enum in io.jooby
Execution mode.
executor(String, Executor) - Method in class io.jooby.internal.RouterImpl
 
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.
exists(String, String) - Method in class io.jooby.internal.RouteTreeForwarding
 
exists(String, String) - Method in class io.jooby.internal.RouteTreeIgnoreTrailingSlash
 
exists(String, String) - Method in class io.jooby.internal.RouteTreeLowerCasePath
 
exists(String, String) - Method in class io.jooby.internal.RouteTreeNormPath
 
expandOptionalVariables(String) - Static method in interface io.jooby.Router
Look for optional path parameter and expand the given pattern into multiple pattern.
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.
extended() - Method in class io.jooby.AccessLogHandler
Append Referer and User-Agent entries to the NCSA line.
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
 
file(String) - Method in class io.jooby.internal.MultipartNode
 
file(String) - Method in interface io.jooby.Multipart
A file upload that matches the given field name.
FileAsset - Class in io.jooby.internal
File system asset.
FileAsset(Path) - Constructor for class io.jooby.internal.FileAsset
Creates a new file asset.
FileBody - Class in io.jooby.internal
 
FileBody(Context, Path) - Constructor for class io.jooby.internal.FileBody
 
FileDiskAssetSource - Class in io.jooby.internal
 
FileDiskAssetSource(Path) - Constructor for class io.jooby.internal.FileDiskAssetSource
 
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
 
files() - Method in class io.jooby.internal.MultipartNode
 
files(String) - Method in class io.jooby.internal.MultipartNode
 
files() - Method in interface io.jooby.Multipart
All file uploads.
files(String) - Method in interface io.jooby.Multipart
All file uploads that matches the given field name.
FileUpload - Interface in io.jooby
File upload class, file upload are available when request body is encoded as MediaType.MULTIPART_FORMDATA.
find(String, String) - Method in class io.jooby.internal.RouteTreeForwarding
 
find(String, String) - Method in class io.jooby.internal.RouteTreeIgnoreTrailingSlash
 
find(String, String) - Method in class io.jooby.internal.RouteTreeLowerCasePath
 
find(String, String) - Method in class io.jooby.internal.RouteTreeNormPath
 
findSession(Context) - Method in class io.jooby.internal.MemorySessionStore
 
findSession(Context) - Method in class io.jooby.internal.SignedSessionStore
 
findSession(Context) - Method in interface io.jooby.SessionStore
Find an existing session by ID.
findSession(Context) - Method in class io.jooby.SessionStore.InMemory
 
findToken(Context) - Method in class io.jooby.internal.MultipleSessionToken
 
findToken(Context) - Method in class io.jooby.SessionToken.CookieID
 
findToken(Context) - Method in interface io.jooby.SessionToken
Find session ID.
findToken(Context) - Method in class io.jooby.SessionToken.HeaderID
 
findToken(Context) - Method in class io.jooby.SessionToken.SignedCookie
 
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.
FlashMapImpl - Class in io.jooby.internal
 
FlashMapImpl(Context, Cookie) - Constructor for class io.jooby.internal.FlashMapImpl
 
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.
FolderDiskAssetSource - Class in io.jooby.internal
 
FolderDiskAssetSource(Path) - Constructor for class io.jooby.internal.FolderDiskAssetSource
 
FORBIDDEN - Static variable in class io.jooby.StatusCode
403 Forbidden.
FORBIDDEN_CODE - Static variable in class io.jooby.StatusCode
403 Forbidden.
ForbiddenException - Exception in io.jooby.exception
Specific error for forbidden access.
ForbiddenException(String) - Constructor for exception io.jooby.exception.ForbiddenException
Creates a new forbidden exception.
ForbiddenException() - Constructor for exception io.jooby.exception.ForbiddenException
Creates a new forbidden exception.
form() - Method in interface io.jooby.Context
Formdata as ValueNode.
form(String) - Method in interface io.jooby.Context
Form field that matches the given name.
form(Class<T>) - Method in interface io.jooby.Context
Convert formdata to the given type.
form(String) - 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(Class<T>) - Method in class io.jooby.ForwardingContext
 
form - Static variable in class io.jooby.MediaType
FORM_URLENCODED.
FORM_URLENCODED - Static variable in class io.jooby.MediaType
FORM_URLENCODED.
format(OpenAPIModule.Format...) - Method in class io.jooby.OpenAPIModule
Enable what format are available (json or yaml).
Formdata - Interface in io.jooby
Formdata class for direct MVC parameter provisioning.
FormdataNode - Class in io.jooby.internal
 
FormdataNode(Context) - Constructor for class io.jooby.internal.FormdataNode
 
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.
forward(String) - Method in interface io.jooby.Context
Forward executing to another route.
forward(String) - Method in interface io.jooby.DefaultContext
 
forward(String) - Method in class io.jooby.ForwardingContext
 
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.
ForwardingExecutor - Class in io.jooby.internal
 
ForwardingExecutor() - Constructor for class io.jooby.internal.ForwardingExecutor
 
found(Route) - Method in class io.jooby.internal.RouterMatch
 
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.
from(Config) - Static method in class io.jooby.SslOptions
Get SSL options from application configuration.
from(Config, String...) - Static method in class io.jooby.SslOptions
Get SSL options from application configuration.

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.
GET - Annotation Type in io.jooby.annotations
HTTP GET verb for mvc routes.
get(int) - Method in class io.jooby.internal.ArrayValue
 
get(String) - Method in class io.jooby.internal.ArrayValue
 
get(int) - Method in class io.jooby.internal.ByteArrayBody
 
get(String) - Method in class io.jooby.internal.ByteArrayBody
 
get(int) - Method in class io.jooby.internal.FileBody
 
get(String) - Method in class io.jooby.internal.FileBody
 
get(String) - Method in class io.jooby.internal.HashValue
 
get(int) - Method in class io.jooby.internal.HashValue
 
get(int) - Method in class io.jooby.internal.InputStreamBody
 
get(String) - Method in class io.jooby.internal.InputStreamBody
 
get(String) - Method in class io.jooby.internal.MissingValue
 
get(int) - Method in class io.jooby.internal.MissingValue
 
get(String) - Method in class io.jooby.internal.SessionImpl
 
get(int) - Method in class io.jooby.internal.SingleValue
 
get(String) - Method in class io.jooby.internal.SingleValue
 
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.ValueNode
Get a value at the given position.
get(String) - Method in interface io.jooby.ValueNode
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.
getAllow() - Method in exception io.jooby.exception.MethodNotAllowedException
Allow methods.
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.internal.RouterImpl
 
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.
getAttributes() - Method in interface io.jooby.ServerSentEmitter
Context attributes (a.k.a request attributes).
getAttributes() - Method in interface io.jooby.WebSocket
Context attributes (a.k.a request 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.
getBeanConverters() - Method in class io.jooby.internal.RouterImpl
 
getBeanConverters() - Method in class io.jooby.Jooby
 
getBeanConverters() - Method in interface io.jooby.Router
Get all complex/bean value converters.
getBefore() - Method in class io.jooby.Route
Before pipeline or null.
getBufferSize() - Method in class io.jooby.ServerOptions
Server buffer size in bytes.
getCert() - Method in class io.jooby.SslOptions
A PKCS12 or X.509 certificate chain file in PEM format.
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.
getClientAuth() - Method in class io.jooby.SslOptions
The desired SSL client authentication mode for SSL channels in server mode.
getCode() - Method in class io.jooby.WebSocketCloseStatus
Status code.
getCompressionLevel() - Method in class io.jooby.ServerOptions
Indicates compression level to use while producing gzip responses.
getConfig() - Method in class io.jooby.Environment
Application configuration.
getConfig() - Method in class io.jooby.internal.RouterImpl
 
getConfig() - Method in class io.jooby.Jooby
Application configuration.
getConfig() - Method in interface io.jooby.Router
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.
getContentLength() - Method in class io.jooby.internal.NoByteRange
 
getContentLength() - Method in class io.jooby.internal.NotSatisfiableByteRange
 
getContentLength() - Method in class io.jooby.internal.SingleByteRange
New content length.
getContentRange() - Method in interface io.jooby.ByteRange
Value for Content-Range response header.
getContentRange() - Method in class io.jooby.internal.NoByteRange
 
getContentRange() - Method in class io.jooby.internal.NotSatisfiableByteRange
 
getContentRange() - Method in class io.jooby.internal.SingleByteRange
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 exception io.jooby.exception.NotAcceptableException
Content-Type or null.
getContentType() - Method in exception io.jooby.exception.UnsupportedMediaType
Content type.
getContentType() - Method in interface io.jooby.FileUpload
Content type of file upload.
getContentType() - Method in class io.jooby.internal.FileAsset
 
getContentType() - Method in class io.jooby.internal.JarAsset
 
getContentType() - Method in class io.jooby.internal.URLAsset
 
getContext() - Method in interface io.jooby.ServerSentEmitter
Originating HTTP context.
getContext() - Method in interface io.jooby.WebSocket
Originating HTTP context.
getContextPath() - Method in interface io.jooby.Context
Get application context path (a.k.a as base path).
getContextPath() - Method in class io.jooby.internal.RouterImpl
 
getContextPath() - Method in class io.jooby.Jooby
 
getContextPath() - Method in interface io.jooby.Router
Get application context path (a.k.a as base path).
getConverters() - Method in class io.jooby.internal.RouterImpl
 
getConverters() - Method in class io.jooby.Jooby
 
getConverters() - Method in interface io.jooby.Router
Get all simple/string value converters.
getCreationTime() - Method in class io.jooby.internal.SessionImpl
 
getCreationTime() - Method in interface io.jooby.Session
Session creation time.
getData() - Method in class io.jooby.ServerSentMessage
The data field for the message.
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.
getDescription() - Method in class io.jooby.Route
Route description useful for documentation purpose from openAPI generator.
getDescription() - Method in class io.jooby.RouteSet
Route description useful for documentation purpose from openAPI generator.
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.
getEnd() - Method in class io.jooby.internal.NoByteRange
 
getEnd() - Method in class io.jooby.internal.NotSatisfiableByteRange
 
getEnd() - Method in class io.jooby.internal.SingleByteRange
End range or -1.
getEnvironment() - Method in class io.jooby.internal.RouterImpl
 
getEnvironment() - Method in class io.jooby.Jooby
Application environment.
getEnvironment() - Method in interface io.jooby.Router
Application environment.
getErrorHandler() - Method in class io.jooby.internal.RouterImpl
 
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.
getEvent() - Method in class io.jooby.ServerSentMessage
A string identifying the type of event described.
getExecutionMode() - Method in class io.jooby.Jooby
Application execution mode.
getExecutorKey() - Method in class io.jooby.Route
Specify the name of the executor where the route is going to run.
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 or -1 when unknown.
getFlashCookie() - Method in class io.jooby.internal.RouterImpl
 
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
Deprecated.
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
Return the host that this request was sent to, in general this will be the value of the Host header, minus the port specifier.
getHost() - Method in interface io.jooby.DefaultContext
 
getHost() - Method in class io.jooby.ForwardingContext
 
getHost() - Method in class io.jooby.internal.ProxyPeerAddress
The X-Forwarded-Host (XFH) header is a de-facto standard header for identifying the original host requested by the client in the Host HTTP request header.
getHost() - Method in class io.jooby.ServerOptions
Server host, defaults is 0.0.0.0.
getHostAndPort() - Method in interface io.jooby.Context
Return the host and port that this request was sent to, in general this will be the value of the Host.
getHostAndPort() - Method in interface io.jooby.DefaultContext
 
getHostAndPort() - Method in class io.jooby.ForwardingContext
 
getId() - Method in class io.jooby.internal.SessionImpl
 
getId() - Method in interface io.jooby.ServerSentEmitter
Server-Sent ID.
getId() - Method in class io.jooby.ServerSentMessage
The event ID to set the EventSource object's last event ID value.
getId() - Method in interface io.jooby.Session
Session ID or null for stateless (usually signed) sessions.
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 class io.jooby.internal.SessionImpl
 
getLastAccessedTime() - Method in interface io.jooby.Session
Session last accessed time.
getLastEventId() - Method in interface io.jooby.ServerSentEmitter
Read the Last-Event-ID header and retrieve it.
getLastModified() - Method in interface io.jooby.Asset
 
getLastModified() - Method in class io.jooby.internal.FileAsset
 
getLastModified() - Method in class io.jooby.internal.JarAsset
 
getLastModified() - Method in class io.jooby.internal.URLAsset
 
getLog() - Method in class io.jooby.internal.RouterImpl
 
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 exception io.jooby.exception.MethodNotAllowedException
Requested method.
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.exception.MissingValueException
Parameter/attribute name.
getName() - Method in exception io.jooby.exception.TypeMismatchException
Parameter/attribute name.
getName() - Method in interface io.jooby.FileUpload
File key.
getName() - Method in class io.jooby.Jooby
Get application's name.
getName() - Method in class io.jooby.ServiceKey
Resource name or null.
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 class io.jooby.internal.ServiceRegistryImpl
 
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.
getPassword() - Method in class io.jooby.SslOptions
Certificate password.
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 interface io.jooby.Context
Return the port that this request was sent to.
getPort() - Method in interface io.jooby.DefaultContext
 
getPort() - Method in class io.jooby.ForwardingContext
 
getPort() - Method in class io.jooby.internal.ProxyPeerAddress
getPort() - Method in class io.jooby.ServerOptions
Server HTTP port.
getPrivateKey() - Method in class io.jooby.SslOptions
Private key file location.
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.
getReason() - Method in class io.jooby.WebSocketCloseStatus
Reason or null.
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
 
getRemoteAddress() - Method in class io.jooby.internal.ProxyPeerAddress
The X-Forwarded-For (XFF) header is a de-facto standard header for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or a load balancer.
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
 
getRequestPath() - Method in interface io.jooby.Context
Request path without decoding (a.k.a raw Path) without query string.
getRequestPath() - Method in exception io.jooby.exception.NotFoundException
Requested path.
getRequestPath() - 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
 
getRequestURL() - Method in interface io.jooby.Context
Recreates full/entire request url using the Host header.
getRequestURL(String) - Method in interface io.jooby.Context
Recreates full/entire request url using the Host header.
getRequestURL() - Method in interface io.jooby.DefaultContext
 
getRequestURL(String) - Method in interface io.jooby.DefaultContext
 
getRequestURL() - Method in class io.jooby.ForwardingContext
 
getRequestURL(String) - Method in class io.jooby.ForwardingContext
 
getResetHeadersOnError() - Method in interface io.jooby.Context
True if response headers are cleared on application error.
getResetHeadersOnError() - Method in class io.jooby.ForwardingContext
 
getResource(ClassLoader, String) - Method in class io.jooby.SslOptions
Search for a resource at the given path.
getResponseCode() - Method in interface io.jooby.Context
Get response status code.
getResponseCode() - Method in class io.jooby.ForwardingContext
 
getResponseHeader(String) - Method in interface io.jooby.Context
Get response header.
getResponseHeader(String) - 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
 
getRetry() - Method in class io.jooby.ServerSentMessage
The reconnection time to use when attempting to send the event.
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
 
getRouter() - Method in class io.jooby.Jooby
The underlying router.
getRouterOptions() - Method in class io.jooby.internal.RouterImpl
 
getRouterOptions() - Method in class io.jooby.Jooby
 
getRouterOptions() - Method in interface io.jooby.Router
Router options.
getRoutes() - Method in class io.jooby.internal.RouterImpl
 
getRoutes() - Method in class io.jooby.Jooby
 
getRoutes() - Method in interface io.jooby.Router
Returns all routes.
getRoutes() - Method in class io.jooby.RouteSet
Sub-routes.
getScheme() - Method in interface io.jooby.Context
HTTP scheme in lower case.
getScheme() - Method in class io.jooby.ForwardingContext
 
getScheme() - Method in class io.jooby.internal.ProxyPeerAddress
The X-Forwarded-Proto (XFP) header is a de-facto standard header for identifying the protocol (HTTP or HTTPS) that a client used to connect to your proxy or load balancer.
getSecurePort() - Method in class io.jooby.ServerOptions
HTTPs port or null.
getServer() - Method in class io.jooby.ServerOptions
Server name.
getServerHost() - Method in interface io.jooby.Context
Server host.
getServerHost() - Method in interface io.jooby.DefaultContext
 
getServerHost() - Method in class io.jooby.ForwardingContext
 
getServerOptions() - Method in class io.jooby.internal.RouterImpl
 
getServerOptions() - Method in class io.jooby.Jooby
Server options or null.
getServerOptions() - Method in interface io.jooby.Router
Available server options.
getServerPort() - Method in interface io.jooby.Context
Server port for current request.
getServerPort() - Method in interface io.jooby.DefaultContext
 
getServerPort() - Method in class io.jooby.ForwardingContext
 
getServices() - Method in class io.jooby.internal.RouterImpl
 
getServices() - Method in class io.jooby.Jooby
 
getServices() - Method in interface io.jooby.Router
Application service registry.
getSessions() - Method in interface io.jooby.WebSocket
Web sockets connected to the same path.
getSessionStore() - Method in class io.jooby.internal.RouterImpl
 
getSessionStore() - Method in class io.jooby.Jooby
 
getSessionStore() - Method in interface io.jooby.Router
Session store.
getSize() - Method in interface io.jooby.Asset
 
getSize() - Method in interface io.jooby.Body
Size in bytes.
getSize() - Method in class io.jooby.internal.ByteArrayBody
 
getSize() - Method in class io.jooby.internal.FileAsset
 
getSize() - Method in class io.jooby.internal.FileBody
 
getSize() - Method in class io.jooby.internal.InputStreamBody
 
getSize() - Method in class io.jooby.internal.JarAsset
 
getSize() - Method in class io.jooby.internal.URLAsset
 
getSsl() - Method in class io.jooby.ServerOptions
SSL options.
getSSLContext(ClassLoader) - Method in class io.jooby.ServerOptions
Creates SSL context using the given resource loader.
getStart() - Method in interface io.jooby.ByteRange
Start range or -1.
getStart() - Method in class io.jooby.internal.NoByteRange
 
getStart() - Method in class io.jooby.internal.NotSatisfiableByteRange
 
getStart() - Method in class io.jooby.internal.SingleByteRange
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.exception.StatusCodeException
Status code.
getStatusCode() - Method in class io.jooby.internal.NoByteRange
 
getStatusCode() - Method in class io.jooby.internal.NotSatisfiableByteRange
 
getStatusCode() - Method in class io.jooby.internal.SingleByteRange
 
getSubtype() - Method in class io.jooby.MediaType
Subtype segment of mediatype (trailing type).
getSummary() - Method in class io.jooby.Route
Route summary useful for documentation purpose from openAPI generator.
getSummary() - Method in class io.jooby.RouteSet
Route summary useful for documentation purpose from openAPI generator.
getTags() - Method in class io.jooby.Route
Route tags.
getTags() - Method in class io.jooby.RouteSet
Route tags.
getTmpdir() - Method in class io.jooby.internal.RouterImpl
 
getTmpdir() - Method in class io.jooby.Jooby
 
getTmpdir() - Method in interface io.jooby.Router
Application temporary directory.
getToken() - Method in class io.jooby.SessionStore.InMemory
Session token.
getTrustCert() - Method in class io.jooby.SslOptions
A PKCS12 or X.509 certificate chain file in PEM format.
getTrustPassword() - Method in class io.jooby.SslOptions
Trust certificate password.
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.
getType() - Method in class io.jooby.SslOptions
Certificate type.
getUseCredentials() - Method in class io.jooby.Cors
If true, set the Access-Control-Allow-Credentials header.
getUser() - Method in interface io.jooby.Context
Current user or null if none was set.
getUser() - Method in interface io.jooby.DefaultContext
 
getUser() - Method in class io.jooby.ForwardingContext
 
getValue() - Method in class io.jooby.Cookie
Cookie's value.
getValue() - Method in class io.jooby.MediaType
Media type value without parameters.
getVersion() - Method in class io.jooby.Jooby
Get application version (description/debugging purpose only).
getView() - Method in class io.jooby.ModelAndView
View name with file extension, like: index.html.
getWorker() - Method in class io.jooby.internal.RouterImpl
 
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.
GOING_AWAY - Static variable in class io.jooby.WebSocketCloseStatus
1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
GOING_AWAY_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page.
GONE - Static variable in class io.jooby.StatusCode
410 Gone.
GONE_CODE - Static variable in class io.jooby.StatusCode
410 Gone.
GracefulShutdown - Class in io.jooby
Install a handler that at application shutdown time: - Waits for existing requests to finished with an optional timeout - Incoming requests are resolved as Service Unavailable(503) NOTE: This extension must be installed at very beginning of your route pipeline.
GracefulShutdown(Duration) - Constructor for class io.jooby.GracefulShutdown
Creates a new shutdown handler and waits for existing requests to finish or for specified amount of time.
GracefulShutdown() - Constructor for class io.jooby.GracefulShutdown
Creates a new shutdown handler and waits for existing request to finish.
GracefulShutdownHandler - Class in io.jooby.internal
 
GracefulShutdownHandler(Duration) - Constructor for class io.jooby.internal.GracefulShutdownHandler
 

H

handle(ServerSentEmitter) - Method in interface io.jooby.ServerSentEmitter.Handler
Callback with a readonly context and sse configurer.
HARSH_DISCONNECT - Static variable in class io.jooby.WebSocketCloseStatus
1006 indicates that an endpoint is terminating the connection.
HARSH_DISCONNECT_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1006 indicates that an endpoint is terminating the connection.
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(Context, 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.internal.FileAsset
 
hashCode() - Method in class io.jooby.internal.URLAsset
 
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
 
HashValue - Class in io.jooby.internal
 
HashValue(Context, String) - Constructor for class io.jooby.internal.HashValue
 
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.
HeadContext - Class in io.jooby.internal
 
HeadContext(Context) - Constructor for class io.jooby.internal.HeadContext
Creates a new forwarding context.
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 ValueNode.
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.SessionToken
Create a header-based Session Token.
HeaderID(String) - Constructor for class io.jooby.SessionToken.HeaderID
Creates a new Header 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
 
HeadResponseHandler - Class in io.jooby.internal
 
HeadResponseHandler(Route.Handler) - Constructor for class io.jooby.internal.HeadResponseHandler
 
HiddenMethodInitializer - Class in io.jooby.internal
 
HiddenMethodInitializer(Function<Context, Optional<String>>) - Constructor for class io.jooby.internal.HiddenMethodInitializer
 
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.
HttpMessageEncoder - Class in io.jooby.internal
 
HttpMessageEncoder() - Constructor for class io.jooby.internal.HttpMessageEncoder
 

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.
ID_SIZE - Static variable in interface io.jooby.SessionToken
Size of default token generator.
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.
init(Context, WebSocketConfigurer) - Method in interface io.jooby.WebSocket.Initializer
Callback with a readonly context and websocket configurer.
InputStreamBody - Class in io.jooby.internal
 
InputStreamBody(Context, InputStream, long) - Constructor for class io.jooby.internal.InputStreamBody
 
insert(String, String, Route) - Method in class io.jooby.internal.RouteTreeForwarding
 
install(Jooby) - Method in interface io.jooby.Extension
Install, configure additional features to a Jooby application.
install(Jooby) - Method in class io.jooby.GracefulShutdown
 
install(Extension) - Method in class io.jooby.Jooby
Install extension module.
install(Jooby) - Method in class io.jooby.OpenAPIModule
 
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.
InvalidCsrfToken - Exception in io.jooby.exception
Generate by CSRF handler.
InvalidCsrfToken(String) - Constructor for exception io.jooby.exception.InvalidCsrfToken
Creates a new exception.
io.jooby - package io.jooby
 
io.jooby.annotations - package io.jooby.annotations
 
io.jooby.exception - package io.jooby.exception
 
io.jooby.internal - package io.jooby.internal
 
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
 
isDirectory() - Method in class io.jooby.internal.FileAsset
 
isDirectory() - Method in class io.jooby.internal.JarAsset
 
isDirectory() - Method in class io.jooby.internal.URLAsset
 
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.
isInMemory() - Method in class io.jooby.internal.ByteArrayBody
 
isInMemory() - Method in class io.jooby.internal.FileBody
 
isInMemory() - Method in class io.jooby.internal.InputStreamBody
 
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 class io.jooby.internal.SessionImpl
 
isModify() - Method in interface io.jooby.Session
True for modified/dirty sessions.
isNew() - Method in class io.jooby.internal.SessionImpl
 
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).
isOpen() - Method in interface io.jooby.ServerSentEmitter
True if connection is open.
isOpen() - Method in interface io.jooby.WebSocket
True if websocket is open.
isResponseStarted() - Method in interface io.jooby.Context
True if response already started.
isResponseStarted() - Method in class io.jooby.ForwardingContext
 
isResponseStarted() - Method in class io.jooby.internal.ReadOnlyContext
 
isSecure() - Method in interface io.jooby.Context
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS.
isSecure() - Method in class io.jooby.Cookie
Secure cookie.
isSecure() - Method in interface io.jooby.DefaultContext
 
isSecure() - Method in class io.jooby.ForwardingContext
 
isSingle() - Method in interface io.jooby.Value
True if this is a single value (not a hash or array).
isSSLEnabled() - Method in class io.jooby.ServerOptions
True when SSL is enabled.
isTextual() - Method in class io.jooby.MediaType
Indicates whenever this is a textual mediatype.
isTrustProxy() - Method in class io.jooby.internal.RouterImpl
 
isTrustProxy() - Method in class io.jooby.Jooby
 
isTrustProxy() - Method in interface io.jooby.Router
When true handles X-Forwarded-* headers by updating the values on the current context to match what was sent in the header(s).
iterator() - Method in class io.jooby.internal.ArrayValue
 
iterator() - Method in class io.jooby.internal.HashValue
 
iterator() - Method in class io.jooby.internal.SingleValue
 
iterator() - Method in interface io.jooby.ValueNode
Value iterator.

J

JarAsset - Class in io.jooby.internal
 
JarAsset(JarURLConnection) - Constructor for class io.jooby.internal.JarAsset
 
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.
keep() - Method in class io.jooby.internal.FlashMapImpl
 
keepAlive(long, TimeUnit) - Method in interface io.jooby.ServerSentEmitter
Send a comment message to the client.
keepAlive(long) - Method in interface io.jooby.ServerSentEmitter
Send a comment message to the client.
KeepAlive(ServerSentEmitter, long) - Constructor for class io.jooby.ServerSentEmitter.KeepAlive
 
key(List<String>) - Method in class io.jooby.internal.RouterMatch
 
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 class io.jooby.internal.ServiceRegistryImpl
 
keySet() - Method in interface io.jooby.ServiceRegistry
Registered service keys.

L

lastEventId(Class<T>) - Method in interface io.jooby.ServerSentEmitter
Read the Last-Event-ID header and retrieve it.
lateinit() - Method in interface io.jooby.Extension
True when extension needs to run while starting the application.
leadingSlash(String) - Static method in interface io.jooby.Router
Ensure path start with a /(leading slash).
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.
log(Consumer<String>) - Method in class io.jooby.AccessLogHandler
Log an NCSA line to somewhere.
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.internal.RouterImpl
 
match(String, String) - Method in class io.jooby.internal.RouterImpl
 
match(Context) - Method in class io.jooby.Jooby
 
match(String, String) - Method in class io.jooby.Jooby
 
match(Context) - Method in interface io.jooby.Router
Find a matching route using the given context.
match(String, String) - Method in interface io.jooby.Router
Find a matching route using the given context.
matches(String) - Method in interface io.jooby.Context
Check if the request path matches the given pattern.
matches(String) - Method in interface io.jooby.DefaultContext
 
matches(String) - Method in class io.jooby.ForwardingContext
 
matches() - Method in class io.jooby.internal.RouterMatch
 
matches() - Method in class io.jooby.internal.StaticRouterMatch
 
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.
MAX_BUFFER_SIZE - Static variable in interface io.jooby.WebSocket
Max message size for websocket (13k).
MediaType - Class in io.jooby
Implementation of media/content type.
memory(int) - Static method in interface io.jooby.SessionStore
Creates a cookie based session and store data in memory.
memory() - Static method in interface io.jooby.SessionStore
Creates a cookie based session and store data in memory.
memory(Duration) - Static method in interface io.jooby.SessionStore
Creates a cookie based session and store data in memory.
memory(Cookie) - Static method in interface io.jooby.SessionStore
Creates a cookie based session and store data in memory.
memory(Cookie, Duration) - Static method in interface io.jooby.SessionStore
Creates a cookie based session and store data in memory.
memory(SessionToken) - Static method in interface io.jooby.SessionStore
Creates a session store that save data in memory.
memory(SessionToken, Duration) - Static method in interface io.jooby.SessionStore
Creates a session store that save data in memory.
MemorySessionStore - Class in io.jooby.internal
 
MemorySessionStore(SessionToken, Duration) - Constructor for class io.jooby.internal.MemorySessionStore
 
merge(String, String, BiFunction<? super String, ? super String, ? extends String>) - Method in class io.jooby.internal.FlashMapImpl
 
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.
methodNotAllowed(Set<String>) - Method in class io.jooby.internal.RouterMatch
 
MethodNotAllowedException - Exception in io.jooby.exception
Whether a HTTP method isn't supported.
MethodNotAllowedException(String, List<String>) - Constructor for exception io.jooby.exception.MethodNotAllowedException
Creates a new method not allowed exception.
METHODS - Static variable in interface io.jooby.Router
HTTP Methods.
missing(String, String, MessageEncoder) - Method in class io.jooby.internal.RouterMatch
 
missing(String) - Static method in interface io.jooby.Value
Creates a missing value.
MissingValue - Class in io.jooby.internal
 
MissingValue(String) - Constructor for class io.jooby.internal.MissingValue
 
MissingValueException - Exception in io.jooby.exception
Missing exception.
MissingValueException(String) - Constructor for exception io.jooby.exception.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(Class<T>) - Method in interface io.jooby.Context
Convert multipart data to the given type.
multipart(String) - 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(Class<T>) - Method in class io.jooby.ForwardingContext
 
multipart - Static variable in class io.jooby.MediaType
MULTIPART_FORM_DATA.
Multipart - Interface in io.jooby
Multipart class for direct MVC parameter provisioning.
MULTIPART_FORMDATA - 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
 
MultipartNode - Class in io.jooby.internal
 
MultipartNode(Context) - Constructor for class io.jooby.internal.MultipartNode
 
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.
MultipleSessionToken - Class in io.jooby.internal
 
MultipleSessionToken(SessionToken...) - Constructor for class io.jooby.internal.MultipleSessionToken
 
mute(StatusCode...) - Method in class io.jooby.DefaultErrorHandler
Generate a log.debug call if any of the status code error occurs as exception.
mute(Class<? extends Exception>...) - Method in class io.jooby.DefaultErrorHandler
Generate a log.debug call if any of the exception types occurs.
mvc(Object) - Method in class io.jooby.internal.RouterImpl
 
mvc(Class) - Method in class io.jooby.internal.RouterImpl
 
mvc(Class<T>, Provider<T>) - Method in class io.jooby.internal.RouterImpl
 
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.
MvcFactory - Interface in io.jooby
Created by a Jooby annotation processor tool using the ServiceLoader API.
mvcRouterNotFound(Class) - Static method in exception io.jooby.Usage
Creates a mvc route missing exception.

N

NAME - Static variable in interface io.jooby.FlashMap
Flash map attribute.
name() - Method in class io.jooby.internal.ArrayValue
 
name() - Method in class io.jooby.internal.ByteArrayBody
 
name() - Method in class io.jooby.internal.FileBody
 
name() - Method in class io.jooby.internal.HashValue
 
name() - Method in class io.jooby.internal.InputStreamBody
 
name() - Method in class io.jooby.internal.MissingValue
 
name() - Method in class io.jooby.internal.SingleValue
 
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(Context) - Method in class io.jooby.internal.SignedSessionStore
 
newSession(Context) - Method in class io.jooby.SessionStore.InMemory
 
newSession(Context) - Method in interface io.jooby.SessionStore
Creates a new session.
newToken() - Method in interface io.jooby.SessionToken
Generate a new token.
next() - Method in class io.jooby.internal.HeadResponseHandler
 
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.
NoByteRange - Class in io.jooby.internal
 
NoByteRange(long) - Constructor for class io.jooby.internal.NoByteRange
 
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.
NORMAL - Static variable in class io.jooby.WebSocketCloseStatus
1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
NORMAL_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
normalizePath(String) - Static method in interface io.jooby.Router
Normalize a path by removing consecutive /(slashes).
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 - Static variable in class io.jooby.WebSocketCloseStatus
1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).
NOT_ACCEPTABLE_CODE - Static variable in class io.jooby.StatusCode
406 Not Acceptable.
NOT_ACCEPTABLE_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message).
NOT_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.
NotAcceptableException - Exception in io.jooby.exception
Whether the accept header isn't acceptable.
NotAcceptableException(String) - Constructor for exception io.jooby.exception.NotAcceptableException
Creates a new exception.
NotFoundException - Exception in io.jooby.exception
When a request doesn't match any of the available routes.
NotFoundException(String) - Constructor for exception io.jooby.exception.NotFoundException
Creates a not found exception.
noTrailingSlash(String) - Static method in interface io.jooby.Router
Strip trailing slashes.
NotSatisfiableByteRange - Class in io.jooby.internal
 
NotSatisfiableByteRange(String, long) - Constructor for class io.jooby.internal.NotSatisfiableByteRange
 

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(Context, InputStream, long) - Static method in interface io.jooby.Body
Creates a HTTP body from input stream.
of(Context, byte[]) - Static method in interface io.jooby.Body
Creates a HTTP body from byte array.
of(Context, 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.
onClose(SneakyThrows.Runnable) - Method in interface io.jooby.ServerSentEmitter
Generated when client close the connection or when explicit calls to ServerSentEmitter.close().
onClose(WebSocket, WebSocketCloseStatus) - Method in interface io.jooby.WebSocket.OnClose
Generated when client close the connection or when explicit calls to WebSocket.close(WebSocketCloseStatus).
onClose(WebSocket.OnClose) - Method in interface io.jooby.WebSocketConfigurer
Register an onClose callback.
onComplete(Route.Complete) - Method in interface io.jooby.Context
Add a complete listener.
onComplete(Route.Complete) - Method in class io.jooby.ForwardingContext
 
onComplete(Context, Throwable) - Method in interface io.jooby.Sender.Callback
Callback after for write operation.
onConnect(WebSocket) - Method in interface io.jooby.WebSocket.OnConnect
On connect callback with recently created web socket.
onConnect(WebSocket.OnConnect) - Method in interface io.jooby.WebSocketConfigurer
Register an onConnect callback.
onError(WebSocket, Throwable) - Method in interface io.jooby.WebSocket.OnError
Error callback, let you listen for exception.
onError(WebSocket.OnError) - Method in interface io.jooby.WebSocketConfigurer
Register an onError callback.
onMessage(WebSocket, WebSocketMessage) - Method in interface io.jooby.WebSocket.OnMessage
Generated when a client send a message.
onMessage(WebSocket.OnMessage) - Method in interface io.jooby.WebSocketConfigurer
Register an onMessage callback.
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.
OpenAPIModule - Class in io.jooby
OpenAPI supports for Jooby.
OpenAPIModule(String) - Constructor for class io.jooby.OpenAPIModule
Creates an OpenAPI module.
OpenAPIModule() - Constructor for class io.jooby.OpenAPIModule
Creates an OpenAPI module.
OpenAPIModule.Format - Enum in io.jooby
Available formats.
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

parameterNameNotPresent(Parameter) - Static method in exception io.jooby.Usage
Thrown when the reflective bean converter has no access to a parameter name.
parse(String, long) - Static method in interface io.jooby.ByteRange
Parse a byte range request value.
parse(Context) - Static method in class io.jooby.internal.ProxyPeerAddress
 
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(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 ValueNode object.
path(String) - 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(Class<T>) - Method in class io.jooby.ForwardingContext
 
path() - Method in class io.jooby.ForwardingContext
 
path(String, Runnable) - Method in class io.jooby.internal.RouterImpl
 
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.
pathKeys(String, BiConsumer<String, 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 class io.jooby.internal.RouterMatch
 
pathMap() - Method in class io.jooby.internal.StaticRouterMatch
 
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.
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.
Pipeline - Class in io.jooby.internal
 
Pipeline() - Constructor for class io.jooby.internal.Pipeline
 
PKCS12 - Static variable in class io.jooby.SslOptions
PKCS12 constant.
pkcs12(String, String) - Static method in class io.jooby.SslOptions
Creates SSL options for PKCS12 certificate type.
POLICY_VIOLATION - Static variable in class io.jooby.WebSocketCloseStatus
1008 indicates that an endpoint is terminating the connection because it has received a message that violates its policy.
POLICY_VIOLATION_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1008 indicates that an endpoint is terminating the connection because it has received a message that violates its policy.
pop() - Method in class io.jooby.internal.RouterMatch
 
PORT - Static variable in interface io.jooby.Context
Constant for default HTTP port.
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.
produces(MediaType...) - Method in class io.jooby.RouteSet
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.
PROTOCOL_ERROR - Static variable in class io.jooby.WebSocketCloseStatus
1002 indicates that an endpoint is terminating the connection due to a protocol error.
PROTOCOL_ERROR_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1002 indicates that an endpoint is terminating the connection due to a protocol error.
providers() - Static method in interface io.jooby.internal.SslContextProvider
 
ProvisioningException - Exception in io.jooby.exception
Provisioning exception, throws by MVC routes when parameter binding fails.
ProvisioningException(Parameter, Throwable) - Constructor for exception io.jooby.exception.ProvisioningException
Creates a provisioning exception.
ProvisioningException(String, Throwable) - Constructor for exception io.jooby.exception.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.
PROXY_PEER_ADDRESS - Static variable in interface io.jooby.internal.ContextInitializer
 
ProxyPeerAddress - Class in io.jooby.internal
 
PUT - Annotation Type in io.jooby.annotations
HTTP PUT verb for mvc routes.
put(String, ValueNode) - 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, String) - Method in class io.jooby.internal.FlashMapImpl
 
put(String, String) - Method in class io.jooby.internal.HashValue
 
put(String, ValueNode) - Method in class io.jooby.internal.HashValue
 
put(String, Collection<String>) - Method in class io.jooby.internal.HashValue
 
put(Map<String, Collection<String>>) - Method in class io.jooby.internal.HashValue
 
put(String, FileUpload) - Method in class io.jooby.internal.MultipartNode
 
put(ServiceKey<T>, T) - Method in class io.jooby.internal.ServiceRegistryImpl
 
put(ServiceKey<T>, Provider<T>) - Method in class io.jooby.internal.ServiceRegistryImpl
 
put(String, String) - Method in class io.jooby.internal.SessionImpl
 
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(String, FileUpload) - Method in interface io.jooby.Multipart
Put/Add a file into this multipart request.
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.
putAll(Map<? extends String, ? extends String>) - Method in class io.jooby.internal.FlashMapImpl
 
putIfAbsent(String, String) - Method in class io.jooby.internal.FlashMapImpl
 
putIfAbsent(ServiceKey<T>, T) - Method in class io.jooby.internal.ServiceRegistryImpl
 
putIfAbsent(ServiceKey<T>, Provider<T>) - Method in class io.jooby.internal.ServiceRegistryImpl
 
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 ValueNode object.
query(String) - Method in interface io.jooby.Context
Get a query parameter that matches the given name.
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(Class<T>) - Method in interface io.jooby.DefaultContext
 
query() - Method in class io.jooby.ForwardingContext
 
query(String) - 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() - Method in class io.jooby.internal.QueryStringValue
 
queryString(Context, String) - Static method in class io.jooby.internal.UrlParser
 
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.
QueryStringValue - Class in io.jooby.internal
 
QueryStringValue(Context, String) - Constructor for class io.jooby.internal.QueryStringValue
 

R

RateLimitHandler - Class in io.jooby
Rate limit handler using https://github.com/vladimir-bukhtoyarov/bucket4j.
RateLimitHandler(SneakyThrows.Function<String, Bucket>) - Constructor for class io.jooby.RateLimitHandler
Rate limit per IP/Remote Address.
RateLimitHandler(SneakyThrows.Function<String, Bucket>, String) - Constructor for class io.jooby.RateLimitHandler
Rate limit per header key.
RateLimitHandler(SneakyThrows.Function<String, Bucket>, SneakyThrows.Function<Context, String>) - Constructor for class io.jooby.RateLimitHandler
Rate limiter with a custom key provider.
RateLimitHandler(Bucket) - Constructor for class io.jooby.RateLimitHandler
Rate limiter with a shared/global bucket.
rawType(Type) - Static method in class io.jooby.Reified
Get raw type (class) from given type.
readOnly(Context) - Static method in interface io.jooby.Context
Wrap a HTTP context and make read only.
ReadOnlyContext - Class in io.jooby.internal
 
ReadOnlyContext(Context) - Constructor for class io.jooby.internal.ReadOnlyContext
 
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
 
redoc(String) - Method in class io.jooby.OpenAPIModule
Customize the redoc-ui path.
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.exception
Thrown when a required service is not available.
RegistryException(String, Throwable) - Constructor for exception io.jooby.exception.RegistryException
Constructor.
RegistryException(String) - Constructor for exception io.jooby.exception.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(ContextInitializer) - Method in class io.jooby.internal.ContextInitializerList
 
remove(Object, Object) - Method in class io.jooby.internal.FlashMapImpl
 
remove(Object) - Method in class io.jooby.internal.FlashMapImpl
 
remove(String) - Method in class io.jooby.internal.SessionImpl
 
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
 
removeResponseHeader(String) - Method in class io.jooby.internal.ReadOnlyContext
 
removeResponseHeaders() - Method in interface io.jooby.Context
Clear/reset all the headers, including cookies.
removeResponseHeaders() - 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(Object) - Method in class io.jooby.internal.HeadContext
 
render(Object) - Method in class io.jooby.internal.ReadOnlyContext
 
render(Object) - Method in class io.jooby.internal.WebSocketSender
 
render(Context, ModelAndView) - Method in interface io.jooby.TemplateEngine
Render a model and view instance as String.
render(Object) - Method in interface io.jooby.WebSocket
Encode a value and send a text message to client.
render(Object, boolean) - Method in interface io.jooby.WebSocket
Encode a value and send a text message to current client (broadcast = false) or to ALL connected clients under the websocket path (broadcast = true).
renewId() - Method in class io.jooby.internal.SessionImpl
 
renewId() - Method in interface io.jooby.Session
Assign a new ID to the existing session.
renewSessionId(Context, Session) - Method in class io.jooby.internal.SignedSessionStore
 
renewSessionId(Context, Session) - Method in class io.jooby.SessionStore.InMemory
 
renewSessionId(Context, Session) - Method in interface io.jooby.SessionStore
Renew Session ID.
replace(String, String, String) - Method in class io.jooby.internal.FlashMapImpl
 
replace(String, String) - Method in class io.jooby.internal.FlashMapImpl
 
replaceAll(BiFunction<? super String, ? super String, ? extends String>) - Method in class io.jooby.internal.FlashMapImpl
 
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.
requestHeader(String...) - Method in class io.jooby.AccessLogHandler
Append request headers to the end of line.
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.internal.RouterImpl
 
require(Class<T>) - Method in class io.jooby.internal.RouterImpl
 
require(ServiceKey<T>) - Method in class io.jooby.internal.RouterImpl
 
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
 
REQUIRED_EXTENSION - Static variable in class io.jooby.WebSocketCloseStatus
1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake.
REQUIRED_EXTENSION_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake.
requireNonNull(String, T) - Static method in exception io.jooby.exception.MissingValueException
Check if the given value is null and throw a MissingValueException exception.
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 class io.jooby.internal.ClassPathAssetSource
 
resolve(String) - Method in class io.jooby.internal.FileDiskAssetSource
 
resolve(String) - Method in class io.jooby.internal.FolderDiskAssetSource
 
resolve(String) - Method in interface io.jooby.ValueNode
Process the given expression and resolve value references.
resolve(String, boolean) - Method in interface io.jooby.ValueNode
Process the given expression and resolve value references.
resolve(String, String, String) - Method in interface io.jooby.ValueNode
Process the given expression and resolve value references.
resolve(String, boolean, String, String) - Method in interface io.jooby.ValueNode
Process the given expression and resolve value references.
responseHandler(ResponseHandler) - Method in class io.jooby.internal.RouterImpl
 
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.
responseHeader(String...) - Method in class io.jooby.AccessLogHandler
Append response headers to the end of line.
responseSender() - Method in interface io.jooby.Context
HTTP response channel as chunker.
responseSender() - Method in class io.jooby.ForwardingContext
 
responseSender() - Method in class io.jooby.internal.HeadContext
 
responseSender() - Method in class io.jooby.internal.ReadOnlyContext
 
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
 
responseStream() - Method in class io.jooby.internal.HeadContext
 
responseStream(SneakyThrows.Consumer<OutputStream>) - Method in class io.jooby.internal.ReadOnlyContext
 
responseStream(MediaType, SneakyThrows.Consumer<OutputStream>) - Method in class io.jooby.internal.ReadOnlyContext
 
responseStream() - Method in class io.jooby.internal.ReadOnlyContext
 
responseStream(MediaType) - Method in class io.jooby.internal.ReadOnlyContext
 
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
 
responseWriter() - Method in class io.jooby.internal.HeadContext
 
responseWriter(MediaType, SneakyThrows.Consumer<PrintWriter>) - Method in class io.jooby.internal.ReadOnlyContext
 
responseWriter(SneakyThrows.Consumer<PrintWriter>) - Method in class io.jooby.internal.ReadOnlyContext
 
responseWriter(MediaType, Charset, SneakyThrows.Consumer<PrintWriter>) - Method in class io.jooby.internal.ReadOnlyContext
 
responseWriter() - Method in class io.jooby.internal.ReadOnlyContext
 
responseWriter(MediaType) - Method in class io.jooby.internal.ReadOnlyContext
 
responseWriter(MediaType, Charset) - Method in class io.jooby.internal.ReadOnlyContext
 
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.
returnType(Object) - Method in class io.jooby.internal.RouteAnalyzer
 
reverse(Map<String, Object>) - Method in class io.jooby.Route
Recreate a path pattern using the given variables.
reverse(Object...) - Method in class io.jooby.Route
Recreate a path pattern using the given variables.
reverse(String, Object...) - Static method in interface io.jooby.Router
Recreate a path pattern using the given variables.
reverse(String, Map<String, Object>) - Static method in interface io.jooby.Router
Recreate a path pattern using the given variables.
RFC1123 - Static variable in interface io.jooby.Context
RFC1123 date formatter.
RFC1123_PATTERN - Static variable in interface io.jooby.Context
RFC1123 date pattern.
RND - Static variable in interface io.jooby.SessionToken
Secure random for default session token generator.
route(String, String, Route.Handler) - Method in class io.jooby.internal.RouterImpl
 
route() - Method in class io.jooby.internal.RouterMatch
 
route() - Method in class io.jooby.internal.StaticRouterMatch
 
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(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.Aware - Interface in io.jooby
 
Route.Before - Interface in io.jooby
Decorates a handler and run logic before handler is executed.
Route.Complete - Interface in io.jooby
Listener interface for events that are run at the completion of a request/response cycle (i.e.
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.
RouteAnalyzer - Class in io.jooby.internal
 
RouteAnalyzer(ClassSource, boolean) - Constructor for class io.jooby.internal.RouteAnalyzer
 
Router - Interface in io.jooby
Routing DSL functions.
Router.Match - Interface in io.jooby
Find route result.
RouterImpl - Class in io.jooby.internal
 
RouterImpl(ClassLoader) - Constructor for class io.jooby.internal.RouterImpl
 
RouterMatch - Class in io.jooby.internal
 
RouterMatch() - Constructor for class io.jooby.internal.RouterMatch
 
RouterOption - Enum in io.jooby
Router matching options.
routes(Runnable) - Method in class io.jooby.internal.RouterImpl
 
routes(Runnable) - Method in class io.jooby.Jooby
 
routes(Runnable) - Method in interface io.jooby.Router
Group one or more routes.
RouteSet - Class in io.jooby
Give you access to all routes created inside a Router.path(String, Runnable).
RouteSet() - Constructor for class io.jooby.RouteSet
 
RouteTreeForwarding - Class in io.jooby.internal
 
RouteTreeForwarding(RouteTree) - Constructor for class io.jooby.internal.RouteTreeForwarding
 
RouteTreeIgnoreTrailingSlash - Class in io.jooby.internal
 
RouteTreeIgnoreTrailingSlash(RouteTree) - Constructor for class io.jooby.internal.RouteTreeIgnoreTrailingSlash
 
RouteTreeLowerCasePath - Class in io.jooby.internal
 
RouteTreeLowerCasePath(RouteTree) - Constructor for class io.jooby.internal.RouteTreeLowerCasePath
 
RouteTreeNormPath - Class in io.jooby.internal
 
RouteTreeNormPath(RouteTree) - Constructor for class io.jooby.internal.RouteTreeNormPath
 
run(Context) - Method in class io.jooby.CompletionListeners
Execute all listeners.
run() - Method in class io.jooby.ServerSentEmitter.KeepAlive
 
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

saveSession(Context, Session) - Method in class io.jooby.internal.SignedSessionStore
 
saveSession(Context, Session) - Method in class io.jooby.SessionStore.InMemory
 
saveSession(Context, Session) - Method in interface io.jooby.SessionStore
Save a session.
saveToken(Context, String) - Method in class io.jooby.internal.MultipleSessionToken
 
saveToken(Context, String) - Method in class io.jooby.SessionToken.CookieID
 
saveToken(Context, String) - Method in class io.jooby.SessionToken.HeaderID
 
saveToken(Context, String) - Method in interface io.jooby.SessionToken
Save session ID in the web context.
saveToken(Context, String) - Method in class io.jooby.SessionToken.SignedCookie
 
SECURE_PORT - Static variable in interface io.jooby.Context
Constant for default HTTPS port.
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.
selfSigned() - Static method in class io.jooby.SslOptions
Creates SSL options using a self-signed certificate using PKCS12.
selfSigned(String) - Static method in class io.jooby.SslOptions
Creates SSL options using a self-signed certificate.
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(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(byte[]...) - Method in interface io.jooby.DefaultContext
 
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(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
 
send(Path) - Method in class io.jooby.internal.HeadContext
 
send(byte[]) - Method in class io.jooby.internal.HeadContext
 
send(String) - Method in class io.jooby.internal.HeadContext
 
send(ByteBuffer) - Method in class io.jooby.internal.HeadContext
 
send(FileChannel) - Method in class io.jooby.internal.HeadContext
 
send(AttachedFile) - Method in class io.jooby.internal.HeadContext
 
send(InputStream) - Method in class io.jooby.internal.HeadContext
 
send(StatusCode) - Method in class io.jooby.internal.HeadContext
 
send(ReadableByteChannel) - Method in class io.jooby.internal.HeadContext
 
send(String, Charset) - Method in class io.jooby.internal.HeadContext
 
send(Path) - Method in class io.jooby.internal.ReadOnlyContext
 
send(byte[]) - Method in class io.jooby.internal.ReadOnlyContext
 
send(String) - Method in class io.jooby.internal.ReadOnlyContext
 
send(ByteBuffer) - Method in class io.jooby.internal.ReadOnlyContext
 
send(FileChannel) - Method in class io.jooby.internal.ReadOnlyContext
 
send(AttachedFile) - Method in class io.jooby.internal.ReadOnlyContext
 
send(InputStream) - Method in class io.jooby.internal.ReadOnlyContext
 
send(StatusCode) - Method in class io.jooby.internal.ReadOnlyContext
 
send(ReadableByteChannel) - Method in class io.jooby.internal.ReadOnlyContext
 
send(String, Charset) - Method in class io.jooby.internal.ReadOnlyContext
 
send(String, Charset) - Method in class io.jooby.internal.WebSocketSender
 
send(byte[]) - Method in class io.jooby.internal.WebSocketSender
 
send(String) - Method in interface io.jooby.ServerSentEmitter
Send a text message to client.
send(byte[]) - Method in interface io.jooby.ServerSentEmitter
Send a text message to client.
send(Object) - Method in interface io.jooby.ServerSentEmitter
Send a text message to client.
send(String, Object) - Method in interface io.jooby.ServerSentEmitter
Send a message to the client and set the event type attribute.
send(ServerSentMessage) - Method in interface io.jooby.ServerSentEmitter
Send a message to the client.
send(String) - Method in interface io.jooby.WebSocket
Send a text message to client.
send(String, boolean) - Method in interface io.jooby.WebSocket
Send a text message to current client (broadcast = false) or to ALL connected clients under the websocket path (broadcast = true).
send(byte[]) - Method in interface io.jooby.WebSocket
Send a text message to client.
send(byte[], boolean) - Method in interface io.jooby.WebSocket
Send a text message to current client (broadcast = false) or to ALL connected clients under the websocket path (broadcast = true).
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
 
sendError(Throwable) - Method in class io.jooby.internal.ReadOnlyContext
 
sendError(Throwable, StatusCode) - Method in class io.jooby.internal.ReadOnlyContext
 
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
 
sendRedirect(String) - Method in class io.jooby.internal.ReadOnlyContext
 
sendRedirect(StatusCode, String) - Method in class io.jooby.internal.ReadOnlyContext
 
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 - Static variable in class io.jooby.WebSocketCloseStatus
1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
SERVER_ERROR_CODE - Static variable in class io.jooby.StatusCode
500 Server Error.
SERVER_ERROR_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.
SERVER_PORT - Static variable in class io.jooby.ServerOptions
Default application port 8080 or the value of system property server.port.
ServerOptions - Class in io.jooby
Available server options.
ServerOptions() - Constructor for class io.jooby.ServerOptions
 
ServerSentEmitter - Interface in io.jooby
Server-Sent message emitter.
ServerSentEmitter.Handler - Interface in io.jooby
Server-Sent event handler.
ServerSentEmitter.KeepAlive - Class in io.jooby
Keep-alive task.
ServerSentMessage - Class in io.jooby
Server-Sent message.
ServerSentMessage(Object) - Constructor for class io.jooby.ServerSentMessage
Creates a new message.
SERVICE_OVERLOAD - Static variable in class io.jooby.WebSocketCloseStatus
1013 indicates that the service is experiencing overload.
SERVICE_OVERLOAD_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1013 indicates that the service is experiencing overload.
SERVICE_RESTARTED - Static variable in class io.jooby.WebSocketCloseStatus
1012 indicates that the service is restarted.
SERVICE_RESTARTED_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1012 indicates that the service is restarted.
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.
ServiceRegistryImpl - Class in io.jooby.internal
 
ServiceRegistryImpl() - Constructor for class io.jooby.internal.ServiceRegistryImpl
 
session() - Method in interface io.jooby.Context
Find a session or creates a new session.
session(String) - Method in interface io.jooby.Context
Find a session attribute using the given name.
session(String) - Method in interface io.jooby.DefaultContext
 
session() - Method in interface io.jooby.DefaultContext
 
session(String) - Method in class io.jooby.ForwardingContext
 
session() - Method in class io.jooby.ForwardingContext
 
Session - Interface in io.jooby
HTTP session.
SessionImpl - Class in io.jooby.internal
 
SessionImpl(Context, String) - Constructor for class io.jooby.internal.SessionImpl
 
SessionImpl(Context, String, Map<String, String>) - Constructor for class io.jooby.internal.SessionImpl
 
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
 
SessionParam - Annotation Type in io.jooby.annotations
Allow access to session attributes from MVC route.
SessionStore - Interface in io.jooby
Load and save sessions from store (memory, database, etc.).
SessionStore.InMemory - Class in io.jooby
Base class for in-memory session store.
SessionToken - Interface in io.jooby
Find, save and delete a session token (cookie, header, parameter, etc) into/from the web Context.
SessionToken.CookieID - Class in io.jooby
Looks for a session ID from request cookie headers.
SessionToken.HeaderID - Class in io.jooby
Looks for a session ID from request headers.
SessionToken.SignedCookie - Class in io.jooby
Looks for a session token from request cookie.
set(Context) - Method in class io.jooby.internal.ProxyPeerAddress
 
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.
setAttributes(Map<String, Object>) - Method in class io.jooby.RouteSet
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.
setCert(String) - Method in class io.jooby.SslOptions
Set certificate path.
setClassLoader(ClassLoader) - Method in class io.jooby.EnvironmentOptions
Set class loader.
setClientAuth(SslOptions.ClientAuth) - Method in class io.jooby.SslOptions
Set desired SSL client authentication mode for SSL channels in server mode.
setCompressionLevel(Integer) - Method in class io.jooby.ServerOptions
Set compression level to use while producing gzip responses.
setConsumes(Collection<MediaType>) - Method in class io.jooby.Route
Add one or more request types (format) consumed by this route.
setConsumes(Collection<MediaType>) - Method in class io.jooby.RouteSet
Add one or more request types (format) consumed by this route.
setContextPath(String) - Method in class io.jooby.internal.RouterImpl
 
setContextPath(String) - Method in class io.jooby.Jooby
 
setContextPath(String) - Method in interface io.jooby.Router
Set application context path.
setCreationTime(Instant) - Method in class io.jooby.internal.SessionImpl
 
setCreationTime(Instant) - Method in interface io.jooby.Session
Set session creation time.
setCurrentUser(Function<Context, Object>) - Method in class io.jooby.internal.RouterImpl
 
setCurrentUser(Function<Context, Object>) - Method in class io.jooby.Jooby
 
setCurrentUser(Function<Context, Object>) - Method in interface io.jooby.Router
Provides a way to set the current user from a Context.
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
 
setDefaultResponseType(MediaType) - Method in class io.jooby.internal.ReadOnlyContext
 
setDefaultResponseType(MediaType) - Method in class io.jooby.internal.WebSocketSender
 
setDefaultWorker(Executor) - Method in class io.jooby.internal.RouterImpl
 
setDefaultWorker(Executor) - Method in class io.jooby.Jooby
 
setDefaultWorker(Executor) - Method in interface io.jooby.Router
Set the default worker thread pool.
setDescription(String) - Method in class io.jooby.Route
Route description useful for documentation purpose from openAPI generator.
setDescription(String) - Method in class io.jooby.RouteSet
Route description useful for documentation purpose from openAPI generator.
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.
setEvent(String) - Method in class io.jooby.ServerSentMessage
Set event type.
setExecutionMode(ExecutionMode) - Method in class io.jooby.Jooby
Set application execution mode.
setExecutorKey(String) - Method in class io.jooby.Route
Set executor key.
setExecutorKey(String) - Method in class io.jooby.RouteSet
Set executor key.
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.internal.RouterImpl
 
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
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.
setHiddenMethod(String) - Method in class io.jooby.internal.RouterImpl
 
setHiddenMethod(Function<Context, Optional<String>>) - Method in class io.jooby.internal.RouterImpl
 
setHiddenMethod(Function<Context, Optional<String>>) - Method in class io.jooby.Jooby
 
setHiddenMethod(String) - Method in class io.jooby.Jooby
 
setHiddenMethod(String) - Method in interface io.jooby.Router
Provides a way to override the current HTTP method.
setHiddenMethod(Function<Context, Optional<String>>) - Method in interface io.jooby.Router
Provides a way to override the current HTTP method using lookup strategy.
setHost(String) - Method in interface io.jooby.Context
Set the host (without the port value).
setHost(String) - Method in class io.jooby.ForwardingContext
 
setHost(String) - Method in class io.jooby.ServerOptions
Set the server host, defaults to 0.0.0.0.
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.
setId(String) - Method in class io.jooby.internal.SessionImpl
 
setId(String) - Method in interface io.jooby.ServerSentEmitter
Set Server-Sent ID.
setId(Object) - Method in class io.jooby.ServerSentMessage
Set The event ID to set the EventSource object's last event ID value.
setId(String) - Method in interface io.jooby.Session
Set Session ID.
setIoThreads(int) - Method in class io.jooby.ServerOptions
Set number of IO threads to use.
setLastAccessedTime(Instant) - Method in class io.jooby.internal.SessionImpl
 
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.
setMethod(String) - Method in interface io.jooby.Context
Set HTTP method in upper-case form.
setMethod(String) - Method in class io.jooby.ForwardingContext
 
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 class io.jooby.internal.SessionImpl
 
setModify(boolean) - Method in interface io.jooby.Session
Set modify flag.
setName(String) - Method in class io.jooby.Cookie
Set cookie's name.
setName(String) - Method in class io.jooby.Jooby
Set application name.
setNew(boolean) - Method in class io.jooby.internal.SessionImpl
 
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.
setPassword(String) - Method in class io.jooby.SslOptions
Certificate password.
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 interface io.jooby.Context
Set port this request was sent to.
setPort(int) - Method in class io.jooby.ForwardingContext
 
setPort(int) - Method in class io.jooby.ServerOptions
Set the server port (default is 8080).
setPrivateKey(String) - Method in class io.jooby.SslOptions
Set private key file location.
setProduces(Collection<MediaType>) - Method in class io.jooby.Route
Add one or more response types (format) produces by this route.
setProduces(Collection<MediaType>) - Method in class io.jooby.RouteSet
Add one or more response types (format) produces by this route.
setRemoteAddress(String) - Method in interface io.jooby.Context
Set IP address of client or last proxy that sent the request.
setRemoteAddress(String) - Method in class io.jooby.ForwardingContext
 
setRequestFilter(Predicate<Context>) - Method in class io.jooby.CsrfHandler
Decided whenever or not an incoming request require token verification.
setRequestPath(String) - Method in interface io.jooby.Context
Set request path.
setRequestPath(String) - Method in class io.jooby.ForwardingContext
 
setResetHeadersOnError(boolean) - Method in interface io.jooby.Context
Set whenever reset/clear headers on application error.
setResetHeadersOnError(boolean) - Method in class io.jooby.ForwardingContext
 
setResetHeadersOnError(boolean) - Method in class io.jooby.internal.WebSocketSender
 
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
 
setResponseCode(int) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseCode(StatusCode) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseCode(int) - Method in class io.jooby.internal.WebSocketSender
 
setResponseCode(StatusCode) - Method in class io.jooby.internal.WebSocketSender
 
setResponseCookie(Cookie) - Method in interface io.jooby.Context
Set/add a cookie to response.
setResponseCookie(Cookie) - Method in class io.jooby.ForwardingContext
 
setResponseCookie(Cookie) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseCookie(Cookie) - Method in class io.jooby.internal.WebSocketSender
 
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
 
setResponseHeader(String, Date) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseHeader(String, Object) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseHeader(String, String) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseHeader(String, Instant) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseHeader(String, String) - Method in class io.jooby.internal.WebSocketSender
 
setResponseHeader(String, Date) - Method in class io.jooby.internal.WebSocketSender
 
setResponseHeader(String, Object) - Method in class io.jooby.internal.WebSocketSender
 
setResponseHeader(String, Instant) - Method in class io.jooby.internal.WebSocketSender
 
setResponseLength(long) - Method in interface io.jooby.Context
Set response content length header.
setResponseLength(long) - Method in class io.jooby.ForwardingContext
 
setResponseLength(long) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseLength(long) - Method in class io.jooby.internal.WebSocketSender
 
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
 
setResponseType(String) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseType(MediaType) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseType(MediaType, Charset) - Method in class io.jooby.internal.ReadOnlyContext
 
setResponseType(String) - Method in class io.jooby.internal.WebSocketSender
 
setResponseType(MediaType, Charset) - Method in class io.jooby.internal.WebSocketSender
 
setResponseType(MediaType) - Method in class io.jooby.internal.WebSocketSender
 
setRetry(Long) - Method in class io.jooby.ServerSentMessage
Set retry option.
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.Aware
Allows a handler to listen for route metadata.
setRoute(Route) - Method in class io.jooby.TraceHandler
 
setRouterOptions(RouterOption...) - Method in class io.jooby.internal.RouterImpl
 
setRouterOptions(RouterOption...) - Method in class io.jooby.Jooby
 
setRouterOptions(RouterOption...) - Method in interface io.jooby.Router
Set router options.
setRoutes(List<Route>) - Method in class io.jooby.RouteSet
Set sub-routes.
setScheme(String) - Method in interface io.jooby.Context
Set HTTP scheme in lower case.
setScheme(String) - Method in class io.jooby.ForwardingContext
 
setSecure(boolean) - Method in class io.jooby.Cookie
Set cookie secure flag..
setSecurePort(Integer) - Method in class io.jooby.ServerOptions
Set HTTPs port.
setServer(String) - Method in class io.jooby.ServerOptions
Set server name.
setServerOptions(ServerOptions) - Method in class io.jooby.Jooby
Set server options.
setSessionStore(SessionStore) - Method in class io.jooby.internal.RouterImpl
 
setSessionStore(SessionStore) - Method in class io.jooby.Jooby
 
setSessionStore(SessionStore) - Method in interface io.jooby.Router
Set session store.
setSsl(SslOptions) - Method in class io.jooby.ServerOptions
Set SSL options.
setSummary(String) - Method in class io.jooby.Route
Route summary useful for documentation purpose from openAPI generator.
setSummary(String) - Method in class io.jooby.RouteSet
Route summary useful for documentation purpose from openAPI generator.
setTags(List<String>) - Method in class io.jooby.Route
Tag this route.
setTags(List<String>) - Method in class io.jooby.RouteSet
Tag this route.
setTimeout(Duration) - Method in class io.jooby.internal.MemorySessionStore
 
setTmpdir(Path) - Method in class io.jooby.Jooby
Set application temporary directory.
setToken(SessionToken) - Method in class io.jooby.SessionStore.InMemory
Set custom session token.
setTokenGenerator(Function<Context, String>) - Method in class io.jooby.CsrfHandler
Set a custom token generator.
setTrustCert(String) - Method in class io.jooby.SslOptions
Set certificate path.
setTrustPassword(String) - Method in class io.jooby.SslOptions
Set trust certificate password.
setTrustProxy(boolean) - Method in class io.jooby.internal.RouterImpl
 
setTrustProxy(boolean) - Method in class io.jooby.Jooby
 
setTrustProxy(boolean) - Method in interface io.jooby.Router
When true handles X-Forwarded-* headers by updating the values on the current context to match what was sent in the header(s).
setType(String) - Method in class io.jooby.SslOptions
Set certificate type.
setUseCredentials(boolean) - Method in class io.jooby.Cors
If true, set the Access-Control-Allow-Credentials header.
setUser(Object) - Method in interface io.jooby.Context
Set current user.
setUser(Object) - Method in interface io.jooby.DefaultContext
 
setUser(Object) - Method in class io.jooby.ForwardingContext
 
setValue(String) - Method in class io.jooby.Cookie
Set cookie's value.
setVersion(String) - Method in class io.jooby.Jooby
Set application version.
setWorker(Executor) - Method in class io.jooby.internal.RouterImpl
 
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.
SEVER_SECURE_PORT - Static variable in class io.jooby.ServerOptions
Default application secure port 8443 or the value of system property server.securePort.
shutdown() - Method in class io.jooby.internal.GracefulShutdownHandler
 
SID - Static variable in interface io.jooby.SessionToken
Default cookie for cookie based session stores.
sign(String, String) - Static method in class io.jooby.Cookie
Sign a value using a secret key.
signed(String) - Static method in interface io.jooby.SessionStore
Creates a session store that uses (un)signed data.
signed(String, Cookie) - Static method in interface io.jooby.SessionStore
Creates a session store that uses (un)signed data.
signed(String, SessionToken) - Static method in interface io.jooby.SessionStore
Creates a session store that uses (un)signed data.
signed(SessionToken, Function<String, Map<String, String>>, Function<Map<String, String>, String>) - Static method in interface io.jooby.SessionStore
Creates a session store that save data into Cookie.
signedCookie(Cookie) - Static method in interface io.jooby.SessionToken
Create a signed-cookie-based Session token.
SignedCookie(Cookie) - Constructor for class io.jooby.SessionToken.SignedCookie
Creates a Cookie ID.
SignedSessionStore - Class in io.jooby.internal
 
SignedSessionStore(SessionToken, Function<String, Map<String, String>>, Function<Map<String, String>, String>) - Constructor for class io.jooby.internal.SignedSessionStore
 
SingleByteRange - Class in io.jooby.internal
Utility class to compute single byte range requests when response content length is known.
SingleByteRange(String, long, long, long, String) - Constructor for class io.jooby.internal.SingleByteRange
 
SingleValue - Class in io.jooby.internal
 
SingleValue(Context, String, String) - Constructor for class io.jooby.internal.SingleValue
 
size() - Method in class io.jooby.internal.ArrayValue
 
size() - Method in class io.jooby.internal.HashValue
 
size() - Method in class io.jooby.internal.SingleValue
 
size() - Method in interface io.jooby.ValueNode
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.
sse(String, ServerSentEmitter.Handler) - Method in class io.jooby.internal.RouterImpl
 
sse(String, ServerSentEmitter.Handler) - Method in class io.jooby.Jooby
 
SSE - Static variable in interface io.jooby.Router
Sever-Sent events.
sse(String, ServerSentEmitter.Handler) - Method in interface io.jooby.Router
Add a server-sent event handler.
SslContextProvider - Interface in io.jooby.internal
 
SSLHandler - Class in io.jooby
Force SSL handler.
SSLHandler(String, int) - Constructor for class io.jooby.SSLHandler
Creates a SSLHandler and redirect non-HTTPS request to the given host and port.
SSLHandler(String) - Constructor for class io.jooby.SSLHandler
Creates a SSLHandler and redirect non-HTTPS request to the given host.
SSLHandler(int) - Constructor for class io.jooby.SSLHandler
Creates a SSLHandler and redirect non-HTTPs requests to the HTTPS version of this call.
SSLHandler() - Constructor for class io.jooby.SSLHandler
Creates a SSLHandler and redirect non-HTTPs requests to the HTTPS version of this call.
SslOptions - Class in io.jooby
SSL options for enabling HTTPs in Jooby.
SslOptions() - Constructor for class io.jooby.SslOptions
 
SslOptions.ClientAuth - Enum in io.jooby
The desired SSL client authentication mode for SSL channels in server mode.
SslPkcs12Provider - Class in io.jooby.internal
 
SslPkcs12Provider() - Constructor for class io.jooby.internal.SslPkcs12Provider
 
SslX509Provider - Class in io.jooby.internal
 
SslX509Provider() - Constructor for class io.jooby.internal.SslX509Provider
 
start() - Method in class io.jooby.internal.GracefulShutdownHandler
 
start(Jooby) - Method in class io.jooby.internal.RouterImpl
 
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.
StaticRouterMatch - Class in io.jooby.internal
 
StaticRouterMatch(Route) - Constructor for class io.jooby.internal.StaticRouterMatch
 
StatusCode - Class in io.jooby
HTTP status codes.
StatusCodeException - Exception in io.jooby.exception
Runtime exception with status code.
StatusCodeException(StatusCode) - Constructor for exception io.jooby.exception.StatusCodeException
Creates an error with the given status code.
StatusCodeException(StatusCode, String) - Constructor for exception io.jooby.exception.StatusCodeException
Creates an error with the given status code.
StatusCodeException(StatusCode, String, Throwable) - Constructor for exception io.jooby.exception.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.
stream() - Method in class io.jooby.internal.ByteArrayBody
 
stream() - Method in class io.jooby.internal.FileAsset
 
stream() - Method in class io.jooby.internal.FileBody
 
stream() - Method in class io.jooby.internal.InputStreamBody
 
stream() - Method in class io.jooby.internal.JarAsset
 
stream() - Method in class io.jooby.internal.URLAsset
 
summary(String) - Method in class io.jooby.Route
Route summary useful for documentation purpose from openAPI generator.
summary(String) - Method in class io.jooby.RouteSet
Route summary useful for documentation purpose from openAPI generator.
SUPPORT_MEDIA_TYPE - Static variable in class io.jooby.Route
Handler for StatusCode.UNSUPPORTED_MEDIA_TYPE responses.
supports(Class) - Method in interface io.jooby.BeanConverter
True if the converter applies for the given type.
supports(String) - Method in interface io.jooby.internal.SslContextProvider
 
supports(String) - Method in class io.jooby.internal.SslPkcs12Provider
 
supports(String) - Method in class io.jooby.internal.SslX509Provider
 
supports(Class) - Method in interface io.jooby.MvcFactory
Check if the factory applies for the given MVC route.
supports(ModelAndView) - Method in interface io.jooby.TemplateEngine
True if the template engine is able to render the given view.
supports(Class) - Method in interface io.jooby.ValueConverter
True if the converter applies for the given type.
swaggerUI(String) - Method in class io.jooby.OpenAPIModule
Customize the swagger-ui path.
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

tags(String...) - Method in class io.jooby.Route
Tag this route.
tags(String...) - Method in class io.jooby.RouteSet
Tag this route.
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.Body
 
to(Type) - Method in interface io.jooby.Body
Convert this body into the given type.
to(Class<T>) - Method in class io.jooby.internal.ArrayValue
 
to(Type) - Method in class io.jooby.internal.ByteArrayBody
 
to(Type) - Method in class io.jooby.internal.FileBody
 
to(Class<T>) - Method in class io.jooby.internal.HashValue
 
to(Type) - Method in class io.jooby.internal.InputStreamBody
 
to(Class<T>) - Method in class io.jooby.internal.MissingValue
 
to(Class<T>) - Method in class io.jooby.internal.SingleValue
 
to(Type) - Method in class io.jooby.internal.WebSocketMessageImpl
 
to(Class<T>) - Method in interface io.jooby.Value
Convert this value to the given type.
to(Type) - Method in interface io.jooby.WebSocketMessage
Convert this value to the given type.
TO_STRING - Static variable in interface io.jooby.MessageEncoder
To string renderer.
toByteArray(Context) - Method in class io.jooby.ServerSentMessage
Encode message as event source stream format.
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(Class<T>) - Method in interface io.jooby.Body
 
toList() - Method in interface io.jooby.Body
 
toList(Class<T>) - Method in class io.jooby.internal.ArrayValue
 
toList() - Method in class io.jooby.internal.ArrayValue
 
toList() - Method in class io.jooby.internal.ByteArrayBody
 
toList() - Method in class io.jooby.internal.FileBody
 
toList() - Method in class io.jooby.internal.HashValue
 
toList(Class<T>) - Method in class io.jooby.internal.HashValue
 
toList() - Method in class io.jooby.internal.InputStreamBody
 
toList() - Method in class io.jooby.internal.MissingValue
 
toList(Class<T>) - Method in class io.jooby.internal.MissingValue
 
toList(Class<T>) - Method in class io.jooby.internal.SingleValue
 
toList() - Method in class io.jooby.internal.SingleValue
 
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 class io.jooby.internal.MissingValue
 
toMap() - Method in class io.jooby.internal.SessionImpl
 
toMap() - Method in interface io.jooby.Session
Read-only copy of session attributes.
toMap() - Method in interface io.jooby.Value
Value as single-value map.
toMultimap() - Method in class io.jooby.internal.ArrayValue
 
toMultimap() - Method in class io.jooby.internal.ByteArrayBody
 
toMultimap() - Method in class io.jooby.internal.FileBody
 
toMultimap() - Method in class io.jooby.internal.HashValue
 
toMultimap() - Method in class io.jooby.internal.InputStreamBody
 
toMultimap() - Method in class io.jooby.internal.MissingValue
 
toMultimap() - Method in class io.jooby.internal.SingleValue
 
toMultimap() - Method in interface io.jooby.Value
Value as multi-value map.
TOO_BIG_TO_PROCESS - Static variable in class io.jooby.WebSocketCloseStatus
1009 indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
TOO_BIG_TO_PROCESS_CODE - Static variable in class io.jooby.WebSocketCloseStatus
1009 indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process.
TOO_MANY_REQUESTS - Static variable in class io.jooby.StatusCode
429 Too Many Requests.
TOO_MANY_REQUESTS_CODE - Static variable in class io.jooby.StatusCode
429 Too Many Requests.
toOptional(Class<T>) - Method in class io.jooby.internal.ArrayValue
 
toOptional(Class<T>) - Method in class io.jooby.internal.HashValue
 
toOptional() - Method in class io.jooby.internal.MissingValue
 
toOptional(Class<T>) - Method in class io.jooby.internal.SingleValue
 
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.Body
 
toSet(Class<T>) - Method in class io.jooby.internal.ArrayValue
 
toSet() - Method in class io.jooby.internal.ArrayValue
 
toSet() - Method in class io.jooby.internal.HashValue
 
toSet(Class<T>) - Method in class io.jooby.internal.HashValue
 
toSet() - Method in class io.jooby.internal.MissingValue
 
toSet(Class<T>) - Method in class io.jooby.internal.MissingValue
 
toSet(Class<T>) - Method in class io.jooby.internal.SingleValue
 
toSet() - Method in class io.jooby.internal.SingleValue
 
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(Parameter) - Static method in exception io.jooby.exception.ProvisioningException
Creates a parameter description.
toString(Executable) - Static method in exception io.jooby.exception.ProvisioningException
Creates a method description.
toString() - Method in class io.jooby.ForwardingContext
 
toString() - Method in class io.jooby.internal.ArrayValue
 
toString() - Method in class io.jooby.internal.FileAsset
 
toString() - Method in class io.jooby.internal.FileDiskAssetSource
 
toString() - Method in class io.jooby.internal.FolderDiskAssetSource
 
toString() - Method in class io.jooby.internal.HashValue
 
toString() - Method in class io.jooby.internal.MissingValue
 
toString() - Method in class io.jooby.internal.RouterImpl
 
toString() - Method in class io.jooby.internal.SingleByteRange
 
toString() - Method in class io.jooby.internal.SingleValue
 
toString() - Method in class io.jooby.internal.URLAsset
 
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.SslOptions
 
toString() - Method in class io.jooby.StatusCode
Return a string representation of this status code.
toString() - Method in class io.jooby.WebSocketCloseStatus
 
touchSession(Context, Session) - Method in class io.jooby.internal.SignedSessionStore
 
touchSession(Context, Session) - Method in class io.jooby.SessionStore.InMemory
 
touchSession(Context, Session) - Method in interface io.jooby.SessionStore
Session attributes/state has changed.
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
 
truncate(int) - Method in class io.jooby.internal.RouterMatch
 
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.exception
Type mismatch exception.
TypeMismatchException(String, Type, Throwable) - Constructor for exception io.jooby.exception.TypeMismatchException
Creates a type mismatch error.
TypeMismatchException(String, Type) - Constructor for exception io.jooby.exception.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.
UnauthorizedException - Exception in io.jooby.exception
Specific error for unauthorized access.
UnauthorizedException(String) - Constructor for exception io.jooby.exception.UnauthorizedException
Creates an unauthorized exception.
UnauthorizedException() - Constructor for exception io.jooby.exception.UnauthorizedException
Creates an unauthorized exception.
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.
UnsupportedMediaType - Exception in io.jooby.exception
Whether there is no decoder for the requested Content-Type.
UnsupportedMediaType(String) - Constructor for exception io.jooby.exception.UnsupportedMediaType
Unsupported media type.
upgrade(WebSocket.Initializer) - Method in interface io.jooby.Context
Perform a websocket handsahke and upgrade a HTTP GET into a websocket protocol.
upgrade(ServerSentEmitter.Handler) - Method in interface io.jooby.Context
Perform a server-sent event handshake and upgrade HTTP GET into a Server-Sent protocol.
upgrade(WebSocket.Initializer) - Method in class io.jooby.ForwardingContext
 
upgrade(ServerSentEmitter.Handler) - Method in class io.jooby.ForwardingContext
 
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.
URLAsset - Class in io.jooby.internal
URL asset.
URLAsset(URL, String) - Constructor for class io.jooby.internal.URLAsset
Creates a new URL asset.
UrlParser - Class in io.jooby.internal
 
UrlParser() - Constructor for class io.jooby.internal.UrlParser
 
Usage - Exception in io.jooby
Usage exceptions.
Usage(String, String) - Constructor for exception io.jooby.Usage
Creates a new Usage exception.
use(Predicate<Context>, Runnable) - Method in class io.jooby.internal.RouterImpl
 
use(Predicate<Context>, Router) - Method in class io.jooby.internal.RouterImpl
 
use(String, Router) - Method in class io.jooby.internal.RouterImpl
 
use(Router) - Method in class io.jooby.internal.RouterImpl
 
use(Router) - Method in class io.jooby.Jooby
 
use(Predicate<Context>, Runnable) - 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(Predicate<Context>, Runnable) - Method in interface io.jooby.Router
Import routes from given action.
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 class io.jooby.internal.ArrayValue
 
value() - Method in class io.jooby.internal.ByteArrayBody
 
value() - Method in class io.jooby.internal.FileBody
 
value() - Method in class io.jooby.internal.HashValue
 
value() - Method in class io.jooby.internal.InputStreamBody
 
value() - Method in class io.jooby.internal.MissingValue
 
value(String) - Method in class io.jooby.internal.RouterMatch
 
value() - Method in class io.jooby.internal.SingleValue
 
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(Context, String, String) - Static method in interface io.jooby.Value
Creates a single value.
ValueConverter - Interface in io.jooby
Value converter for simple values that come from query, path, form, etc...
ValueConverters - Class in io.jooby.internal
 
ValueConverters() - Constructor for class io.jooby.internal.ValueConverters
 
ValueNode - Interface in io.jooby
Unified API for HTTP 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(String) - Static method in enum io.jooby.OpenAPIModule.Format
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.jooby.RouterOption
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.jooby.SslOptions.ClientAuth
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in class io.jooby.StatusCode
Return the enum constant of this type with the specified numeric value.
valueOf(int) - Static method in class io.jooby.WebSocketCloseStatus
Map the status code to one of the existing web socket status.
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.
values() - Static method in enum io.jooby.OpenAPIModule.Format
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.jooby.RouterOption
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.jooby.SslOptions.ClientAuth
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

webjars(ClassLoader, String) - Static method in interface io.jooby.AssetSource
Creates a webjar asset source.
websocket(Context, WebSocket) - Static method in interface io.jooby.Context
Wrap a HTTP context and make it WebSocket friendly.
WebSocket - Interface in io.jooby
Websocket.
WebSocket.Initializer - Interface in io.jooby
Websocket initializer.
WebSocket.OnClose - Interface in io.jooby
On close callback.
WebSocket.OnConnect - Interface in io.jooby
On connect callback.
WebSocket.OnError - Interface in io.jooby
On error callback.
WebSocket.OnMessage - Interface in io.jooby
On message callback.
WebSocketCloseStatus - Class in io.jooby
Collection of websocket close status.
WebSocketCloseStatus(int, String) - Constructor for class io.jooby.WebSocketCloseStatus
Creates a new websocket close status.
WebSocketConfigurer - Interface in io.jooby
Websocket configurer.
WebSocketMessage - Interface in io.jooby
Websocket message generated from a WebSocket.OnMessage callback.
WebSocketMessageImpl - Class in io.jooby.internal
 
WebSocketMessageImpl(Context, byte[]) - Constructor for class io.jooby.internal.WebSocketMessageImpl
 
WebSocketSender - Class in io.jooby.internal
 
WebSocketSender(Context, WebSocket) - Constructor for class io.jooby.internal.WebSocketSender
 
WebVariables - Class in io.jooby
Add common variables to as Context attributes so they are accessible from template engine.
WebVariables(String) - Constructor for class io.jooby.WebVariables
Creates a web variables under the given scope.
WebVariables() - Constructor for class io.jooby.WebVariables
Creates a new web variables.
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.
ws(String, WebSocket.Initializer) - Method in class io.jooby.internal.RouterImpl
 
ws(String, WebSocket.Initializer) - Method in class io.jooby.Jooby
 
WS - Static variable in interface io.jooby.Router
Web socket.
ws(String, WebSocket.Initializer) - Method in interface io.jooby.Router
Add a websocket handler.

X

X509 - Static variable in class io.jooby.SslOptions
X509 constant.
x509(String, String) - Static method in class io.jooby.SslOptions
Creates SSL options for X.509 certificate type.
x509(String, String, String) - Static method in class io.jooby.SslOptions
Creates SSL options for X.509 certificate type.
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).

Y

YAML - Static variable in class io.jooby.MediaType
YAML.
yaml - Static variable in class io.jooby.MediaType
YAML.

_

_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 Y _ 
Skip navigation links

Copyright © 2020. All rights reserved.