Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accept(MediaType) - Method in interface io.jooby.Context
-
True if the given type matches the `Accept` header.
- accept(MediaType) - Method in interface io.jooby.DefaultContext
- accept(MediaType) - Method in class io.jooby.ForwardingContext
- 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(List<MediaType>) - Method in interface io.jooby.DefaultContext
- accept(List<MediaType>) - Method in class io.jooby.ForwardingContext
- 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. - ACCEPT - Static variable in interface io.jooby.Context
-
Constant for
Accept
header. - ACCEPT - Static variable in class io.jooby.Route
-
Handler for
StatusCode.NOT_ACCEPTABLE
responses. - 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.handler
-
Access Log Handler.
- AccessLogHandler() - Constructor for class io.jooby.handler.AccessLogHandler
-
Creates a new
AccessLogHandler
without user identifier. - AccessLogHandler(Function<Context, String>) - Constructor for class io.jooby.handler.AccessLogHandler
-
Creates a new
AccessLogHandler
and use the given function and userId provider. - addAddressInUse(Predicate<Throwable>) - Static method in interface io.jooby.Server
-
Add an address in use predicate.
- addConnectionLost(Predicate<Throwable>) - Static method in interface io.jooby.Server
-
Add a connection lost predicate.
- 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.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.handler.Cors
-
True if all the headers are allowed.
- allowHeaders(List<String>) - Method in class io.jooby.handler.Cors
-
True if all the headers are allowed.
- allowMethod(String) - Method in class io.jooby.handler.Cors
-
True if the method is allowed.
- allowOrigin(String) - Method in class io.jooby.handler.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.handler.Cors
- anyOrigin() - Method in class io.jooby.handler.Cors
- apply(Context) - Method in interface io.jooby.ByteRange
-
For partial request this method set the following byte range response headers:
- apply(Context) - Method in class io.jooby.handler.AssetHandler
- apply(Context) - Method in class io.jooby.handler.CsrfHandler
- apply(Context) - Method in class io.jooby.handler.RateLimitHandler
- apply(Context) - Method in class io.jooby.handler.SSLHandler
- 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(Context) - Method in interface io.jooby.Route.Handler
-
Execute application code.
- apply(Context, Object, Throwable) - Method in interface io.jooby.Route.After
-
Execute application logic on a route response.
- 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.handler.AccessLogHandler
- apply(Route.Handler) - Method in class io.jooby.handler.CorsHandler
- apply(Route.Handler) - Method in class io.jooby.handler.HeadHandler
- apply(Route.Handler) - Method in class io.jooby.handler.TraceHandler
- apply(Route.Handler) - Method in class io.jooby.handler.WebVariables
- apply(Route.Handler) - Method in interface io.jooby.Route.Before
- apply(Route.Handler) - Method in interface io.jooby.Route.Filter
-
Chain the filter within next handler.
- apply(InputStream) - Method in interface io.jooby.ByteRange
-
For partial requests this method generates a new truncated input stream.
- 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.
- array(Context, String, List<String>) - Static method in interface io.jooby.Value
-
Creates a sequence/array of values.
- Asset - Interface in io.jooby.handler
-
Represent an static resource file.
- AssetHandler - Class in io.jooby.handler
-
Handler for static resources represented by the
Asset
contract. - AssetHandler(AssetSource...) - Constructor for class io.jooby.handler.AssetHandler
-
Creates a new asset handler.
- AssetHandler(String, AssetSource...) - Constructor for class io.jooby.handler.AssetHandler
-
Creates a new asset handler that fallback to the given fallback asset when the asset is not found.
- assets(String, AssetHandler) - 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, String) - Method in interface io.jooby.Router
-
Add a static resource handler.
- assets(String, Path) - Method in interface io.jooby.Router
-
Add a static resource handler.
- AssetSource - Interface in io.jooby.handler
-
An asset source is a collection or provider of
Asset
. - AttachedFile - Class in io.jooby
-
Represents a file attachment response.
- AttachedFile(InputStream, String) - Constructor for class io.jooby.AttachedFile
-
Creates a new file attachment.
- AttachedFile(InputStream, String, long) - Constructor for class io.jooby.AttachedFile
-
Creates a new file attachment.
- AttachedFile(Path) - 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.
- attachment() - Method in interface io.jooby.FileDownload.Builder
-
Creates an attached
FileDownload
. - ATTACHMENT - Enum constant in enum class io.jooby.FileDownload.Mode
-
Value indicating that the file should be downloaded; most browsers present a 'Save as' dialog.
- 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) - Method in interface io.jooby.Router
-
Get an attribute by his key.
- attribute(String) - Method in interface io.jooby.ServerSentEmitter
-
Get an attribute by his key.
- attribute(String) - Method in interface io.jooby.WebSocket
-
Get an attribute by his key.
- attribute(String, Object) - Method in class io.jooby.Jooby
- attribute(String, Object) - Method in class io.jooby.Route
-
Add one or more attributes applied to this route.
- 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, Object) - Method in interface io.jooby.ServerSentEmitter
-
Set an application attribute.
- attribute(String, Object) - Method in interface io.jooby.WebSocket
-
Set an application attribute.
- ATTRIBUTE - Static variable in annotation interface io.jooby.annotation.Transactional
-
Constant to use as attribute name for script routes.
- AvailableSettings - Interface in io.jooby
-
Enumerates the configuration properties supported by Jooby.
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.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() - Method in interface io.jooby.Context
-
HTTP body which provides access to body content.
- body() - Method in class io.jooby.ForwardingContext
- body(Class<T>) - Method in interface io.jooby.Context
-
Convert the HTTP body to the given type.
- body(Class<T>) - Method in interface io.jooby.DefaultContext
- body(Class<T>) - Method in class io.jooby.ForwardingContext
- body(Type) - Method in interface io.jooby.Context
-
Convert the HTTP body to the given type.
- body(Type) - Method in interface io.jooby.DefaultContext
- body(Type) - Method in class io.jooby.ForwardingContext
- Body - Interface in io.jooby
-
HTTP body value.
- 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.
- build(byte[], String) - Static method in class io.jooby.FileDownload
-
Creates a builder with the specified content which can be used to create a
FileDownload
with anyFileDownload.Mode
. - build(FileDownload.Mode) - Method in interface io.jooby.FileDownload.Builder
-
Creates a
FileDownload
with the specifiedFileDownload.Mode
. - build(InputStream, String) - Static method in class io.jooby.FileDownload
-
Creates a builder with the specified content which can be used to create a
FileDownload
with anyFileDownload.Mode
. - build(InputStream, String, long) - Static method in class io.jooby.FileDownload
-
Creates a builder with the specified content which can be used to create a
FileDownload
with anyFileDownload.Mode
. - build(Path) - Static method in class io.jooby.FileDownload
-
Creates a builder with the specified content which can be used to create a
FileDownload
with anyFileDownload.Mode
. - build(Path, String) - Static method in class io.jooby.FileDownload
-
Creates a builder with the specified content which can be used to create a
FileDownload
with anyFileDownload.Mode
. - byFile(File) - Static method in class io.jooby.MediaType
-
Mediatype by file extension.
- byFile(String) - Static method in class io.jooby.MediaType
-
Mediatype by file extension.
- byFile(Path) - Static method in class io.jooby.MediaType
-
Mediatype by file extension.
- byFileExtension(String) - Static method in class io.jooby.MediaType
-
Mediatype by file extension.
- ByteRange - Interface in io.jooby
-
Utility class to compute single byte range requests when response content length is known.
- bytes() - Method in interface io.jooby.Body
-
HTTP body as byte array.
- bytes() - Method in interface io.jooby.FileUpload
-
Content as byte array.
- BYTES_RANGE - Static variable in interface io.jooby.ByteRange
-
Byte range prefix.
- byteValue() - Method in interface io.jooby.Value
-
Convert this value to byte (if possible).
- byteValue(byte) - Method in interface io.jooby.Value
-
Convert this value to byte (if possible) or fallback to given value when missing.
C
- cacheControl(Function<String, CacheControl>) - Method in class io.jooby.handler.AssetHandler
-
Sets a custom function that provides caching configuration for each individual asset response overriding the defaults set in
AssetHandler
. - CacheControl - Class in io.jooby.handler
-
Class allowing the fine tune the browser cache behavior for assets.
- CacheControl() - Constructor for class io.jooby.handler.CacheControl
- channel() - Method in interface io.jooby.Body
-
Body as readable channel.
- CHARSET - Static variable in interface io.jooby.AvailableSettings
-
Charset used by your application.
- CHECKPOINT - Static variable in class io.jooby.StatusCode
-
103 Checkpoint
. - CHECKPOINT_CODE - Static variable in class io.jooby.StatusCode
-
103 Checkpoint
. - clear() - Method in interface io.jooby.Session
-
Remove all attributes.
- clone() - Method in class io.jooby.Cookie
-
Copy all state from this cookie and creates a new cookie.
- close() - Method in interface io.jooby.FileUpload
-
Free resources, delete temporary file.
- 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 class io.jooby.SslOptions
- 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.handler.RateLimitHandler
-
Rate limiter per IP/Remote address using a cluster.
- cluster(SneakyThrows.Function<String, Bucket>, SneakyThrows.Function<Context, String>) - Static method in class io.jooby.handler.RateLimitHandler
-
Rate limiter per key using a cluster.
- cluster(SneakyThrows.Function<String, Bucket>, String) - Static method in class io.jooby.handler.RateLimitHandler
-
Rate limiter per header 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
- concurrent() - Static method in class io.jooby.ReactiveSupport
-
Concurrent filter.
- configure(ClassLoader, List<String>) - Static method in interface io.jooby.LoggingService
-
Initializes the
logback.configurationFile
system property when alogback[.env].xml
file is found atuser.dir/conf
directory oruser.dir
. - CONFLICT - Static variable in class io.jooby.StatusCode
-
409 Conflict
. - CONFLICT_CODE - Static variable in class io.jooby.StatusCode
-
409 Conflict
. - CONNECT - Annotation Interface in io.jooby.annotation
-
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() - Element in annotation interface io.jooby.annotation.CONNECT
-
Consume types.
- consumes() - Element in annotation interface io.jooby.annotation.DELETE
-
Consume types.
- consumes() - Element in annotation interface io.jooby.annotation.GET
-
Consume types.
- consumes() - Element in annotation interface io.jooby.annotation.HEAD
-
Consume types.
- consumes() - Element in annotation interface io.jooby.annotation.OPTIONS
-
Consume types.
- consumes() - Element in annotation interface io.jooby.annotation.PATCH
-
Consume types.
- consumes() - Element in annotation interface io.jooby.annotation.POST
-
Consume types.
- consumes() - Element in annotation interface io.jooby.annotation.PUT
-
Consume types.
- consumes() - Element in annotation interface io.jooby.annotation.TRACE
-
Consume types.
- 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.
- Consumes - Annotation Interface in io.jooby.annotation
-
Defines what media types a route can consume.
- Context - Interface in io.jooby
-
HTTP context allows you to interact with the HTTP Request and manipulate the HTTP Response.
- ContextParam - Annotation Interface in io.jooby.annotation
-
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 class io.jooby.ForwardingContext
- convert(V, Class) - Method in interface io.jooby.ValueConverter
-
Convert simple to specific type.
- converter(ValueConverter) - Method in class io.jooby.Jooby
- converter(ValueConverter) - Method in interface io.jooby.Router
-
Add a custom string value converter.
- convertOrNull(ValueNode, Class<T>) - Method in interface io.jooby.Context
-
Converts a value (single or hash) into the given type.
- convertOrNull(ValueNode, Class<T>) - Method in interface io.jooby.DefaultContext
- convertOrNull(ValueNode, Class<T>) - Method in class io.jooby.ForwardingContext
- cookie(String) - Method in interface io.jooby.Context
-
Get a cookie matching the given name.
- cookie(String) - Method in interface io.jooby.DefaultContext
- cookie(String) - Method in class io.jooby.ForwardingContext
- Cookie - Class in io.jooby
-
Response cookie implementation.
- Cookie(String) - Constructor for class io.jooby.Cookie
-
Creates a response cookie without a value.
- Cookie(String, String) - Constructor for class io.jooby.Cookie
-
Creates a response cookie.
- COOKIE - Enum constant in enum class io.jooby.ParamSource
-
Source equivalent to
Context.cookie(String)
. - 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 Interface in io.jooby.annotation
-
Allow access to query parameter from MVC route method.
- Cors - Class in io.jooby.handler
-
Cross-origin resource sharing.
- Cors() - Constructor for class io.jooby.handler.Cors
-
Creates default
Cors
. - CorsHandler - Class in io.jooby.handler
-
Handle preflight and simple CORS requests.
- CorsHandler() - Constructor for class io.jooby.handler.CorsHandler
-
Creates a new
CorsHandler
with default options. - CorsHandler(Cors) - Constructor for class io.jooby.handler.CorsHandler
-
Creates a new
CorsHandler
. - create() - Static method in interface io.jooby.ErrorHandler
-
Creates a default error handler.
- create() - Method in interface io.jooby.ResultHandler
-
Creates a handler for a response type.
- create() - Method in interface io.jooby.SslProvider
-
Creates a new provider.
- create(Context) - Static method in interface io.jooby.Formdata
-
Creates a new multipart object.
- create(Context, byte[]) - Static method in interface io.jooby.WebSocketMessage
-
Creates a websocket message.
- create(Context, Cookie) - Static method in interface io.jooby.FlashMap
-
Creates a new flash-scope using the given cookie.
- create(Context, String) - Static method in interface io.jooby.QueryString
-
Query string hash value.
- create(Context, String) - Static method in interface io.jooby.Session
-
Creates a new session.
- create(Context, String) - Static method in interface io.jooby.WebSocketMessage
-
Creates a websocket message.
- create(Context, String, String) - Static method in interface io.jooby.Value
-
Creates a value that fits better with the given values.
- 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, Map<String, String>) - Static method in interface io.jooby.Session
-
Creates a new session.
- create(Provider) - Method in interface io.jooby.MvcFactory
-
Creates an extension module.
- create(ClassLoader, String) - Static method in interface io.jooby.handler.AssetSource
-
Classpath asset source.
- create(String) - Static method in interface io.jooby.StartupSummary
-
Creates a summary level from string value.
- create(String, Config) - Static method in class io.jooby.Cookie
-
Attempt to create/parse a cookie from application configuration object.
- create(String, URL) - Static method in interface io.jooby.handler.Asset
-
Creates a URL asset with the given path.
- create(Path) - Static method in interface io.jooby.handler.Asset
-
Creates a file system asset.
- create(Path) - Static method in interface io.jooby.handler.AssetSource
-
Creates a source from given location.
- 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.handler
-
Cross Site Request Forgery handler.
- CsrfHandler() - Constructor for class io.jooby.handler.CsrfHandler
-
Creates a new
CsrfHandler
handler and use the given name to save the token in theSession
and or extract the token from incoming requests. - CsrfHandler(String) - Constructor for class io.jooby.handler.CsrfHandler
-
Creates a new
CsrfHandler
handler and use the given name to save the token in theSession
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.
D
- dateFormatter(DateTimeFormatter) - Method in class io.jooby.handler.AccessLogHandler
-
Override the default date formatter.
- dateFormatter(ZoneId) - Method in class io.jooby.handler.AccessLogHandler
-
Keep the default formatter but use the provided timezone.
- dateFormatter(Function<Long, String>) - Method in class io.jooby.handler.AccessLogHandler
-
Override the default date formatter.
- decode(Context, Type) - Method in interface io.jooby.MessageDecoder
-
Parse HTTP body into the given type.
- decode(Type, MediaType) - Method in interface io.jooby.Context
-
Convert the HTTP body to the given type.
- decode(Type, MediaType) - Method in interface io.jooby.DefaultContext
- decode(Type, MediaType) - Method in class io.jooby.ForwardingContext
- decode(String) - Static method in class io.jooby.Cookie
-
Decode a cookie value using, like:
k=v
, multiplek=v
pair are separated by&
. - 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) - Method in class io.jooby.Route
-
MessageDecoder for given media type.
- decoder(MediaType, MessageDecoder) - Method in class io.jooby.Jooby
- decoder(MediaType, MessageDecoder) - Method in interface io.jooby.Router
-
Register a decoder for the given content type.
- decorator(Route.Decorator) - Method in interface io.jooby.Router
-
Deprecated.
- DEFAULT - Enum constant in enum class io.jooby.ExecutionMode
-
Default execution mode.
- DEFAULT - Static variable in interface io.jooby.StartupSummary
-
Print a single line with application and environment names.
- DEFAULT_COMPRESSION_LEVEL - Static variable in class io.jooby.ServerOptions
-
Default compression level for gzip.
- DEFAULT_FILTER - Static variable in class io.jooby.handler.CsrfHandler
-
Default request filter.
- DEFAULT_GENERATOR - Static variable in class io.jooby.handler.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
- 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).
- defaults() - Static method in class io.jooby.handler.CacheControl
-
Returns the default caching configuration for assets.
- defaults() - Static method in interface io.jooby.ValueConverter
-
Immutable list of defaults/built-in
ValueConverter
. - delete(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP DELETE handler.
- DELETE - Annotation Interface in io.jooby.annotation
-
HTTP DELETE verb for mvc routes.
- DELETE - Static variable in interface io.jooby.Router
-
HTTP DELETE.
- 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.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.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(Runnable) - Method in interface io.jooby.Context
-
Dispatch context to a worker threads.
- dispatch(Runnable) - Method in class io.jooby.ForwardingContext
- dispatch(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.Context
-
Dispatch context to the given executor.
- dispatch(Executor, Runnable) - Method in class io.jooby.ForwardingContext
- dispatch(Executor, Runnable) - Method in class io.jooby.Jooby
- dispatch(Executor, Runnable) - Method in interface io.jooby.Router
-
Dispatch route pipeline to the given executor.
- Dispatch - Annotation Interface in io.jooby.annotation
-
Dispatch operator for MVC routes.
- domain(String, Router) - 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 class io.jooby.Jooby
- 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.
- EmptyBean - Annotation Interface in io.jooby.annotation
- 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
- encode(Map<String, String>) - Static method in class io.jooby.Cookie
-
Encode a hash into cookie value, like:
k1=v1&...&kn=vn
. - encoder(MediaType, MessageEncoder) - Method in class io.jooby.Jooby
- encoder(MediaType, MessageEncoder) - Method in interface io.jooby.Router
-
Register a route response encoder.
- encoder(MessageEncoder) - Method in class io.jooby.Jooby
- encoder(MessageEncoder) - Method in interface io.jooby.Router
-
Register a route response encoder.
- entrySet() - Method in interface io.jooby.ServiceRegistry
-
Registered service entries.
- ENV - Static variable in interface io.jooby.AvailableSettings
-
Control the application environment.
- Environment - Class in io.jooby
-
Application environment contains configuration object and active environment names.
- Environment(ClassLoader, Config, String...) - Constructor for class io.jooby.Environment
-
Creates a new environment.
- Environment(ClassLoader, Config, List<String>) - Constructor for class io.jooby.Environment
-
Creates a new environment.
- EnvironmentOptions - Class in io.jooby
-
Available environment options.
- EnvironmentOptions() - Constructor for class io.jooby.EnvironmentOptions
-
Creates environment options.
- equals(Object) - Method in class io.jooby.MediaType
- equals(Object) - Method in class io.jooby.Reified
- equals(Object) - Method in class io.jooby.ServiceKey
- equals(Object) - Method in class io.jooby.StatusCode
- error(ErrorHandler) - Method in class io.jooby.Jooby
- error(ErrorHandler) - Method in interface io.jooby.Router
-
Add a custom error handler.
- 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.
- errorCode(Class<? extends Throwable>, StatusCode) - 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 class io.jooby.Jooby
- 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.
- EVENT_LOOP - Enum constant in enum class io.jooby.ExecutionMode
-
Execute route handler in the event loop thread (non-blocking).
- execute(Context) - Method in interface io.jooby.Router.Match
- execute(Context, Route.Handler) - Method in interface io.jooby.Router.Match
-
Executes matched route.
- ExecutionMode - Enum Class in io.jooby
-
Execution mode.
- executor(String) - Method in interface io.jooby.Router
-
Get an executor from application registry.
- executor(String, Executor) - Method in class io.jooby.Jooby
- executor(String, Executor) - Method in interface io.jooby.Router
-
Put an executor into the application registry.
- 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.handler.AccessLogHandler
-
Append
Referer
andUser-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 interface io.jooby.Formdata
-
A file upload that matches the given field name.
- file(String) - Method in class io.jooby.ForwardingContext
- FileDownload - Class in io.jooby
-
Represents a file download.
- FileDownload(FileDownload.Mode, byte[], String) - Constructor for class io.jooby.FileDownload
-
Creates a new file attachment.
- FileDownload(FileDownload.Mode, InputStream, String) - Constructor for class io.jooby.FileDownload
-
Creates a new file attachment.
- FileDownload(FileDownload.Mode, InputStream, String, long) - Constructor for class io.jooby.FileDownload
-
Creates a new file attachment.
- FileDownload(FileDownload.Mode, Path) - Constructor for class io.jooby.FileDownload
-
Creates a new file attachment.
- FileDownload(FileDownload.Mode, Path, String) - Constructor for class io.jooby.FileDownload
-
Creates a new file attachment.
- FileDownload.Builder - Interface in io.jooby
-
Allows creating a
FileDownload
with the specifiedFileDownload.Mode
. - FileDownload.Mode - Enum Class in io.jooby
-
Download mode.
- files() - Method in interface io.jooby.Context
-
All file uploads.
- files() - Method in interface io.jooby.DefaultContext
- files() - Method in interface io.jooby.Formdata
-
All file uploads.
- files() - Method in class io.jooby.ForwardingContext
- files(String) - Method in interface io.jooby.Context
-
All file uploads that matches the given field name.
- files(String) - Method in interface io.jooby.DefaultContext
- files(String) - Method in interface io.jooby.Formdata
-
All file uploads that matches the given field name.
- files(String) - Method in class io.jooby.ForwardingContext
- FileUpload - Interface in io.jooby
-
File upload class, file upload are available when request body is encoded as
MediaType.MULTIPART_FORMDATA
. - findSession(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.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() - Method in interface io.jooby.DefaultContext
- flash() - Method in class io.jooby.ForwardingContext
- flash(String) - Method in interface io.jooby.Context
-
Get a flash attribute.
- flash(String) - Method in interface io.jooby.DefaultContext
-
Get a flash attribute.
- flash(String) - Method in class io.jooby.ForwardingContext
- FLASH - Enum constant in enum class io.jooby.ParamSource
-
Source equivalent to
Context.flash(String)
. - FlashMap - Interface in io.jooby
-
Flash map.
- FlashParam - Annotation Interface in io.jooby.annotation
-
Allow access to flash parameter from MVC route method.
- floatValue() - Method in interface io.jooby.Value
-
Convert this value to float (if possible).
- floatValue(float) - Method in interface io.jooby.Value
-
Convert this value to float (if possible) or fallback to given value when missing.
- FORBIDDEN - Static variable in class io.jooby.StatusCode
-
403 Forbidden
. - FORBIDDEN_CODE - Static variable in class io.jooby.StatusCode
-
403 Forbidden
. - ForbiddenException - Exception in io.jooby.exception
-
Specific error for forbidden access.
- ForbiddenException() - Constructor for exception io.jooby.exception.ForbiddenException
-
Creates a new forbidden exception.
- ForbiddenException(String) - Constructor for exception io.jooby.exception.ForbiddenException
-
Creates a new forbidden exception.
- forEach(SneakyThrows.Consumer<WebSocket>) - Method in interface io.jooby.WebSocket
-
For each of live sessions (including this) do something with it.
- form - Static variable in class io.jooby.MediaType
-
FORM_URLENCODED.
- form() - Method in interface io.jooby.Context
-
Get form data.
- form() - Method in class io.jooby.ForwardingContext
- form(Class<T>) - Method in interface io.jooby.Context
-
Convert form data to the given type.
- form(Class<T>) - Method in interface io.jooby.DefaultContext
- form(Class<T>) - Method in class io.jooby.ForwardingContext
- form(String) - Method in interface io.jooby.Context
-
Get a form field that matches the given name.
- form(String) - Method in interface io.jooby.DefaultContext
- form(String) - Method in class io.jooby.ForwardingContext
- FORM - Enum constant in enum class io.jooby.ParamSource
-
Source equivalent to
Context.form(String)
. - 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(Context) - Static method in interface io.jooby.Value
-
Creates a formdata.
- Formdata - Interface in io.jooby
-
Form class for direct MVC parameter provisioning.
- formMap() - Method in interface io.jooby.Context
-
Form data as single-value map.
- formMap() - Method in interface io.jooby.DefaultContext
- formMap() - Method in class io.jooby.ForwardingContext
- FormParam - Annotation Interface in io.jooby.annotation
-
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 class that helps to wrap and delegate to another context.
- ForwardingContext(Context) - Constructor for class io.jooby.ForwardingContext
-
Creates a new forwarding context.
- FOUND - Static variable in class io.jooby.StatusCode
-
302 Found
. - FOUND_CODE - Static variable in class io.jooby.StatusCode
-
302 Found
. - from(Config) - Static method in class io.jooby.handler.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() - 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(ServiceKey<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve a service/resource by key.
- get(Class<T>) - Static method in class io.jooby.Reified
-
Gets type literal for the given
Class
instance. - get(Class<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve a service/resource by key.
- get(Object) - Static method in class io.jooby.RequestScope
-
Get a previously bind value for the given key or
null
. - get(Type) - Static method in class io.jooby.Reified
-
Gets type literal for the given
Type
instance. - get(String) - Method in interface io.jooby.ParamLookup.Stage
- get(String) - Method in interface io.jooby.Session
-
Get a session attribute.
- get(String) - Method in interface io.jooby.ValueNode
-
Get a value that matches the given name.
- get(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP GET handler.
- GET - Annotation Interface in io.jooby.annotation
-
HTTP GET verb for mvc routes.
- GET - Static variable in interface io.jooby.Router
-
HTTP GET.
- 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.
- getAttribute(String) - Method in interface io.jooby.Context
-
Get an attribute by his key.
- getAttribute(String) - Method in interface io.jooby.DefaultContext
-
Get an attribute by his key.
- getAttribute(String) - Method in class io.jooby.ForwardingContext
- getAttributes() - Method in interface io.jooby.Context
-
Context attributes (a.k.a request attributes).
- getAttributes() - Method in class io.jooby.ForwardingContext
- getAttributes() - Method in class io.jooby.Jooby
- getAttributes() - Method in class io.jooby.Route
-
Attributes set to this route.
- getAttributes() - Method in interface io.jooby.Router
-
Mutable map of application attributes.
- 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.Jooby
- getBeanConverters() - Method in interface io.jooby.Router
-
Get all complex/bean value converters.
- 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() - Method in class io.jooby.Jooby
-
Application class loader.
- getClassLoader(ClassLoader) - Method in class io.jooby.EnvironmentOptions
-
Class loader.
- getClientAuth() - Method in class io.jooby.SslOptions
-
The desired SSL client authentication mode for SSL channels in server mode.
- getClientCertificates() - Method in interface io.jooby.Context
-
The certificates presented by the client for mutual TLS.
- getClientCertificates() - Method in class io.jooby.ForwardingContext
- 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.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.FileDownload
-
Content disposition header.
- getContentLength() - Method in interface io.jooby.ByteRange
-
New content length.
- getContentRange() - Method in interface io.jooby.ByteRange
-
Value for
Content-Range
response header. - getContentType() - Method in exception io.jooby.exception.NotAcceptableException
-
Content-Type or
null
. - getContentType() - Method in exception io.jooby.exception.UnsupportedMediaType
-
Content type.
- getContentType() - Method in class io.jooby.FileDownload
-
File content type.
- getContentType() - Method in interface io.jooby.FileUpload
-
Content type of file upload.
- getContentType() - Method in interface io.jooby.handler.Asset
- 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.Jooby
- getContextPath() - Method in interface io.jooby.Router
-
Get application context path (a.k.a as base path).
- getConverters() - Method in class io.jooby.Jooby
- getConverters() - Method in interface io.jooby.Router
-
Get all simple/string value converters.
- 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.
- getDefaultHeaders() - Method in class io.jooby.ServerOptions
-
True if default headers:
Date
,Content-Type
andServer
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
. - getEnvironment() - Method in class io.jooby.Jooby
-
Application environment.
- getEnvironment() - Method in interface io.jooby.Router
-
Application environment.
- getErrorHandler() - Method in class io.jooby.Jooby
- getErrorHandler() - Method in interface io.jooby.Router
-
Get the error handler.
- getEtag() - Method in interface io.jooby.handler.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.handler.Cors
- getFilename() - Method in class io.jooby.EnvironmentOptions
-
Configuration file name.
- getFileName() - Method in class io.jooby.FileDownload
-
File name.
- getFileName() - Method in interface io.jooby.FileUpload
-
Name of file upload.
- getFileSize() - Method in class io.jooby.FileDownload
-
File size or
-1
if unknown. - getFileSize() - Method in interface io.jooby.FileUpload
-
File size or
-1
when unknown. - getFilter() - Method in class io.jooby.Route
-
Decorator or
null
. - getFlashCookie() - Method in class io.jooby.Jooby
- getFlashCookie() - Method in interface io.jooby.Router
-
Template for the flash cookie.
- 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.handler.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.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 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 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.handler.Asset
- getLocale() - Method in class io.jooby.ModelAndView
-
Returns the locale used when rendering the view.
- getLocales() - Method in class io.jooby.Jooby
-
Returns the list of supported locales, or
null
if none set. - getLocales() - Method in interface io.jooby.Router
-
Returns the supported locales.
- getLog() - Method in class io.jooby.Jooby
- getLog() - Method in interface io.jooby.Router
-
Application logger.
- getLogFileName() - Method in interface io.jooby.LoggingService
-
List of possible names for configuration file.
- getLoggerOff() - Method in interface io.jooby.Server
-
Utility method to turn off odd logger.
- getMaxAge() - Method in class io.jooby.Cookie
-
Max age value:
- getMaxAge() - Method in class io.jooby.handler.CacheControl
-
Returns the max-age header parameter value.
- getMaxAge() - Method in class io.jooby.handler.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.handler.Cors
- getModel() - Method in class io.jooby.ModelAndView
-
View data (a.k.a as model).
- getMvcMethod() - Method in class io.jooby.Route
-
Method for MVC/Controller.
- 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 interface io.jooby.Server
- getName() - Method in class io.jooby.ServiceKey
-
Resource name or
null
. - getName() - Method in interface io.jooby.SslProvider
-
Provider name.
- getNode(String) - Method in interface io.jooby.ParamLookup.Stage
-
Wraps the result of
ParamLookup.Stage.get(String)
in anOptional
if the value is aValueNode
or returns an emptyOptional
otherwise. - getOptions() - Method in interface io.jooby.Server
-
Get server options.
- getOrigin() - Method in class io.jooby.handler.Cors
-
An origin must be a "*" (any origin), a domain name (like, http://foo.com) and/or a regex (like, http://*.domain.com).
- getOrNull(ServiceKey<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve an existing service or
null
if not exists. - getOrNull(Class<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve an existing service or
null
if not exists. - getParameter(String) - Method in class io.jooby.MediaType
-
Get a parameter that matches the given name or
null
. - getParameterized(Type, Type...) - Static method in class io.jooby.Reified
-
Gets type literal for the parameterized type represented by applying
typeArguments
torawType
. - 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.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) - Method in class io.jooby.Environment
-
Get a property under the given key or
null
when missing. - getProperty(String, String) - Method in class io.jooby.Environment
-
Get a property under the given key or use the given default value when missing.
- getPropertyName() - Method in interface io.jooby.LoggingService
-
System property to instruct the logging system where the configuration file is.
- getProtocol() - Method in interface io.jooby.Context
-
The name of the protocol the request.
- getProtocol() - Method in class io.jooby.ForwardingContext
- getProtocol() - Method in class io.jooby.SslOptions
-
Specify the enabled protocols for an SSL/TLS session.
- 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
- 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 ornull
when missing. - getRequestType() - Method in interface io.jooby.DefaultContext
- getRequestType() - Method in class io.jooby.ForwardingContext
- getRequestType(MediaType) - Method in interface io.jooby.Context
-
Request
Content-Type
header ornull
when missing. - getRequestType(MediaType) - Method in interface io.jooby.DefaultContext
- getRequestType(MediaType) - Method in class io.jooby.ForwardingContext
- getRequestURL() - Method in interface io.jooby.Context
-
Recreates full/entire url of the current request using the
Host
header. - getRequestURL() - Method in interface io.jooby.DefaultContext
- getRequestURL() - Method in class io.jooby.ForwardingContext
- getRequestURL(String) - Method in interface io.jooby.Context
-
Recreates full/entire request url using the
Host
header with a custom path/suffix. - getRequestURL(String) - Method in interface io.jooby.DefaultContext
- 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(String) - Static 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 represents 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.Jooby
- getRouterOptions() - Method in interface io.jooby.Router
-
Router options.
- getRoutes() - Method in class io.jooby.Jooby
- getRoutes() - Method in interface io.jooby.Router
-
Returns all routes.
- getRoutes() - Method in class io.jooby.RouteSet
-
Sub-routes.
- getSameSite() - Method in class io.jooby.Cookie
-
Returns the value for the 'SameSite' parameter.
- getScheme() - Method in interface io.jooby.Context
-
HTTP scheme in lower case.
- getScheme() - Method in class io.jooby.ForwardingContext
- 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.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.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.Jooby
- getSessionStore() - Method in interface io.jooby.Router
-
Session store.
- getSize() - Method in interface io.jooby.Body
-
Size in bytes.
- getSize() - Method in interface io.jooby.handler.Asset
- 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
. - getStartupSummary() - Method in class io.jooby.Jooby
-
Controls the level of information logged during startup.
- 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.
- 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.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.handler.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.
- getValue() - Method in enum class io.jooby.SameSite
-
Returns the parameter value used in
Set-Cookie
. - 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.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:
- GracefulShutdown() - Constructor for class io.jooby.GracefulShutdown
-
Creates a new shutdown handler and waits for existing request to finish.
- 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.
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.MediaType
- hashCode() - Method in class io.jooby.Reified
- hashCode() - Method in class io.jooby.ServiceKey
- hashCode() - Method in class io.jooby.StatusCode
- head(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP HEAD handler.
- HEAD - Annotation Interface in io.jooby.annotation
-
HTTP HEAD verb for mvc routes.
- HEAD - Static variable in interface io.jooby.Router
-
HTTP HEAD.
- header() - Method in interface io.jooby.Context
-
Request headers as
ValueNode
. - header() - Method in class io.jooby.ForwardingContext
- 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(String) - Method in class io.jooby.ForwardingContext
- header(String) - Static method in interface io.jooby.SessionToken
-
Create a header-based Session Token.
- Header - Annotation Interface in io.jooby.annotation
-
Mark a MVC method parameter as a request header.
- HEADER - Enum constant in enum class io.jooby.ParamSource
-
Source equivalent to
Context.header(String)
. - 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
- HeaderParam - Annotation Interface in io.jooby.annotation
-
Allow access to header value from MVC route method.
- headers(Context, Map<String, Collection<String>>) - Static method in interface io.jooby.Value
-
Create a hash/object value using the map values.
- HeadHandler - Class in io.jooby.handler
-
Add support for HTTP Head requests.
- HeadHandler() - Constructor for class io.jooby.handler.HeadHandler
- HMAC_SHA256 - Static variable in class io.jooby.Cookie
-
Algorithm name.
- 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. - HTML - Static variable in class io.jooby.MediaType
-
TEXT_HTML.
- HTTP_VERSION_NOT_SUPPORTED - Static variable in class io.jooby.StatusCode
-
505 HTTP Version Not Supported
. - HTTP_VERSION_NOT_SUPPORTED_CODE - Static variable in class io.jooby.StatusCode
-
505 HTTP Version Not Supported
.
I
- I_AM_A_TEAPOT - Static variable in class io.jooby.StatusCode
-
418 I'm a teapot
. - I_AM_A_TEAPOT_CODE - Static variable in class io.jooby.StatusCode
-
418 I'm a teapot
. - ID_SIZE - Static variable in interface io.jooby.SessionToken
-
Size of default token generator.
- IGNORE_CASE - Enum constant in enum class io.jooby.RouterOption
-
Indicates whenever routing algorithm does case-sensitive matching on incoming request path.
- IGNORE_TRAILING_SLASH - Enum constant in enum class io.jooby.RouterOption
-
Indicates whenever a trailing slash is ignored on incoming request path.
- 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
. - in(ParamSource) - Method in interface io.jooby.ParamLookup
-
Adds the specified source to the search locations.
- inCookie() - Method in interface io.jooby.ParamLookup
-
Adds the cookie parameters to the search locations.
- inFlash() - Method in interface io.jooby.ParamLookup
-
Adds the flash parameters to the search locations.
- inForm() - Method in interface io.jooby.ParamLookup
-
Adds the form parameters to the search locations.
- inHeader() - Method in interface io.jooby.ParamLookup
-
Adds the header parameters to the search locations.
- init(Context, WebSocketConfigurer) - Method in interface io.jooby.WebSocket.Initializer
-
Callback with a readonly context and websocket configurer.
- inline() - Method in interface io.jooby.FileDownload.Builder
-
Creates an inline
FileDownload
. - INLINE - Enum constant in enum class io.jooby.FileDownload.Mode
-
Value indicating that the file can be displayed inside the Web page, or as the Web page.
- InlineFile - Class in io.jooby
-
Represents an inline file response.
- InlineFile(InputStream, String) - Constructor for class io.jooby.InlineFile
-
Creates a new inline file.
- InlineFile(InputStream, String, long) - Constructor for class io.jooby.InlineFile
-
Creates a new inline file.
- InlineFile(Path) - Constructor for class io.jooby.InlineFile
-
Creates a new inline file.
- InlineFile(Path, String) - Constructor for class io.jooby.InlineFile
-
Creates a new inline file.
- inPath() - Method in interface io.jooby.ParamLookup
-
Adds the path parameters to the search locations.
- inQuery() - Method in interface io.jooby.ParamLookup
-
Adds the query parameters to the search locations.
- inSession() - Method in interface io.jooby.ParamLookup
-
Adds the session parameters to the search locations.
- install(Extension) - Method in class io.jooby.Jooby
-
Install extension module.
- 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(Jooby) - Method in class io.jooby.OpenAPIModule
- install(Server) - Method in class io.jooby.Jooby
-
Set server to use.
- install(SneakyThrows.Supplier<Jooby>) - Method in class io.jooby.Jooby
-
Installs/imports a full application into this one.
- install(String, SneakyThrows.Supplier<Jooby>) - Method in class io.jooby.Jooby
-
Installs/imports a full application into this one.
- 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_THREADS - Static variable in class io.jooby.ServerOptions
-
Number of available threads, but never smaller than
2
. - io.jooby - module io.jooby
-
Jooby module.
- io.jooby - package io.jooby
- io.jooby.annotation - package io.jooby.annotation
- io.jooby.exception - package io.jooby.exception
- io.jooby.handler - package io.jooby.handler
- isActive(String, String...) - Method in class io.jooby.Environment
-
Test is the given environment names are active.
- isAddressInUse(Throwable) - Static method in interface io.jooby.Server
-
Whenever the given exception is an address already in use.
- 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.handler.Asset
- isEtag() - Method in class io.jooby.handler.CacheControl
-
Returns whether e-tag support is enabled.
- isExpectContinue() - Method in class io.jooby.ServerOptions
-
Whenever 100-Expect and continue requests are handled by the server.
- isFatal(Throwable) - Static method in class io.jooby.SneakyThrows
-
True if the given exception is one of
InterruptedException
,LinkageError
,ThreadDeath
,VirtualMachineError
. - isHttp2() - Method in class io.jooby.ServerOptions
-
Specify when HTTP/2 is enabled or not.
- 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.
- isHttpsOnly() - Method in class io.jooby.ServerOptions
-
Bind only https port.
- isHttpTrace() - Method in class io.jooby.Route
-
True if route support HTTP TRACE.
- isInIoThread() - Method in interface io.jooby.Context
-
True when request runs in IO threads.
- isInIoThread() - Method in class io.jooby.ForwardingContext
- isInMemory() - Method in interface io.jooby.Body
-
True if body is on memory.
- isJson() - Method in class io.jooby.MediaType
-
Indicates whenever this is a json mediatype.
- isLastModified() - Method in class io.jooby.handler.CacheControl
-
Returns whether the handling of
If-Modified-Since
header is enabled. - isMissing() - Method in interface io.jooby.Value
-
True for missing values.
- isModify() - Method in interface io.jooby.Session
-
True for modified/dirty sessions.
- isNew() - Method in interface io.jooby.Session
-
True for new sessions.
- isNonBlocking() - Method in class io.jooby.Route
-
Truth when route is non-blocking.
- isNonBlockingSet() - Method in class io.jooby.Route
-
Test if the
Route.isNonBlocking()
flag was set or not. - 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.
- isPreflight() - Method in interface io.jooby.Context
-
Test whenever this is a CORS preflight request.
- isPresent() - Method in interface io.jooby.Value
-
True for present values.
- isReactive() - Method in interface io.jooby.ResultHandler
- isResponseStarted() - Method in interface io.jooby.Context
-
True if response already started.
- isResponseStarted() - Method in class io.jooby.ForwardingContext
- 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.
- isStarted() - Method in class io.jooby.Jooby
- isStarted() - Method in interface io.jooby.Router
- isStopped() - Method in class io.jooby.Jooby
- isStopped() - Method in interface io.jooby.Router
- isTextual() - Method in class io.jooby.MediaType
-
Indicates whenever this is a textual mediatype.
- isTransactional(boolean) - Method in class io.jooby.Route
-
Returns whether this route is marked as transactional, or returns
defaultValue
if this route has not been marked explicitly. - 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 interface io.jooby.ValueNode
-
Value iterator.
J
- 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_JSON.
- JS - Static variable in class io.jooby.MediaType
-
APPLICATION_JAVASCRIPT.
- 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. - JSON - Enum constant in enum class io.jooby.OpenAPIModule.Format
-
JSON.
- JSON - Static variable in class io.jooby.MediaType
-
APPLICATION_JSON.
K
- keep() - Method in interface io.jooby.FlashMap
-
Keep flash cookie for next request.
- keepAlive(long) - Method in interface io.jooby.ServerSentEmitter
-
Send a comment message to the client.
- keepAlive(long, TimeUnit) - Method in interface io.jooby.ServerSentEmitter
-
Send a comment message to the client.
- KeepAlive(ServerSentEmitter, long) - Constructor for class io.jooby.ServerSentEmitter.KeepAlive
-
Creates a KeepAlive.
- key(Class<T>) - Static method in class io.jooby.ServiceKey
-
Creates a resource key.
- key(Class<T>, String) - Static method in class io.jooby.ServiceKey
-
Creates a named resource key.
- keySet() - Method in interface io.jooby.ServiceRegistry
-
Registered service keys.
L
- LANG - Static variable in interface io.jooby.AvailableSettings
-
The languages your application supports.
- 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.
- LAX - Enum constant in enum class io.jooby.SameSite
-
Cookies are allowed to be sent with top-level navigations and will be sent along with GET request initiated by third party website.
- 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).
- locale() - Method in interface io.jooby.Context
-
Returns a locale that best matches the current request or the default locale specified by
Jooby.setLocales(List)
or by theapplication.lang
configuration property. - locale(BiFunction<List<Locale.LanguageRange>, List<Locale>, Locale>) - Method in interface io.jooby.Context
-
Returns a locale that best matches the current request.
- locales() - Method in interface io.jooby.Context
-
Returns a list of locales that best matches the current request as per
Locale.filter(java.util.List<java.util.Locale.LanguageRange>, java.util.Collection<java.util.Locale>, java.util.Locale.FilteringMode)
. - locales(BiFunction<List<Locale.LanguageRange>, List<Locale>, List<Locale>>) - Method in interface io.jooby.Context
-
Returns a list of locales that best matches the current request.
- LOCKED - Static variable in class io.jooby.StatusCode
-
423 Locked
. - LOCKED_CODE - Static variable in class io.jooby.StatusCode
-
423 Locked
. - log(Jooby, Server) - Method in interface io.jooby.StartupSummary
- log(Consumer<String>) - Method in class io.jooby.handler.AccessLogHandler
-
Log an NCSA line to somewhere.
- LOG_FILE - Static variable in interface io.jooby.AvailableSettings
-
Location of log configuration file.
- LoggingService - Interface in io.jooby
-
Describe the underlying logging system.
- logOff(List<String>, SneakyThrows.Runnable) - Method in interface io.jooby.LoggingService
-
Utility method to temporarily turn OFF a logger while running an action.
- 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.
- lookup() - Method in interface io.jooby.Context
-
Returns a
ParamLookup
instance which is a fluent interface covering the functionality of theContext.lookup(String, ParamSource...)
method. - lookup(String) - Method in interface io.jooby.Context
-
Searches for a parameter in the following order:
ParamSource.PATH
,ParamSource.QUERY
,ParamSource.FORM
returning the first non-missingValue
, or a 'missing'Value
if none found. - lookup(String, ParamSource...) - Method in interface io.jooby.Context
- LOOP_DETECTED - Static variable in class io.jooby.StatusCode
-
508 Loop Detected
. - LOOP_DETECTED_CODE - Static variable in class io.jooby.StatusCode
-
508 Loop Detected
.
M
- map(Type, Type) - Static method in class io.jooby.Reified
-
Creates an
Map
type literal. - match(Context) - Method in class io.jooby.Jooby
- match(Context) - Method in interface io.jooby.Router
-
Find a matching route using the given context.
- match(String, String) - Method in class io.jooby.Jooby
- match(String, String) - Method in interface io.jooby.Router
-
Find a matching route using the given context.
- matches() - Method in interface io.jooby.Router.Match
-
True for matching route.
- 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.ResultHandler
-
True if response route type is the one expected by the response handler.
- 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(String) - Method in class io.jooby.MediaType
-
True if this mediatype is compatible with the given content type.
- MAX_BUFFER_SIZE - Static variable in interface io.jooby.WebSocket
-
Max message size for websocket (128K).
- MediaType - Class in io.jooby
-
Implementation of media/content type.
- memory() - Static method in interface io.jooby.SessionStore
-
Creates a cookie based session and store data in memory.
- memory(int) - 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.
- memory(Duration) - Static method in interface io.jooby.SessionStore
-
Creates a cookie based session and store data in memory.
- 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
. - 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) - Static method in interface io.jooby.Value
-
Creates a missing value.
- 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) - Constructor for class io.jooby.ModelAndView
-
Creates a new model and view.
- ModelAndView(String, Map<String, Object>) - 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.
- mount(Router) - Method in class io.jooby.Jooby
- mount(Router) - Method in interface io.jooby.Router
-
Import all routes from the given router.
- mount(String, Router) - Method in class io.jooby.Jooby
- mount(String, Router) - Method in interface io.jooby.Router
-
Import all routes from the given router and prefix them with the given path.
- mount(Predicate<Context>, Router) - Method in class io.jooby.Jooby
- mount(Predicate<Context>, Router) - Method in interface io.jooby.Router
-
Import routes from given router.
- mount(Predicate<Context>, Runnable) - Method in class io.jooby.Jooby
- mount(Predicate<Context>, Runnable) - Method in interface io.jooby.Router
-
Import routes from given action.
- 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 - Static variable in class io.jooby.MediaType
-
MULTIPART_FORM_DATA.
- MULTIPART_FORMDATA - Static variable in class io.jooby.MediaType
-
MULTIPART_FORM_DATA.
- 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
. - 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(Class) - 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 class io.jooby.Jooby
- mvc(Class<T>, Provider<T>) - Method in interface io.jooby.Router
-
Import all route method from the given controller class.
- mvc(Object) - Method in class io.jooby.Jooby
- 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. - mvcMethod(Method) - Method in class io.jooby.Route
-
Set mvc/controller method.
- mvcRouterNotFound(Class) - Static method in exception io.jooby.Usage
-
Creates a mvc route missing exception.
N
- name() - Element in annotation interface io.jooby.annotation.Param
-
Parameter name.
- name() - Method in interface io.jooby.Value
-
Name of this value or
null
. - NAME - Static variable in interface io.jooby.FlashMap
-
Flash map attribute.
- NAME - Static variable in interface io.jooby.Session
-
Attribute's name.
- 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.SessionStore.InMemory
- newSession(Context) - Method in interface io.jooby.SessionStore
-
Creates a new session.
- newSubscriber(Context) - Static method in class io.jooby.ReactiveSupport
-
Creates a subscriber from web context.
- newToken() - Method in interface io.jooby.SessionToken
-
Generate a new token.
- NO_CACHE - Static variable in class io.jooby.handler.CacheControl
-
Constant for the max-age parameter, when set, the
Cache-Control
header is set tono-store, must-revalidate
. - 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
. - noCache() - Static method in class io.jooby.handler.CacheControl
-
Returns a caching configuration for disabling cache completely.
- 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
. - NONE - Enum constant in enum class io.jooby.SameSite
-
Cookies will be sent in all contexts, i.e sending cross-origin is allowed.
- NONE - Enum constant in enum class io.jooby.SslOptions.ClientAuth
-
SSL client authentication is NOT requested.
- NONE - Static variable in interface io.jooby.StartupSummary
-
Print nothing.
- NOOP - Static variable in interface io.jooby.WebSocket.WriteCallback
- 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.
- NORMALIZE_SLASH - Enum constant in enum class io.jooby.RouterOption
-
Normalize incoming request path by removing multiple slash sequences.
- 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.
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, byte[]) - Static method in interface io.jooby.Body
-
Creates a HTTP body from byte array.
- of(Context, InputStream, long) - Static method in interface io.jooby.Body
-
Creates a HTTP body from input stream.
- of(Context, Path) - Static method in interface io.jooby.Body
-
Creates a HTTP body from file.
- of(String) - Static method in enum class io.jooby.SameSite
-
Returns an instance of this class based on value it uses in
Set-Cookie
. - 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.OnClose) - Method in interface io.jooby.WebSocketConfigurer
-
Register an
onClose
callback. - onClose(WebSocket, WebSocketCloseStatus) - Method in interface io.jooby.WebSocket.OnClose
-
Generated when client close the connection or when explicit calls to
WebSocket.close(WebSocketCloseStatus)
. - onComplete(Context, Throwable) - Method in interface io.jooby.Sender.Callback
-
Callback after for
write
operation. - onComplete(Route.Complete) - Method in interface io.jooby.Context
-
Add a complete listener.
- onComplete(Route.Complete) - Method in class io.jooby.ForwardingContext
- 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.OnError) - Method in interface io.jooby.WebSocketConfigurer
-
Register an
onError
callback. - onError(WebSocket, Throwable) - Method in interface io.jooby.WebSocket.OnError
-
Error callback, let you listen for exception.
- onMessage(WebSocket.OnMessage) - Method in interface io.jooby.WebSocketConfigurer
-
Register an
onMessage
callback. - onMessage(WebSocket, WebSocketMessage) - Method in interface io.jooby.WebSocket.OnMessage
-
Generated when a client send a message.
- 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() - Constructor for class io.jooby.OpenAPIModule
-
Creates an OpenAPI module.
- OpenAPIModule(String) - Constructor for class io.jooby.OpenAPIModule
-
Creates an OpenAPI module.
- OpenAPIModule.Format - Enum Class in io.jooby
-
Available formats.
- OpenApiRegister - Annotation Interface in io.jooby.annotation
-
Allows manually specifying MVC routes to be included in openapi documentation generation.
- operationComplete(WebSocket, Throwable) - Method in interface io.jooby.WebSocket.WriteCallback
-
Notify about message sent to client.
- optional(Type) - Static method in class io.jooby.Reified
-
Creates an
Optional
type literal. - options(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP OPTIONS handler.
- OPTIONS - Annotation Interface in io.jooby.annotation
-
HTTP OPTIONS verb for mvc routes.
- OPTIONS - Static variable in interface io.jooby.Router
-
HTTP OPTIONS.
P
- PACKAGE - Static variable in interface io.jooby.AvailableSettings
-
The base package of your application this is computed from
Jooby.runApp(String[], Supplier)
. - Param - Annotation Interface in io.jooby.annotation
-
Allow access to a parameter from MVC route method and from multiple sources.
- parameterNameNotPresent(Parameter) - Static method in exception io.jooby.Usage
-
Thrown when the reflective bean converter has no access to a parameter name.
- ParamLookup - Interface in io.jooby
-
Fluent interface allowing to conveniently search context parameters in multiple sources.
- ParamLookup.Stage - Interface in io.jooby
-
Fluent interface allowing to conveniently search context parameters in multiple sources.
- ParamSource - Enum Class in io.jooby
-
List of possible parameter sources supported by
Context.lookup(String, ParamSource...)
. - parse(String) - Static method in class io.jooby.MediaType
-
Parse one or more mediatype values.
- parse(String, long) - Static method in interface io.jooby.ByteRange
-
Parse a byte range request value.
- 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(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP PATCH handler.
- PATCH - Annotation Interface in io.jooby.annotation
-
HTTP PATCH verb for mvc routes.
- PATCH - Static variable in interface io.jooby.Router
-
HTTP PATCH.
- path() - Element in annotation interface io.jooby.annotation.CONNECT
-
Path pattern.
- path() - Element in annotation interface io.jooby.annotation.DELETE
-
Path pattern.
- path() - Element in annotation interface io.jooby.annotation.GET
-
Path pattern.
- path() - Element in annotation interface io.jooby.annotation.HEAD
-
Path pattern.
- path() - Element in annotation interface io.jooby.annotation.OPTIONS
-
Path pattern.
- path() - Element in annotation interface io.jooby.annotation.PATCH
-
Path pattern.
- path() - Element in annotation interface io.jooby.annotation.POST
-
Path pattern.
- path() - Element in annotation interface io.jooby.annotation.PUT
-
Path pattern.
- path() - Element in annotation interface io.jooby.annotation.TRACE
-
Path pattern.
- path() - Method in interface io.jooby.Context
-
Convert
Context.pathMap()
to aValueNode
object. - path() - Method in interface io.jooby.DefaultContext
- path() - Method in interface io.jooby.FileUpload
-
File system path to access file content.
- path() - Method in class io.jooby.ForwardingContext
- path(Class<T>) - Method in interface io.jooby.Context
-
Convert the
Context.pathMap()
to the given type. - path(Class<T>) - Method in interface io.jooby.DefaultContext
- path(Class<T>) - Method in class io.jooby.ForwardingContext
- path(String) - Method in interface io.jooby.Context
-
Path variable.
- path(String) - Method in interface io.jooby.DefaultContext
- path(String) - Method in class io.jooby.ForwardingContext
- path(String, Runnable) - Method in class io.jooby.Jooby
- path(String, Runnable) - Method in interface io.jooby.Router
-
Group one or more routes under a common path prefix.
- Path - Annotation Interface in io.jooby.annotation
-
Set a path for Mvc routes.
- PATH - Enum constant in enum class io.jooby.ParamSource
-
Source equivalent to
Context.path(String)
. - 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 interface io.jooby.Router.Match
-
Path pattern variables.
- PathParam - Annotation Interface in io.jooby.annotation
-
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.
- PID - Static variable in interface io.jooby.AvailableSettings
-
Application process ID.
- pkcs12(String, String) - Static method in class io.jooby.SslOptions
-
Creates SSL options for PKCS12 certificate type.
- PKCS12 - Static variable in class io.jooby.SslOptions
-
PKCS12 constant.
- 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.
- PORT - Static variable in interface io.jooby.Context
-
Constant for default HTTP port.
- post(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP POST handler.
- POST - Annotation Interface in io.jooby.annotation
-
HTTP POST verb for mvc routes.
- POST - Static variable in interface io.jooby.Router
-
HTTP POST.
- 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() - Element in annotation interface io.jooby.annotation.CONNECT
-
Produce types.
- produces() - Element in annotation interface io.jooby.annotation.DELETE
-
Produce types.
- produces() - Element in annotation interface io.jooby.annotation.GET
-
Produce types.
- produces() - Element in annotation interface io.jooby.annotation.HEAD
-
Produce types.
- produces() - Element in annotation interface io.jooby.annotation.OPTIONS
-
Produce types.
- produces() - Element in annotation interface io.jooby.annotation.PATCH
-
Produce types.
- produces() - Element in annotation interface io.jooby.annotation.POST
-
Produce types.
- produces() - Element in annotation interface io.jooby.annotation.PUT
-
Produce types.
- produces() - Element in annotation interface io.jooby.annotation.TRACE
-
Produce types.
- 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.
- Produces - Annotation Interface in io.jooby.annotation
-
Defines what media types a route can produces.
- 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.
- 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
. - put(ServiceKey<T>, Provider<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(Class<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(String, boolean) - 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, float) - Method in interface io.jooby.Session
-
Put a session attribute.
- 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, FileUpload) - Method in interface io.jooby.Formdata
-
Put/Add a file into this multipart request.
- put(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP PUT handler.
- put(String, ValueNode) - Method in interface io.jooby.Formdata
-
Add a form field.
- put(String, CharSequence) - Method in interface io.jooby.Session
-
Put a session attribute.
- put(String, Number) - Method in interface io.jooby.Session
-
Put a session attribute.
- put(String, Object) - Method in class io.jooby.ModelAndView
-
Put a model attribute.
- put(String, String) - Method in interface io.jooby.Formdata
-
Add a form field.
- put(String, String) - Method in interface io.jooby.Session
-
Put a session attribute.
- put(String, Collection<String>) - Method in interface io.jooby.Formdata
-
Add a form field.
- put(Map<String, Object>) - Method in class io.jooby.ModelAndView
-
Copy all the attributes into the model.
- PUT - Annotation Interface in io.jooby.annotation
-
HTTP PUT verb for mvc routes.
- PUT - Static variable in interface io.jooby.Router
-
HTTP PUT.
- 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(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>, 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>, 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() - Method in class io.jooby.ForwardingContext
- query(Class<T>) - Method in interface io.jooby.Context
-
Convert the queryString to the given type.
- query(Class<T>) - Method in interface io.jooby.DefaultContext
- query(Class<T>) - Method in class io.jooby.ForwardingContext
- query(String) - Method in interface io.jooby.Context
-
Get a query parameter that matches the given name.
- query(String) - Method in interface io.jooby.DefaultContext
- query(String) - Method in class io.jooby.ForwardingContext
- QUERY - Enum constant in enum class io.jooby.ParamSource
-
Source equivalent to
Context.query(String)
. - 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
- QueryParam - Annotation Interface in io.jooby.annotation
-
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 interface io.jooby.QueryString
-
Query string with the leading
?
or empty string. - QueryString - Interface in io.jooby
-
Query string class for direct MVC parameter provisioning.
R
- RateLimitHandler - Class in io.jooby.handler
-
Rate limit handler using https://github.com/vladimir-bukhtoyarov/bucket4j.
- RateLimitHandler(Bucket) - Constructor for class io.jooby.handler.RateLimitHandler
-
Rate limiter with a shared/global bucket.
- RateLimitHandler(SneakyThrows.Function<String, Bucket>) - Constructor for class io.jooby.handler.RateLimitHandler
-
Rate limit per IP/Remote Address.
- RateLimitHandler(SneakyThrows.Function<String, Bucket>, SneakyThrows.Function<Context, String>) - Constructor for class io.jooby.handler.RateLimitHandler
-
Rate limiter with a custom key provider.
- RateLimitHandler(SneakyThrows.Function<String, Bucket>, String) - Constructor for class io.jooby.handler.RateLimitHandler
-
Rate limit per header key.
- rawType(Type) - Static method in class io.jooby.Reified
-
Get raw type (class) from given type.
- ReactiveSupport - Class in io.jooby
-
Utility function for handling
CompletionStage
andFlow.Publisher
. - ReactiveSupport() - Constructor for class io.jooby.ReactiveSupport
- readOnly(Context) - Static method in interface io.jooby.Context
-
Wrap a HTTP context and make read only.
- 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) - Constructor for exception io.jooby.exception.RegistryException
-
Constructor.
- RegistryException(String, Throwable) - 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(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
- removeResponseHeaders() - Method in interface io.jooby.Context
-
Clear/reset all the headers, including cookies.
- removeResponseHeaders() - Method in class io.jooby.ForwardingContext
- render(Context, ModelAndView) - Method in interface io.jooby.TemplateEngine
-
Render a model and view instance as String.
- 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 interface io.jooby.WebSocket
-
Encode a value and send a text message to client.
- render(Object, WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
Encode a value and send a text message to client.
- renderBinary(Object) - Method in interface io.jooby.WebSocket
-
Encode a value and send a binary message to client.
- renderBinary(Object, WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
Encode a value and send a binary message to client.
- renewId() - Method in interface io.jooby.Session
-
Assign a new ID to the existing session.
- renewSessionId(Context, Session) - Method in class io.jooby.SessionStore.InMemory
- renewSessionId(Context, Session) - Method in interface io.jooby.SessionStore
-
Renew Session ID.
- REQUEST_ENTITY_TOO_LARGE - Static variable in class io.jooby.Route
-
Handler for
StatusCode.REQUEST_ENTITY_TOO_LARGE
responses. - 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 - Enum constant in enum class io.jooby.SslOptions.ClientAuth
-
SSL client authentication is requested but not required.
- 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.handler.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(ServiceKey<T>) - Method in interface io.jooby.DefaultContext
- require(ServiceKey<T>) - Method in class io.jooby.ForwardingContext
- require(ServiceKey<T>) - Method in class io.jooby.Jooby
- require(ServiceKey<T>) - Method in interface io.jooby.Registry
-
Provides an instance of the given type.
- require(ServiceKey<T>) - Method in interface io.jooby.ServiceRegistry
- require(Class<T>) - Method in interface io.jooby.DefaultContext
- require(Class<T>) - Method in class io.jooby.ForwardingContext
- require(Class<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>) - Method in interface io.jooby.ServiceRegistry
- require(Class<T>, String) - Method in interface io.jooby.DefaultContext
- require(Class<T>, String) - Method in class io.jooby.ForwardingContext
- require(Class<T>, String) - Method in class io.jooby.Jooby
- require(Class<T>, String) - Method in interface io.jooby.Registry
-
Provides an instance of the given type where name matches it.
- require(Class<T>, String) - Method in interface io.jooby.ServiceRegistry
- REQUIRED - Enum constant in enum class io.jooby.SslOptions.ClientAuth
-
SSL client authentication is required.
- 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. - requiresSecure() - Method in enum class io.jooby.SameSite
-
Returns whether this value requires the cookie to be flagged as
Secure
. - 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
. - RESET_HEADERS_ON_ERROR - Enum constant in enum class io.jooby.RouterOption
-
Indicates whenever response headers are clear/reset in case of exception.
- resolve(String) - Method in interface io.jooby.handler.AssetSource
-
Resolve an asset using the given path.
- 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, boolean, String, String) - 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.
- responseHeader(String...) - Method in class io.jooby.handler.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
- responseStream() - Method in interface io.jooby.Context
-
HTTP response channel as output stream.
- responseStream() - Method in class io.jooby.ForwardingContext
- responseStream(MediaType) - Method in interface io.jooby.Context
-
HTTP response channel as output stream.
- responseStream(MediaType) - Method in interface io.jooby.DefaultContext
- responseStream(MediaType) - Method in class io.jooby.ForwardingContext
- responseStream(MediaType, SneakyThrows.Consumer<OutputStream>) - Method in interface io.jooby.Context
-
HTTP response channel as output stream.
- responseStream(MediaType, SneakyThrows.Consumer<OutputStream>) - Method in interface io.jooby.DefaultContext
- responseStream(MediaType, SneakyThrows.Consumer<OutputStream>) - Method in class io.jooby.ForwardingContext
- responseStream(SneakyThrows.Consumer<OutputStream>) - Method in interface io.jooby.Context
-
HTTP response channel as output stream.
- responseStream(SneakyThrows.Consumer<OutputStream>) - Method in interface io.jooby.DefaultContext
- responseStream(SneakyThrows.Consumer<OutputStream>) - Method in class io.jooby.ForwardingContext
- responseWriter() - Method in interface io.jooby.Context
-
HTTP response channel as response writer.
- responseWriter() - Method in interface io.jooby.DefaultContext
- responseWriter() - Method in class io.jooby.ForwardingContext
- responseWriter(MediaType) - Method in interface io.jooby.Context
-
HTTP response channel as response writer.
- responseWriter(MediaType) - Method in interface io.jooby.DefaultContext
- responseWriter(MediaType) - Method in class io.jooby.ForwardingContext
- responseWriter(MediaType, 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.DefaultContext
- responseWriter(MediaType, SneakyThrows.Consumer<PrintWriter>) - Method in class io.jooby.ForwardingContext
- responseWriter(MediaType, Charset) - Method in interface io.jooby.Context
-
HTTP response channel as response writer.
- responseWriter(MediaType, Charset) - Method in class io.jooby.ForwardingContext
- responseWriter(MediaType, Charset, 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.DefaultContext
- responseWriter(MediaType, Charset, SneakyThrows.Consumer<PrintWriter>) - Method in class io.jooby.ForwardingContext
- responseWriter(SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.Context
-
HTTP response channel as response writer.
- responseWriter(SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.DefaultContext
- responseWriter(SneakyThrows.Consumer<PrintWriter>) - Method in class io.jooby.ForwardingContext
- resultHandler(ResultHandler) - Method in class io.jooby.Jooby
- resultHandler(ResultHandler) - Method in interface io.jooby.Router
-
Add a response handler factory.
- ResultHandler - Interface in io.jooby
-
Bind a route response type to a custom handler.
- 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
. - 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.
- reverse(Map<String, Object>) - Method in class io.jooby.Route
-
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() - Method in interface io.jooby.Router.Match
-
Matched route.
- route(String, String, Route.Handler) - Method in class io.jooby.Jooby
- route(String, String, Route.Handler) - Method in interface io.jooby.Router
-
Add a route.
- 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.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
-
Deprecated.use
Route.Filter
. - Route.Filter - Interface in io.jooby
-
Decorates a route handler by running logic before and after route handler.
- Route.Handler - Interface in io.jooby
-
Route handler here is where the application logic lives.
- Router - Interface in io.jooby
-
Routing DSL functions.
- Router.Match - Interface in io.jooby
-
Find route result.
- RouterOption - Enum Class in io.jooby
-
Router matching options.
- routes(Runnable) - Method in class io.jooby.Jooby
- routes(Runnable) - Method in interface io.jooby.Router
-
Group one or more routes.
- ROUTES - Static variable in interface io.jooby.StartupSummary
-
Print application routes and server path.
- 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
- run() - Method in class io.jooby.ServerSentEmitter.KeepAlive
- run() - Method in interface io.jooby.SneakyThrows.Runnable
-
Run task.
- run(Context) - Method in class io.jooby.CompletionListeners
-
Execute all listeners.
- 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.
- runApp(String[], Consumer<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.
S
- SameSite - Enum Class in io.jooby
-
The SameSite attribute of the Set-Cookie HTTP response header allows you to declare if your cookie should be restricted to a first-party or same-site context.
- 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.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(byte[]) - Method in interface io.jooby.Context
-
Send response data.
- send(byte[]) - Method in class io.jooby.ForwardingContext
- send(byte[]) - Method in interface io.jooby.ServerSentEmitter
-
Send a text message to client.
- send(byte[]) - Method in interface io.jooby.WebSocket
-
Send a text message to client.
- send(byte[]...) - Method in interface io.jooby.Context
-
Send response data.
- send(byte[]...) - Method in interface io.jooby.DefaultContext
- send(byte[]...) - Method in class io.jooby.ForwardingContext
- send(byte[], WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
Send a text message to client.
- send(FileDownload) - Method in interface io.jooby.Context
-
Send a file download response.
- send(FileDownload) - Method in interface io.jooby.DefaultContext
- send(FileDownload) - Method in class io.jooby.ForwardingContext
- send(ServerSentMessage) - Method in interface io.jooby.ServerSentEmitter
-
Send a message to the client.
- send(StatusCode) - Method in interface io.jooby.Context
-
Send an empty response with the given status code.
- send(StatusCode) - Method in class io.jooby.ForwardingContext
- send(InputStream) - Method in interface io.jooby.Context
-
Send response data.
- send(InputStream) - Method in class io.jooby.ForwardingContext
- send(Object) - Method in interface io.jooby.ServerSentEmitter
-
Send a text message to client.
- send(String) - Method in interface io.jooby.Context
-
Send response data.
- send(String) - Method in interface io.jooby.DefaultContext
- send(String) - Method in class io.jooby.ForwardingContext
- send(String) - Method in interface io.jooby.ServerSentEmitter
-
Send a text message to client.
- send(String) - Method in interface io.jooby.WebSocket
-
Send a text message to client.
- send(String, WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
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(String, Charset) - Method in interface io.jooby.Context
-
Send response data.
- send(String, Charset) - Method in class io.jooby.ForwardingContext
- send(ByteBuffer) - Method in interface io.jooby.Context
-
Send response data.
- send(ByteBuffer) - Method in class io.jooby.ForwardingContext
- send(ByteBuffer[]) - Method in interface io.jooby.Context
-
Send response data.
- send(ByteBuffer[]) - Method in class io.jooby.ForwardingContext
- send(FileChannel) - Method in interface io.jooby.Context
-
Send a file response.
- send(FileChannel) - Method in class io.jooby.ForwardingContext
- send(ReadableByteChannel) - Method in interface io.jooby.Context
-
Send response data.
- send(ReadableByteChannel) - Method in class io.jooby.ForwardingContext
- send(Path) - Method in interface io.jooby.Context
-
Send a file response.
- send(Path) - Method in interface io.jooby.DefaultContext
- send(Path) - Method in class io.jooby.ForwardingContext
- sendBinary(byte[]) - Method in interface io.jooby.WebSocket
-
Send a binary message to client.
- sendBinary(byte[], WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
Send a binary message to client.
- sendBinary(String) - Method in interface io.jooby.WebSocket
-
Send a binary message to client.
- sendBinary(String, WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
Send a binary message to client.
- 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) - Method in interface io.jooby.DefaultContext
- sendError(Throwable) - Method in class io.jooby.ForwardingContext
- sendError(Throwable, StatusCode) - Method in interface io.jooby.Context
-
Send an error response.
- sendError(Throwable, StatusCode) - Method in interface io.jooby.DefaultContext
-
Send an error response.
- sendError(Throwable, StatusCode) - Method in class io.jooby.ForwardingContext
- sendRedirect(StatusCode, String) - Method in interface io.jooby.Context
-
Send a redirect response.
- sendRedirect(StatusCode, String) - Method in interface io.jooby.DefaultContext
- sendRedirect(StatusCode, String) - Method in class io.jooby.ForwardingContext
- sendRedirect(String) - Method in interface io.jooby.Context
-
Send a
302
response. - sendRedirect(String) - Method in interface io.jooby.DefaultContext
- sendRedirect(String) - Method in class io.jooby.ForwardingContext
- Server - Interface in io.jooby
-
Web server contract.
- 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 propertyserver.port
. - Server.Base - Class in io.jooby
-
Base class for server.
- 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.
- session() - Method in interface io.jooby.Context
-
Find a session or creates a new session.
- session() - Method in interface io.jooby.DefaultContext
- session() - Method in class io.jooby.ForwardingContext
- session(String) - Method in interface io.jooby.Context
-
Find a session attribute using the given name.
- session(String) - Method in interface io.jooby.DefaultContext
- session(String) - Method in class io.jooby.ForwardingContext
- Session - Interface in io.jooby
-
HTTP session.
- SESSION - Enum constant in enum class io.jooby.ParamSource
-
Source equivalent to
Context.session(String)
. - 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 Interface in io.jooby.annotation
-
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(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.
- setAttribute(String, Object) - Method in interface io.jooby.Context
-
Set an application attribute.
- setAttribute(String, Object) - Method in interface io.jooby.DefaultContext
- setAttribute(String, Object) - Method in class io.jooby.ForwardingContext
- 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.
- setBufferSize(int) - Method in class io.jooby.ServerOptions
-
Set buffer size.
- setCert(InputStream) - 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.
- setConfig(Config) - Method in class io.jooby.Environment
-
Set configuration properties.
- 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.
- setContextAsService(boolean) - Method in class io.jooby.Jooby
- setContextAsService(boolean) - Method in interface io.jooby.Router
-
If enabled, allows to retrieve the
Context
object associated with the current request via the service registry while the request is being processed. - setContextPath(String) - Method in class io.jooby.Jooby
- setContextPath(String) - Method in interface io.jooby.Router
-
Set application context path.
- setCreationTime(Instant) - Method in interface io.jooby.Session
-
Set session creation time.
- 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.
- setDefaultHeaders(boolean) - Method in class io.jooby.ServerOptions
-
Enabled/disabled default server headers:
Date
,Content-Type
andServer
. - setDefaultResponseType(MediaType) - Method in interface io.jooby.Context
-
Set the default response content type header.
- setDefaultResponseType(MediaType) - Method in class io.jooby.ForwardingContext
- setDefaultWorker(Executor) - Method in class io.jooby.Jooby
- setDefaultWorker(Executor) - Method in interface io.jooby.Router
-
Set the default worker thread pool.
- 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.handler.AssetHandler
-
Turn on/off e-tag support.
- setETag(boolean) - Method in class io.jooby.handler.CacheControl
-
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.
- setExpectContinue(Boolean) - Method in class io.jooby.ServerOptions
-
Set 100-Expect and continue requests are handled by the server.
- setExposedHeaders(String...) - Method in class io.jooby.handler.Cors
-
Set the list of exposed headers.
- setExposedHeaders(List<String>) - Method in class io.jooby.handler.Cors
-
Set the list of exposed headers.
- setFilename(String) - Method in class io.jooby.EnvironmentOptions
-
Set file name.
- setFilter(Route.Filter) - Method in class io.jooby.Route
-
Set route filter.
- setFlashCookie(Cookie) - Method in class io.jooby.Jooby
- setFlashCookie(Cookie) - Method in interface io.jooby.Router
-
Sets a cookie used as a template to generate the flash cookie, allowing to customize the cookie name and other cookie parameters.
- 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.handler.Cors
-
Set one or more allowed headers.
- setHeaders(List<String>) - Method in class io.jooby.handler.Cors
-
Set one or more allowed headers.
- 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 class io.jooby.Jooby
- 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
. - setHttp2(Boolean) - Method in class io.jooby.ServerOptions
-
Turn on/off HTTP/2 support.
- 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.
- setHttpsOnly(boolean) - Method in class io.jooby.ServerOptions
-
Bind only https port.
- setHttpTrace(boolean) - Method in class io.jooby.Route
-
Enabled or disabled HTTP TRACE.
- 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.ServerSentEmitter
-
Set Server-Sent ID.
- 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 interface io.jooby.Session
-
Set session last accessed time.
- setLastModified(boolean) - Method in class io.jooby.handler.AssetHandler
-
Turn on/off handling of
If-Modified-Since
header. - setLastModified(boolean) - Method in class io.jooby.handler.CacheControl
-
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).
- setLocale(Locale) - Method in class io.jooby.ModelAndView
-
Sets the locale used when rendering the view, if the template engine supports setting it.
- setLocales(List<Locale>) - Method in class io.jooby.Jooby
-
Sets the supported locales.
- setLocales(Locale...) - Method in class io.jooby.Jooby
-
Sets the supported locales.
- setMaxAge(long) - Method in class io.jooby.Cookie
-
Set max age value:
- setMaxAge(long) - Method in class io.jooby.handler.AssetHandler
-
Set cache-control header with the given max-age value.
- setMaxAge(long) - Method in class io.jooby.handler.CacheControl
-
Set cache-control header with the given max-age value.
- setMaxAge(Duration) - Method in class io.jooby.Cookie
-
Set max age value:
- setMaxAge(Duration) - Method in class io.jooby.handler.AssetHandler
-
Set cache-control header with the given max-age value.
- setMaxAge(Duration) - Method in class io.jooby.handler.CacheControl
-
Set cache-control header with the given max-age value.
- setMaxAge(Duration) - Method in class io.jooby.handler.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.handler.Cors
-
Set one or more allowed methods.
- setMethods(List<String>) - Method in class io.jooby.handler.Cors
-
Set one or more allowed methods.
- setModify(boolean) - Method in interface io.jooby.Session
-
Set modify flag.
- setMvcMethod(Method) - Method in class io.jooby.Route
-
Set mvc/controller method.
- 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 interface io.jooby.Session
-
Set new flag.
- setNoCache() - Method in class io.jooby.handler.AssetHandler
-
Set cache-control header to
no-store, must-revalidate
, disables e-tag andIf-Modified-Since
header support. - setNoCache() - Method in class io.jooby.handler.CacheControl
-
Set cache-control header to
no-store, must-revalidate
, disables e-tag andIf-Modified-Since
header support. - setNonBlocking(boolean) - Method in class io.jooby.Route
-
Set when the route is blocking or non-blocking.
- setOptions(ServerOptions) - Method in interface io.jooby.Server
-
Set server options.
- setOrigin(String...) - Method in class io.jooby.handler.Cors
-
Set the allowed origins.
- setOrigin(List<String>) - Method in class io.jooby.handler.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(InputStream) - 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.
- setProtocol(String...) - Method in class io.jooby.SslOptions
-
Specify the enabled protocols for an SSL/TLS session.
- setProtocol(List<String>) - Method in class io.jooby.SslOptions
-
Specify the enabled protocols for an SSL/TLS session.
- 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.handler.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
- setResponseCode(int) - Method in interface io.jooby.Context
-
Set response status code.
- setResponseCode(int) - Method in class io.jooby.ForwardingContext
- setResponseCode(StatusCode) - 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
- setResponseCookie(Cookie) - Method in interface io.jooby.Context
-
Set/add a cookie to response.
- setResponseCookie(Cookie) - Method in class io.jooby.ForwardingContext
- setResponseHeader(String, Object) - Method in interface io.jooby.Context
-
Set response header.
- setResponseHeader(String, Object) - Method in interface io.jooby.DefaultContext
- setResponseHeader(String, Object) - Method in class io.jooby.ForwardingContext
- setResponseHeader(String, String) - Method in interface io.jooby.Context
-
Set response header.
- setResponseHeader(String, String) - Method in class io.jooby.ForwardingContext
- setResponseHeader(String, Instant) - Method in interface io.jooby.Context
-
Set response header.
- setResponseHeader(String, Instant) - Method in interface io.jooby.DefaultContext
- setResponseHeader(String, Instant) - Method in class io.jooby.ForwardingContext
- setResponseHeader(String, Date) - Method in interface io.jooby.Context
-
Set response header.
- setResponseHeader(String, Date) - Method in interface io.jooby.DefaultContext
- setResponseHeader(String, Date) - Method in class io.jooby.ForwardingContext
- setResponseLength(long) - Method in interface io.jooby.Context
-
Set response content length header.
- setResponseLength(long) - Method in class io.jooby.ForwardingContext
- setResponseType(MediaType) - Method in interface io.jooby.Context
-
Set response content type header.
- setResponseType(MediaType) - Method in interface io.jooby.DefaultContext
- setResponseType(MediaType) - Method in class io.jooby.ForwardingContext
- setResponseType(MediaType, Charset) - Method in interface io.jooby.Context
-
Set response content type header.
- setResponseType(MediaType, Charset) - Method in class io.jooby.ForwardingContext
- setResponseType(String) - Method in interface io.jooby.Context
-
Set response content type header.
- setResponseType(String) - Method in class io.jooby.ForwardingContext
- 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 interface io.jooby.Context
-
Set matching route.
- setRoute(Route) - Method in class io.jooby.ForwardingContext
- setRoute(Route) - Method in class io.jooby.handler.AssetHandler
- setRoute(Route) - Method in class io.jooby.handler.CorsHandler
- setRoute(Route) - Method in class io.jooby.handler.HeadHandler
- setRoute(Route) - Method in class io.jooby.handler.TraceHandler
- setRoute(Route) - Method in interface io.jooby.Route.Aware
-
Allows a handler to listen for route metadata.
- 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.
- setSameSite(SameSite) - Method in class io.jooby.Cookie
-
Sets the value for the 'SameSite' parameter.
- 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.Jooby
- setSessionStore(SessionStore) - Method in interface io.jooby.Router
-
Set session store.
- setSsl(SslOptions) - Method in class io.jooby.ServerOptions
-
Set SSL options.
- setStartupSummary(List<StartupSummary>) - Method in class io.jooby.Jooby
-
Controls the level of information logged during startup.
- 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.
- 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.handler.CsrfHandler
-
Set a custom token generator.
- setTrustCert(InputStream) - 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.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.handler.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.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 propertyserver.securePort
. - 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(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.
- 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.
- 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.
- 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.Jooby
- sse(String, ServerSentEmitter.Handler) - Method in interface io.jooby.Router
-
Add a server-sent event handler.
- SSE - Static variable in interface io.jooby.Router
-
Sever-Sent events.
- SSLHandler - Class in io.jooby.handler
-
Force SSL handler.
- SSLHandler() - Constructor for class io.jooby.handler.SSLHandler
-
Creates a SSLHandler and redirect non-HTTPs requests to the HTTPS version of this call.
- SSLHandler(int) - Constructor for class io.jooby.handler.SSLHandler
-
Creates a SSLHandler and redirect non-HTTPs requests to the HTTPS version of this call.
- SSLHandler(String) - Constructor for class io.jooby.handler.SSLHandler
-
Creates a SSLHandler and redirect non-HTTPS request to the given host.
- SSLHandler(String, int) - Constructor for class io.jooby.handler.SSLHandler
-
Creates a SSLHandler and redirect non-HTTPS request to the given host and port.
- SslOptions - Class in io.jooby
-
SSL options for enabling HTTPs in Jooby.
- SslOptions() - Constructor for class io.jooby.SslOptions
- SslOptions.ClientAuth - Enum Class in io.jooby
-
The desired SSL client authentication mode for SSL channels in server mode.
- SslProvider - Interface in io.jooby
-
Allow to configure a custom SSLContext provider.
- start() - Method in class io.jooby.Jooby
-
Start application, find a web server, deploy application, start router, extension modules, etc..
- start(Jooby) - Method in interface io.jooby.Server
-
Start an application.
- start(Server) - Method in class io.jooby.Jooby
-
Call back method that indicates application was deploy it in the given server.
- STARTUP_SUMMARY - Static variable in interface io.jooby.AvailableSettings
-
The level of information logged during startup.
- StartupException - Exception in io.jooby.exception
-
Thrown when Jooby was unable to initialize and start an application up.
- StartupException(String) - Constructor for exception io.jooby.exception.StartupException
-
Creates a new instance of this class with the specified message.
- StartupException(String, Throwable) - Constructor for exception io.jooby.exception.StartupException
-
Creates a new instance of this class with the specified message and cause.
- StartupSummary - Interface in io.jooby
-
Controls the level of information logged during startup.
- 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.Body
-
Body as input stream.
- stream() - Method in class io.jooby.FileDownload
-
File content.
- stream() - Method in interface io.jooby.FileUpload
-
Content as input stream.
- stream() - Method in interface io.jooby.handler.Asset
- STRICT - Enum constant in enum class io.jooby.SameSite
-
Cookies will only be sent in a first-party context and not be sent along with requests initiated by third party websites.
- 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(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.BeanConverter
-
True if the converter applies for the given type.
- supports(Class) - Method in interface io.jooby.MvcFactory
-
Check if the factory applies for the given MVC route.
- 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 fromSystem.getenv()
. - systemProperties() - Static method in class io.jooby.Environment
-
Creates a
Config
object fromSystem.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.After) - Method in interface io.jooby.Route.Handler
-
Chain this after decorator with next and produces a new decorator.
- then(Route.Before) - Method in interface io.jooby.Route.Before
-
Chain this filter with next one and produces a new before filter.
- then(Route.Filter) - Method in interface io.jooby.Route.Filter
-
Chain this filter with another and produces a new decorator.
- then(Route.Handler) - Method in interface io.jooby.Route.Before
-
Chain this decorator with a handler and produces a new handler.
- then(Route.Handler) - Method in interface io.jooby.Route.Filter
-
Chain this filter with a handler and produces a new handler.
- threadLocal() - Static method in class io.jooby.RequestScope
-
Exposes thread local state.
- 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
andFunction
. - throwingFunction(SneakyThrows.Function2<V1, V2, R>) - Static method in class io.jooby.SneakyThrows
-
Factory method for
SneakyThrows.Function2
andBiFunction
. - 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
SneakyThrows.Runnable
. - throwingSupplier(SneakyThrows.Supplier<V>) - Static method in class io.jooby.SneakyThrows
-
Factory method for
SneakyThrows.Supplier
. - TLS_V1_2 - Static variable in class io.jooby.SslOptions
-
TLSv1.2.
- TLS_V1_3 - Static variable in class io.jooby.SslOptions
-
TLSv1.3 protocol.
- TMP_DIR - Static variable in interface io.jooby.AvailableSettings
-
Application temporary directory.
- to(Class<T>) - Method in interface io.jooby.Body
- to(Class<T>) - Method in interface io.jooby.Value
-
Convert this value to the given type.
- to(Type) - Method in interface io.jooby.Body
-
Convert this body into 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() - Method in interface io.jooby.Body
- toList() - Method in interface io.jooby.Value
-
Get list of values.
- toList(Class<T>) - Method in interface io.jooby.Body
- toList(Class<T>) - Method in interface io.jooby.Value
-
Get list of the given type.
- 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 interface io.jooby.Value
-
Value as multi-value map.
- toNullable(Class<T>) - Method in interface io.jooby.Body
- toNullable(Class<T>) - Method in interface io.jooby.Value
-
Convert this value to the given type.
- toNullable(Type) - Method in interface io.jooby.Body
-
Convert this body into the given type.
- 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() - 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() - 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.Cookie
- toString() - Method in class io.jooby.Environment
- toString() - Method in class io.jooby.FileDownload
- toString() - Method in class io.jooby.ForwardingContext
- toString() - Method in class io.jooby.Jooby
- toString() - Method in class io.jooby.MediaType
- toString() - Method in class io.jooby.ModelAndView
- toString() - Method in class io.jooby.Reified
- toString() - Method in class io.jooby.Route
- toString() - Method in class io.jooby.ServerOptions
- toString() - Method in class io.jooby.ServiceKey
- toString() - Method in class io.jooby.SslOptions
- toString() - Method in class io.jooby.StatusCode
-
Return a string representation of this status code.
- toString() - Method in class io.jooby.WebSocketCloseStatus
- toString(Executable) - Static method in exception io.jooby.exception.ProvisioningException
-
Creates a method description.
- toString(Parameter) - Static method in exception io.jooby.exception.ProvisioningException
-
Creates a parameter description.
- 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(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP TRACE handler.
- TRACE - Annotation Interface in io.jooby.annotation
-
HTTP TRACE verb for mvc routes.
- TRACE - Static variable in interface io.jooby.Router
-
HTTP TRACE.
- TraceHandler - Class in io.jooby.handler
-
The TRACE method performs a message loop-back test along the path to the target resource.
- TraceHandler() - Constructor for class io.jooby.handler.TraceHandler
- Transactional - Annotation Interface in io.jooby.annotation
-
Useful together with the various route decorators like
TransactionalRequest
provided by extensionsjooby-hibernate
,jooby-jdbi
orjooby-ebean
to toggle it's effect for a single route. - 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) - Constructor for exception io.jooby.exception.TypeMismatchException
-
Creates a type mismatch error.
- TypeMismatchException(String, Type, Throwable) - 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() - Constructor for exception io.jooby.exception.UnauthorizedException
-
Creates an unauthorized exception.
- UnauthorizedException(String) - 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.
- UNDEFINED - Static variable in class io.jooby.handler.CacheControl
-
Constant for the max-age parameter, when set, no
Cache-Control
header is generated. - 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
-
Resolve parsing as
StatusCode.UNSUPPORTED_MEDIA_TYPE
. - 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(ServerSentEmitter.Handler) - Method in interface io.jooby.Context
-
Perform a server-sent event handshake and upgrade HTTP GET into a Server-Sent protocol.
- upgrade(ServerSentEmitter.Handler) - Method in class io.jooby.ForwardingContext
- upgrade(WebSocket.Initializer) - Method in interface io.jooby.Context
-
Perform a websocket handsahke and upgrade a HTTP GET into a websocket protocol.
- upgrade(WebSocket.Initializer) - 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 usingUTF-8
as encoding. - Usage - Exception in io.jooby
-
Usage exceptions.
- Usage(String, String) - Constructor for exception io.jooby.Usage
-
Creates a new Usage exception.
- use(Route.Filter) - Method in class io.jooby.Jooby
- use(Route.Filter) - Method in interface io.jooby.Router
-
Attach a filter to the route pipeline.
- 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() - Element in annotation interface io.jooby.annotation.CONNECT
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.Consumes
-
List of media types.
- value() - Element in annotation interface io.jooby.annotation.ContextParam
-
Attribute's name.
- value() - Element in annotation interface io.jooby.annotation.CookieParam
-
Parameter name.
- value() - Element in annotation interface io.jooby.annotation.DELETE
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.Dispatch
-
Name of the executor to use or blank to use the server worker executor.
- value() - Element in annotation interface io.jooby.annotation.FlashParam
-
Parameter name.
- value() - Element in annotation interface io.jooby.annotation.FormParam
-
Parameter name.
- value() - Element in annotation interface io.jooby.annotation.GET
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.HEAD
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.Header
- value() - Element in annotation interface io.jooby.annotation.HeaderParam
-
Parameter name.
- value() - Element in annotation interface io.jooby.annotation.OpenApiRegister
-
List of MVC controller class names to register for openapi generation
- value() - Element in annotation interface io.jooby.annotation.OPTIONS
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.Param
-
Parameter sources to search in, the order defines the search priority.
- value() - Element in annotation interface io.jooby.annotation.PATCH
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.Path
- value() - Element in annotation interface io.jooby.annotation.PathParam
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.POST
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.Produces
-
List of media types.
- value() - Element in annotation interface io.jooby.annotation.PUT
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.QueryParam
-
Parameter name.
- value() - Element in annotation interface io.jooby.annotation.SessionParam
-
Session attribute's name.
- value() - Element in annotation interface io.jooby.annotation.TRACE
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.Transactional
-
Whether to enable or disable
TransactionalRequest
for the annotated route. - value() - Method in class io.jooby.StatusCode
- 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.
- value(SneakyThrows.Function<String, T>) - Method in interface io.jooby.Value
-
Convert value using the given function.
- value(String) - Method in interface io.jooby.Value
-
Convert this value to String (if possible) or fallback to given value when missing.
- value(Charset) - Method in interface io.jooby.Body
-
HTTP body as string.
- Value - Interface in io.jooby
-
Unified API for HTTP value.
- ValueConverter<V extends Value> - Interface in io.jooby
-
Value converter for simple values that come from query, path, form, etc...
- ValueNode - Interface in io.jooby
-
Unified API for HTTP value.
- 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.
- valueOf(String) - Static method in enum class io.jooby.ExecutionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jooby.FileDownload.Mode
-
Returns the enum constant of this class 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 class io.jooby.OpenAPIModule.Format
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jooby.ParamSource
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jooby.RouterOption
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jooby.SameSite
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jooby.SslOptions.ClientAuth
-
Returns the enum constant of this class with the specified name.
- valueOrNull() - Method in interface io.jooby.Value
-
Convert this value to String (if possible) or
null
when missing. - values() - Static method in enum class io.jooby.ExecutionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jooby.FileDownload.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jooby.OpenAPIModule.Format
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jooby.ParamSource
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jooby.RouterOption
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jooby.SameSite
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jooby.SslOptions.ClientAuth
-
Returns an array containing the constants of this enum class, 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
. - VERBOSE - Static variable in interface io.jooby.StartupSummary
-
Print application name, process ID, server options, execution mode, environment and configuration files, application/tmp directory and log file location.
W
- webjars(ClassLoader, String) - Static method in interface io.jooby.handler.AssetSource
-
Creates a webjar asset source.
- websocket(Context, WebSocket, boolean, WebSocket.WriteCallback) - 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.
- WebSocket.WriteCallback - Interface in io.jooby
-
Callback for sending messages.
- 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. - WebVariables - Class in io.jooby.handler
-
Add common variables to as
Context
attributes so they are accessible from template engine. - WebVariables() - Constructor for class io.jooby.handler.WebVariables
-
Creates a new web variables.
- WebVariables(String) - Constructor for class io.jooby.handler.WebVariables
-
Creates a web variables under the given scope.
- WORKER - Enum constant in enum class io.jooby.ExecutionMode
-
Execute handler in a worker/io thread (blocking).
- WORKER_THREADS - Static variable in class io.jooby.ServerOptions
-
Number of worker (a.k.a application) threads.
- write(byte[], Sender.Callback) - Method in interface io.jooby.Sender
-
Write a bytes chunk.
- 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.
- ws(String, WebSocket.Initializer) - Method in class io.jooby.Jooby
- ws(String, WebSocket.Initializer) - Method in interface io.jooby.Router
-
Add a websocket handler.
- WS - Static variable in interface io.jooby.Router
-
Web socket.
X
- 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.
- X509 - Static variable in class io.jooby.SslOptions
-
X509 constant.
- xml - Static variable in class io.jooby.MediaType
-
APPLICATION_XML.
- XML - Static variable in class io.jooby.MediaType
-
APPLICATION_XML.
- 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 - Enum constant in enum class io.jooby.OpenAPIModule.Format
-
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.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Router.use(Route.Filter)
.