- ACCEPT - Static variable in interface io.jooby.Context
-
Constant for Accept
header.
- accept(MediaType) - Method in interface io.jooby.Context
-
True if the given type matches the `Accept` header.
- accept(List<MediaType>) - Method in interface io.jooby.Context
-
Check if the accept type list matches the given produces list and return the most
specific media type from produces list.
- accept(MediaType) - Method in interface io.jooby.MessageEncoder
-
Execute this renderer only if the Accept
header matches the content-type
parameter.
- ACCEPT - Static variable in class io.jooby.Route
-
- 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
-
- accept(V1, V2, V3, V4) - Method in interface io.jooby.SneakyThrows.Consumer4
-
- accept(V1, V2, V3, V4, V5) - Method in interface io.jooby.SneakyThrows.Consumer5
-
- accept(V1, V2, V3, V4, V5, V6) - Method in interface io.jooby.SneakyThrows.Consumer6
-
- accept(V1, V2, V3, V4, V5, V6, V7) - Method in interface io.jooby.SneakyThrows.Consumer7
-
- accept(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface io.jooby.SneakyThrows.Consumer8
-
- ACCEPTED - Static variable in class io.jooby.StatusCode
-
202 Accepted
.
- ACCEPTED_CODE - Static variable in class io.jooby.StatusCode
-
202 Accepted
.
- after(Route.After) - Method in class io.jooby.Jooby
-
- after(Route.After) - Method in interface io.jooby.Router
-
Add an after route decorator to the route pipeline.
- ALL - Static variable in class io.jooby.MediaType
-
ALL.
- all - Static variable in class io.jooby.MediaType
-
ALL.
- 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
.
- apply(Context) - Method in class io.jooby.AssetHandler
-
- apply(Context) - Method in interface io.jooby.ByteRange
-
For partial request this method set the following byte range response headers:
- Accept-Ranges
- Content-Range
- Content-Length
For not satisfiable requests:
- Throws a
StatusCode.REQUESTED_RANGE_NOT_SATISFIABLE
Otherwise this method does nothing.
- apply(InputStream) - Method in interface io.jooby.ByteRange
-
For partial requests this method generates a new truncated input stream.
- apply(Context, Throwable, StatusCode) - Method in interface io.jooby.ErrorHandler
-
Produces an error response using the given exception and status code.
- apply(Context, Object) - Method in interface io.jooby.Route.After
-
Execute application logic on a route response.
- apply(Context) - Method in interface io.jooby.Route.Before
-
Execute application code before next handler.
- apply(Route.Handler) - Method in interface io.jooby.Route.Decorator
-
Chain the decorator within next handler.
- apply(Context) - Method in interface io.jooby.Route.Handler
-
Execute application code.
- apply(V) - Method in interface io.jooby.SneakyThrows.Function
-
Apply this function to the given argument and produces a result.
- apply(V1, V2) - Method in interface io.jooby.SneakyThrows.Function2
-
Apply this function to the given argument and produces a result.
- apply(V1, V2, V3) - Method in interface io.jooby.SneakyThrows.Function3
-
Apply this function to the given argument and produces a result.
- apply(V1, V2, V3, V4) - Method in interface io.jooby.SneakyThrows.Function4
-
Apply this function to the given argument and produces a result.
- apply(V1, V2, V3, V4, V5) - Method in interface io.jooby.SneakyThrows.Function5
-
Apply this function to the given argument and produces a result.
- apply(V1, V2, V3, V4, V5, V6) - Method in interface io.jooby.SneakyThrows.Function6
-
Apply this function to the given argument and produces a result.
- apply(V1, V2, V3, V4, V5, V6, V7) - Method in interface io.jooby.SneakyThrows.Function7
-
Apply this function to the given argument and produces a result.
- apply(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface io.jooby.SneakyThrows.Function8
-
Apply this function to the given argument and produces a result.
- array(String, List<String>) - Static method in interface io.jooby.Value
-
Creates a sequence/array of values.
- Asset - Interface in io.jooby
-
Represent an static resource file.
- Asset.FileAsset - Class in io.jooby
-
File system asset.
- Asset.URLAsset - Class in io.jooby
-
URL asset.
- AssetHandler - Class in io.jooby
-
Handler for static resources represented by the
Asset
contract.
- AssetHandler(AssetSource...) - Constructor for class io.jooby.AssetHandler
-
Creates a new asset handler.
- assets(String, Path) - Method in interface io.jooby.Router
-
Add a static resource handler.
- assets(String, String) - Method in interface io.jooby.Router
-
Add a static resource handler.
- assets(String) - Method in interface io.jooby.Router
-
Add a static resource handler.
- assets(String, AssetSource...) - Method in interface io.jooby.Router
-
Add a static resource handler.
- assets(String, AssetHandler) - Method in interface io.jooby.Router
-
Add a static resource handler.
- AssetSource - Interface in io.jooby
-
An asset source is a collection or provider of
Asset
.
- AttachedFile - Class in io.jooby
-
Represent a file attachment response.
- AttachedFile(InputStream, String, long) - Constructor for class io.jooby.AttachedFile
-
Creates a new file attachment.
- AttachedFile(InputStream, String) - Constructor for class io.jooby.AttachedFile
-
Creates a new file attachment.
- AttachedFile(Path, String) - Constructor for class io.jooby.AttachedFile
-
Creates a new file attachment.
- AttachedFile(Path) - Constructor for class io.jooby.AttachedFile
-
Creates a new file attachment.
- attribute(String) - Method in interface io.jooby.Context
-
Get an attribute by his key.
- attribute(String, Object) - Method in interface io.jooby.Context
-
Set an application attribute.
- attribute(String, Object) - Method in class io.jooby.Jooby
-
- attribute(String) - Method in class io.jooby.Jooby
-
- attribute(String) - Method in interface io.jooby.Router
-
Get an attribute by his key.
- attribute(String, Object) - Method in interface io.jooby.Router
-
Set an application attribute.
- BAD_GATEWAY - Static variable in class io.jooby.StatusCode
-
502 Bad Gateway
.
- BAD_GATEWAY_CODE - Static variable in class io.jooby.StatusCode
-
502 Bad Gateway
.
- BAD_REQUEST - Static variable in class io.jooby.StatusCode
-
400 Bad Request
.
- BAD_REQUEST_CODE - Static variable in class io.jooby.StatusCode
-
400 Bad Request
.
- BadRequestException - Exception in io.jooby
-
Specific exception for bad request.
- BadRequestException(String) - Constructor for exception io.jooby.BadRequestException
-
Creates a bad request exception.
- BadRequestException(String, Throwable) - Constructor for exception io.jooby.BadRequestException
-
Creates a bad request exception.
- BANDWIDTH_LIMIT_EXCEEDED - Static variable in class io.jooby.StatusCode
-
509 Bandwidth Limit Exceeded
.
- BANDWIDTH_LIMIT_EXCEEDED_CODE - Static variable in class io.jooby.StatusCode
-
509 Bandwidth Limit Exceeded
.
- Base() - Constructor for class io.jooby.Server.Base
-
- before(Route.Before) - Method in class io.jooby.Jooby
-
- before(Route.Before) - Method in interface io.jooby.Router
-
Add a before route decorator to the route pipeline.
- bind(Object, T) - Static method in class io.jooby.RequestScope
-
Binds the given value to the current context for its key.
- Body - Annotation Type in io.jooby.annotations
-
Bind a Mvc parameter to the HTTP body.
- Body - Interface in io.jooby
-
HTTP body value.
- body() - Method in interface io.jooby.Context
-
HTTP body which provides access to body content.
- body(Reified<T>) - Method in interface io.jooby.Context
-
Convert the HTTP body to the given type.
- body(Reified<T>, MediaType) - Method in interface io.jooby.Context
-
Convert the HTTP body to the given type.
- body(Class) - Method in interface io.jooby.Context
-
Convert the HTTP body to the given type.
- body(Class, MediaType) - Method in interface io.jooby.Context
-
Convert the HTTP body to the given type.
- booleanValue() - Method in interface io.jooby.Value
-
Convert this value to boolean (if possible).
- booleanValue(boolean) - Method in interface io.jooby.Value
-
Convert this value to boolean (if possible) or fallback to given value when missing.
- byFile(File) - Static method in class io.jooby.MediaType
-
Mediatype by file extension.
- byFile(Path) - Static method in class io.jooby.MediaType
-
Mediatype by file extension.
- byFile(String) - Static method in class io.jooby.MediaType
-
Mediatype by file extension.
- byFileExtension(String) - Static method in class io.jooby.MediaType
-
Mediatype by file extension.
- ByteRange - Interface in io.jooby
-
Utility class to compute single byte range requests when response content length is known.
- bytes() - Method in interface io.jooby.Body
-
HTTP body as byte array.
- bytes() - Method in interface io.jooby.FileUpload
-
Content as byte array.
- BYTES_RANGE - Static variable in interface io.jooby.ByteRange
-
Byte range prefix.
- byteValue() - Method in interface io.jooby.Value
-
Convert this value to byte (if possible).
- byteValue(byte) - Method in interface io.jooby.Value
-
Convert this value to byte (if possible) or fallback to given value when missing.
- channel() - Method in interface io.jooby.Body
-
Body as readable channel.
- CHECKPOINT - Static variable in class io.jooby.StatusCode
-
103 Checkpoint
.
- CHECKPOINT_CODE - Static variable in class io.jooby.StatusCode
-
103 Checkpoint
.
- clear() - Method in interface io.jooby.Session
-
Remove all attributes.
- clone() - Method in class io.jooby.Cookie
-
Copy all state from this cookie and creates a new cookie.
- close() - Method in interface io.jooby.Sender
-
Close the sender.
- compareTo(MediaType) - Method in class io.jooby.MediaType
-
- completableFuture(Type) - Static method in class io.jooby.Reified
-
- configure(List<String>) - Static method in class io.jooby.LogConfigurer
-
Initializes the logback.configurationFile
system property when a
logback[.env].xml
file is found at user.dir/conf
directory or
user.dir
.
- CONFLICT - Static variable in class io.jooby.StatusCode
-
409 Conflict
.
- CONFLICT_CODE - Static variable in class io.jooby.StatusCode
-
409 Conflict
.
- CONNECT - Annotation Type in io.jooby.annotations
-
HTTP CONNECT verb for mvc routes.
- CONNECT - Static variable in interface io.jooby.Router
-
HTTP CONNECT.
- connect(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP CONNECT handler.
- connectionLost(Throwable) - Static method in interface io.jooby.Server
-
Test whenever the given exception is a connection-lost.
- consumes(MediaType...) - Method in class io.jooby.Route
-
Add one or more request types (format) consumed by this route.
- Context - Interface in io.jooby
-
HTTP context allows you to interact with the HTTP Request and manipulate the HTTP Response.
- CONTINUE - Static variable in class io.jooby.StatusCode
-
100 Continue
.
- CONTINUE_CODE - Static variable in class io.jooby.StatusCode
-
100 Continue
.
- cookie(String) - Method in interface io.jooby.Context
-
Get a cookie matching the given name.
- Cookie - Class in io.jooby
-
Response cookie implementation.
- Cookie(String, String) - Constructor for class io.jooby.Cookie
-
Creates a response cookie.
- Cookie(String) - Constructor for class io.jooby.Cookie
-
Creates a response cookie without a value.
- cookie(Cookie) - Static method in interface io.jooby.SessionId
-
Create a cookie-based Session ID.
- cookieMap() - Method in interface io.jooby.Context
-
Request cookies.
- CookieParam - Annotation Type in io.jooby.annotations
-
Allow access to query parameter from MVC route method.
- create(Path) - Static method in interface io.jooby.Asset
-
Creates a file system asset.
- create(String, URL) - Static method in interface io.jooby.Asset
-
Creates a URL asset with the given path.
- create(ClassLoader, String) - Static method in interface io.jooby.AssetSource
-
Classpath/url-based asset source.
- create(Path) - Static method in interface io.jooby.AssetSource
-
Creates a source from given location.
- create(Context, Cookie) - Static method in interface io.jooby.FlashMap
-
Creates a new flash-scope using the given cookie.
- create() - Static method in interface io.jooby.Formdata
-
Creates a formdata object.
- create() - Static method in interface io.jooby.Multipart
-
Creates a new multipart object.
- create(String) - Static method in interface io.jooby.QueryString
-
Query string hash value.
- create(Route.Handler) - Method in interface io.jooby.ResponseHandler
-
Creates a handler for a response type.
- create(String) - Static method in interface io.jooby.Session
-
Creates a new session.
- create(Context, Session) - Static method in interface io.jooby.Session
-
Creates a new session and attach it to current request.
- create(String, List<String>) - Static method in interface io.jooby.Value
-
Creates a value that fits better with the given values.
- create(String, String) - Static method in interface io.jooby.Value
-
Creates a value that fits better with the given values.
- createApp(String[], ExecutionMode, Class<? extends Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- createApp(String[], ExecutionMode, Supplier<Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- CREATED - Static variable in class io.jooby.StatusCode
-
201 Created
.
- CREATED_CODE - Static variable in class io.jooby.StatusCode
-
201 Created
.
- CSS - Static variable in class io.jooby.MediaType
-
TEXT_CSS.
- css - Static variable in class io.jooby.MediaType
-
TEXT_CSS.
- decode(String) - Static method in class io.jooby.Cookie
-
Decode a cookie value using, like: k=v
, multiple k=v
pair are
separated by &
.
- decode(Context, Type) - Method in interface io.jooby.MessageDecoder
-
Parse HTTP body into the given type.
- decorator(Route.Decorator) - Method in class io.jooby.Jooby
-
- decorator(Route.Decorator) - Method in interface io.jooby.Router
-
Add a route decorator to the route pipeline.
- DEFAULT - Static variable in interface io.jooby.ErrorHandler
-
Default error handler with support for content-negotiation.
- DEFAULT_PORT - Static variable in class io.jooby.ServerOptions
-
Default application port 8080
or the value of system property server.port
.
- defaults() - Static method in class io.jooby.Environment
-
Creates a default configuration properties with some common values like: application.tmpdir,
application.charset and pid (process ID).
- DELETE - Annotation Type in io.jooby.annotations
-
HTTP DELETE verb for mvc routes.
- DELETE - Static variable in interface io.jooby.Router
-
HTTP DELETE.
- delete(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP DELETE handler.
- deleteSession(String) - Method in interface io.jooby.SessionStore
-
Delete a session from store.
- deleteSessionId(Context, String) - Method in interface io.jooby.SessionId
-
Delete session ID in the web context.
- destroy() - Method in interface io.jooby.FileUpload
-
Free resources, delete temporary file.
- destroy() - Method in interface io.jooby.Session
-
Destroy/invalidates this session.
- detach(Runnable) - Method in interface io.jooby.Context
-
Tells context that response will be generated form a different thread.
- Dispatch - Annotation Type in io.jooby.annotations
-
Dispatch operator for MVC routes.
- dispatch(Runnable) - Method in interface io.jooby.Context
-
Dispatch context to a worker threads.
- dispatch(Executor, Runnable) - Method in interface io.jooby.Context
-
Dispatch context to the given executor.
- dispatch(Runnable) - Method in class io.jooby.Jooby
-
- dispatch(Executor, Runnable) - Method in class io.jooby.Jooby
-
- dispatch(Runnable) - Method in interface io.jooby.Router
-
- dispatch(Executor, Runnable) - Method in interface io.jooby.Router
-
Dispatch route pipeline to the given executor.
- doubleValue() - Method in interface io.jooby.Value
-
Convert this value to double (if possible).
- doubleValue(double) - Method in interface io.jooby.Value
-
Convert this value to double (if possible) or fallback to given value when missing.
- empty() - Static method in interface io.jooby.Body
-
Empty body.
- encode(Map<String, String>) - Static method in class io.jooby.Cookie
-
Encode a hash into cookie value, like: k1=v1&...&kn=vn
.
- encode(Context, Object) - Method in interface io.jooby.MessageEncoder
-
MessageEncoder a value into a byte array or null
if given object isn't supported it.
- encode(Context, Object) - Method in interface io.jooby.TemplateEngine
-
- entrySet() - Method in interface io.jooby.ServiceRegistry
-
Registered service entries.
- Environment - Class in io.jooby
-
Application environment contains configuration object and active environment names.
- Environment(ClassLoader, Config, String...) - Constructor for class io.jooby.Environment
-
Creates a new environment.
- Environment(ClassLoader, Config, List<String>) - Constructor for class io.jooby.Environment
-
Creates a new environment.
- EnvironmentOptions - Class in io.jooby
-
Available environment options.
- EnvironmentOptions() - Constructor for class io.jooby.EnvironmentOptions
-
Creates environment options.
- equals(Object) - Method in class io.jooby.Asset.FileAsset
-
- equals(Object) - Method in class io.jooby.Asset.URLAsset
-
- equals(Object) - Method in class io.jooby.MediaType
-
- equals(Object) - Method in class io.jooby.Reified
-
- equals(Object) - Method in class io.jooby.ServiceKey
-
- equals(Object) - Method in class io.jooby.StatusCode
-
- error(ErrorHandler) - Method in class io.jooby.Jooby
-
- error(StatusCode, ErrorHandler) - Method in interface io.jooby.Router
-
Add a custom error handler that matches the given status code.
- error(Class<? extends Throwable>, ErrorHandler) - Method in interface io.jooby.Router
-
Add a custom error handler that matches the given exception type.
- error(Predicate<StatusCode>, ErrorHandler) - Method in interface io.jooby.Router
-
Add a custom error handler that matches the given predicate.
- error(ErrorHandler) - Method in interface io.jooby.Router
-
Add a custom error handler.
- errorCode(Class<? extends Throwable>, StatusCode) - Method in class io.jooby.Jooby
-
- errorCode(Throwable) - Method in class io.jooby.Jooby
-
- errorCode(Class<? extends Throwable>, StatusCode) - Method in interface io.jooby.Router
-
Map an exception type to a status code.
- errorCode(Throwable) - Method in interface io.jooby.Router
-
Computes the status code for the given exception.
- ErrorHandler - Interface in io.jooby
-
Catch and encode application errors.
- errorMessage(Context, StatusCode) - Static method in interface io.jooby.ErrorHandler
-
Build a line error message that describe the current web context and the status code.
- execute(Context) - Method in interface io.jooby.Router.Match
-
- ExecutionMode - Enum in io.jooby
-
Execution mode.
- executor(String, Executor) - Method in class io.jooby.Jooby
-
- executor(String) - Method in interface io.jooby.Router
-
Get an executor from application registry.
- executor(String, Executor) - Method in interface io.jooby.Router
-
Put an executor into the application registry.
- EXPECTATION_FAILED - Static variable in class io.jooby.StatusCode
-
417 Expectation Failed
.
- EXPECTATION_FAILED_CODE - Static variable in class io.jooby.StatusCode
-
417 Expectation Failed
.
- Extension - Interface in io.jooby
-
Simple extension contract for adding and reusing commons application infrastructure components
and/or integrate with external libraries.
- 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.
- FileAsset(Path) - Constructor for class io.jooby.Asset.FileAsset
-
Creates a new file asset.
- files() - Method in interface io.jooby.Context
-
All file uploads.
- files(String) - Method in interface io.jooby.Context
-
All file uploads that matches the given field name.
- FileUpload - Interface in io.jooby
-
- fileUpload() - Method in interface io.jooby.FileUpload
-
- fileUpload() - Method in interface io.jooby.Value
-
Get a file upload from this value.
- findSession(String) - Method in interface io.jooby.SessionStore
-
Find an existing session by ID.
- findSessionId(Context) - Method in interface io.jooby.SessionId
-
Find session ID.
- flash(String) - Method in interface io.jooby.Context
-
Get a flash attribute.
- flash(String, String) - Method in interface io.jooby.Context
-
Set a flash attribute.
- flashMap() - Method in interface io.jooby.Context
-
Flash map.
- FlashMap - Interface in io.jooby
-
Flash map.
- FlashParam - Annotation Type in io.jooby.annotations
-
Allow access to flash parameter from MVC route method.
- floatValue() - Method in interface io.jooby.Value
-
Convert this value to float (if possible).
- floatValue(float) - Method in interface io.jooby.Value
-
Convert this value to float (if possible) or fallback to given value when missing.
- FORBIDDEN - Static variable in class io.jooby.StatusCode
-
403 Forbidden
.
- FORBIDDEN_CODE - Static variable in class io.jooby.StatusCode
-
403 Forbidden
.
- form() - Method in interface io.jooby.Context
-
- form(String) - Method in interface io.jooby.Context
-
Form field that matches the given name.
- form(Reified<T>) - Method in interface io.jooby.Context
-
Convert formdata to the given type.
- form(Class<T>) - Method in interface io.jooby.Context
-
Convert formdata to the given type.
- FORM_URLENCODED - Static variable in class io.jooby.MediaType
-
FORM_URLENCODED.
- Formdata - Interface in io.jooby
-
Formdata class for direct MVC parameter provisioning.
- formMap() - Method in interface io.jooby.Context
-
Formdata as single-value map.
- formMultimap() - Method in interface io.jooby.Context
-
Formdata as multi-value map.
- FormParam - Annotation Type in io.jooby.annotations
-
Allow access to field or entire form from MVC route method.
- formUrlencoded - Static variable in class io.jooby.MediaType
-
FORM_URLENCODED.
- 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.ServerOptions
-
Creates server options from config object.
- GATEWAY_TIMEOUT - Static variable in class io.jooby.StatusCode
-
504 Gateway Timeout
.
- GATEWAY_TIMEOUT_CODE - Static variable in class io.jooby.StatusCode
-
504 Gateway Timeout
.
- generateId() - Method in class io.jooby.SessionOptions
-
Generates a Session ID.
- GET - Annotation Type in io.jooby.annotations
-
HTTP GET verb for mvc routes.
- get(int) - Method in interface io.jooby.FileUpload
-
- get(String) - Method in interface io.jooby.FileUpload
-
- get(Type) - Static method in class io.jooby.Reified
-
Gets type literal for the given Type
instance.
- get(Class<T>) - Static method in class io.jooby.Reified
-
Gets type literal for the given Class
instance.
- get(Object) - Static method in class io.jooby.RequestScope
-
Get a previously bind value for the given key or null
.
- GET - Static variable in interface io.jooby.Router
-
HTTP GET.
- get(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP GET handler.
- get(ServiceKey<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve a service/resource by key.
- get(Class<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve a service/resource by key.
- get(String) - Method in interface io.jooby.Session
-
Get a session attribute.
- get() - Method in interface io.jooby.SneakyThrows.Supplier
-
Computes/retrieves a value.
- get(int) - Method in interface io.jooby.Value
-
Get a value at the given position.
- get(String) - Method in interface io.jooby.Value
-
Get a value that matches the given name.
- getActiveNames() - Method in class io.jooby.Environment
-
Active environment names.
- getActiveNames() - Method in class io.jooby.EnvironmentOptions
-
Active environment names or fallback and read them from system property:
application.env
.
- getAfter() - Method in class io.jooby.Route
-
After filter or null
.
- getAttributes() - Method in interface io.jooby.Context
-
Context attributes (a.k.a request attributes).
- getAttributes() - Method in class io.jooby.Jooby
-
- getAttributes() - Method in interface io.jooby.Router
-
Mutable map of application attributes.
- getBasedir() - Method in class io.jooby.EnvironmentOptions
-
Base directory.
- getBasePackage() - Method in class io.jooby.Jooby
-
Get base application package.
- getBefore() - Method in class io.jooby.Route
-
Before pipeline or null
.
- getBufferSize() - Method in class io.jooby.ServerOptions
-
Server buffer size in bytes.
- getCharset() - Method in class io.jooby.MediaType
-
Charset or null
.
- getClassLoader() - Method in class io.jooby.Environment
-
Application class loader.
- getClassLoader() - Method in class io.jooby.EnvironmentOptions
-
Class loader.
- getClassLoader(ClassLoader) - Method in class io.jooby.EnvironmentOptions
-
Class loader.
- getConfig() - Method in class io.jooby.Environment
-
Application configuration.
- getConfig() - Method in class io.jooby.Jooby
-
Application configuration.
- getConsumes() - Method in class io.jooby.Route
-
Request types (format) consumed by this route.
- getContentDisposition() - Method in class io.jooby.AttachedFile
-
Content disposition header.
- getContentLength() - Method in interface io.jooby.ByteRange
-
New content length.
- getContentRange() - Method in interface io.jooby.ByteRange
-
Value for Content-Range
response header.
- getContentType() - Method in class io.jooby.Asset.FileAsset
-
- getContentType() - Method in interface io.jooby.Asset
-
- getContentType() - Method in class io.jooby.Asset.URLAsset
-
- getContentType() - Method in class io.jooby.AttachedFile
-
File content type.
- getContentType() - Method in interface io.jooby.FileUpload
-
Content type of file upload.
- getContextPath() - Method in interface io.jooby.Context
-
Get application context path (a.k.a as base path).
- getContextPath() - Method in class io.jooby.Jooby
-
- getContextPath() - Method in interface io.jooby.Router
-
Get application context path (a.k.a as base path).
- getCreationTime() - Method in interface io.jooby.Session
-
Session creation time.
- getDecorator() - Method in class io.jooby.Route
-
Decorator or null
.
- getDomain() - Method in class io.jooby.Cookie
-
Cookie's domain.
- getDomain(String) - Method in class io.jooby.Cookie
-
Get cookie's domain.
- getEncoder() - Method in class io.jooby.Route
-
Route encoder.
- getEnd() - Method in interface io.jooby.ByteRange
-
End range or -1
.
- getEnvironment() - Method in class io.jooby.Jooby
-
Application environment.
- getErrorHandler() - Method in class io.jooby.Jooby
-
- getErrorHandler() - Method in interface io.jooby.Router
-
Get the error handler.
- getEtag() - Method in interface io.jooby.Asset
-
Computes a weak e-tag value from asset.
- getExecutionMode() - Method in class io.jooby.Jooby
-
Application execution mode.
- getFileName() - Method in class io.jooby.AttachedFile
-
File name.
- getFilename() - Method in class io.jooby.EnvironmentOptions
-
Configuration file name.
- getFileName() - Method in interface io.jooby.FileUpload
-
Name of file upload.
- getFileSize() - Method in class io.jooby.AttachedFile
-
File size or -1
if unknown.
- getFileSize() - Method in interface io.jooby.FileUpload
-
File size.
- getFlashCookie() - Method in class io.jooby.Jooby
-
- getFlashCookie() - Method in interface io.jooby.Router
-
Name of the flash cookie.
- getHandle() - Method in class io.jooby.Route
-
- getHandler() - Method in class io.jooby.Route
-
Route handler.
- getHost() - Method in interface io.jooby.Context
-
The fully qualified name of the resource being requested, as obtained from the Host HTTP
header.
- getId() - Method in interface io.jooby.Session
-
Session ID.
- getIoThreads() - Method in class io.jooby.ServerOptions
-
Number of IO threads used by the server.
- getIoThreads(int) - Method in class io.jooby.ServerOptions
-
Number of IO threads used by the server.
- getLastAccessedTime() - Method in interface io.jooby.Session
-
Session last accessed time.
- getLastModified() - Method in class io.jooby.Asset.FileAsset
-
- getLastModified() - Method in interface io.jooby.Asset
-
- getLastModified() - Method in class io.jooby.Asset.URLAsset
-
- getLog() - Method in class io.jooby.Jooby
-
- getLog() - Method in interface io.jooby.Router
-
Application logger.
- getMaxAge() - Method in class io.jooby.Cookie
-
Max age value:
- -1
: indicates a browser session.
- getMaxRequestSize() - Method in class io.jooby.ServerOptions
-
Maximum request size in bytes.
- getMethod() - Method in interface io.jooby.Context
-
HTTP method in upper-case form.
- getMethod() - Method in class io.jooby.Route
-
HTTP method.
- getName() - Method in class io.jooby.Cookie
-
Cookie's name.
- getName() - Method in exception io.jooby.MissingValueException
-
Parameter/attribute name.
- getName() - Method in class io.jooby.ServiceKey
-
Resource name or null
.
- getName() - Method in exception io.jooby.TypeMismatchException
-
Parameter/attribute name.
- getOptions() - Method in interface io.jooby.Server
-
Get server options.
- getOrNull(ServiceKey<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve an existing service or null
if not exists.
- getOrNull(Class<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve an existing service or null
if not exists.
- getParameter(String) - Method in class io.jooby.MediaType
-
Get a parameter that matches the given name or null
.
- getParameterized(Type, Type...) - Static method in class io.jooby.Reified
-
Gets type literal for the parameterized type represented by applying typeArguments
to
rawType
.
- getParsers() - Method in class io.jooby.Route
-
Route message decoder.
- getPath() - Method in class io.jooby.Cookie
-
Cookie's path.
- getPath(String) - Method in class io.jooby.Cookie
-
Cookie's path.
- getPathKeys() - Method in class io.jooby.Route
-
Path keys.
- getPattern() - Method in class io.jooby.Route
-
Path pattern.
- getPipeline() - Method in class io.jooby.Route
-
Route pipeline.
- getPort() - Method in class io.jooby.ServerOptions
-
Server HTTP port.
- getProduces() - Method in class io.jooby.Route
-
Response types (format) produces by this route.
- getProperties(String) - Method in class io.jooby.Environment
-
List all the properties under the given key.
- getProperties(String, String) - Method in class io.jooby.Environment
-
List all the properties under the given key.
- getProperty(String, String) - Method in class io.jooby.Environment
-
Get a property under the given key or use the given default value when missing.
- getProperty(String) - Method in class io.jooby.Environment
-
Get a property under the given key or null
when missing.
- getProtocol() - Method in interface io.jooby.Context
-
The name of the protocol the request.
- getQuality() - Method in class io.jooby.MediaType
-
Value of q
parameter.
- getRawType() - Method in class io.jooby.Reified
-
Returns the raw (non-generic) type for this type.
- getRemoteAddress() - Method in interface io.jooby.Context
-
The IP address of the client or last proxy that sent the request.
- getRequestLength() - Method in interface io.jooby.Context
-
Request Content-Length
header or -1
when missing.
- getRequestType() - Method in interface io.jooby.Context
-
Request Content-Type
header or null
when missing.
- getRequestType(MediaType) - Method in interface io.jooby.Context
-
Request Content-Type
header or null
when missing.
- getResponseCode() - Method in interface io.jooby.Context
-
Get response status code.
- getResponseType() - Method in interface io.jooby.Context
-
Get response content type.
- getReturnType() - Method in class io.jooby.Route
-
Return return type.
- getRoute() - Method in interface io.jooby.Context
-
Matching route.
- getRouter() - Method in interface io.jooby.Context
-
Get the HTTP router (usually this represent an instance of
Jooby
.
- getRouterOptions() - Method in class io.jooby.Jooby
-
- getRouterOptions() - Method in interface io.jooby.Router
-
Router options.
- getRoutes() - Method in class io.jooby.Jooby
-
- getRoutes() - Method in interface io.jooby.Router
-
Returns all routes.
- getScheme() - Method in interface io.jooby.Context
-
HTTP scheme in lower case.
- getServer() - Method in class io.jooby.ServerOptions
-
Server name.
- getServerOptions() - Method in class io.jooby.Jooby
-
Server options or null
.
- getServices() - Method in class io.jooby.Jooby
-
- getServices() - Method in interface io.jooby.Router
-
Application service registry.
- getSessionId() - Method in class io.jooby.SessionOptions
-
Session ID strategy (cookie or header).
- getSessionOptions() - Method in class io.jooby.Jooby
-
- getSessionOptions() - Method in interface io.jooby.Router
-
Get session options.
- getSingleLoop() - Method in class io.jooby.ServerOptions
-
Whenever the underlying server uses a single loop/group for accepting and processing
connections or not.
- getSingleLoop(boolean) - Method in class io.jooby.ServerOptions
-
Whenever the underlying server uses a single loop/group for accepting and processing
connections or not.
- getSize() - Method in class io.jooby.Asset.FileAsset
-
- getSize() - Method in interface io.jooby.Asset
-
- getSize() - Method in class io.jooby.Asset.URLAsset
-
- getSize() - Method in interface io.jooby.Body
-
Size in bytes.
- getStart() - Method in interface io.jooby.ByteRange
-
Start range or -1
.
- getStatusCode() - Method in interface io.jooby.ByteRange
-
- getStatusCode() - Method in exception io.jooby.StatusCodeException
-
Status code.
- getStore() - Method in class io.jooby.SessionOptions
-
Session store (defaults uses memory).
- getSubtype() - Method in class io.jooby.MediaType
-
Subtype segment of mediatype (trailing type).
- getTmpdir() - Method in class io.jooby.Jooby
-
- getTmpdir() - Method in interface io.jooby.Router
-
Application temporary directory.
- getType() - Method in class io.jooby.MediaType
-
Type segment of mediatype (leading type).
- getType() - Method in class io.jooby.Reified
-
Gets underlying Type
instance.
- getType() - Method in class io.jooby.ServiceKey
-
Resource type.
- getValue() - Method in class io.jooby.Cookie
-
Cookie's value.
- getValue() - Method in class io.jooby.MediaType
-
Media type value without parameters.
- getWorker() - Method in class io.jooby.Jooby
-
- getWorker() - Method in interface io.jooby.Router
-
Returns the worker thread pool.
- getWorkerThreads() - Method in class io.jooby.ServerOptions
-
Number of worker threads (a.k.a application) to use.
- getWorkerThreads(int) - Method in class io.jooby.ServerOptions
-
Number of worker threads (a.k.a application) to use.
- GMT - Static variable in interface io.jooby.Context
-
Constant for GMT.
- GONE - Static variable in class io.jooby.StatusCode
-
410 Gone
.
- GONE_CODE - Static variable in class io.jooby.StatusCode
-
410 Gone
.
- I_AM_A_TEAPOT - Static variable in class io.jooby.StatusCode
-
418 I'm a teapot
.
- I_AM_A_TEAPOT_CODE - Static variable in class io.jooby.StatusCode
-
418 I'm a teapot
.
- IM_USED - Static variable in class io.jooby.StatusCode
-
226 IM Used
.
- IM_USED_CODE - Static variable in class io.jooby.StatusCode
-
226 IM Used
.
- install(Jooby) - Method in interface io.jooby.Extension
-
Install, configure additional features to a Jooby application.
- install(Extension) - Method in class io.jooby.Jooby
-
Install extension module.
- INSUFFICIENT_STORAGE - Static variable in class io.jooby.StatusCode
-
507 Insufficient Storage
.
- INSUFFICIENT_STORAGE_CODE - Static variable in class io.jooby.StatusCode
-
507 Insufficient Storage
.
- intValue() - Method in interface io.jooby.Value
-
Convert this value to int (if possible).
- intValue(int) - Method in interface io.jooby.Value
-
Convert this value to int (if possible) or fallback to given value when missing.
- io.jooby - package io.jooby
-
- io.jooby.annotations - package io.jooby.annotations
-
- IO_THREADS - Static variable in class io.jooby.ServerOptions
-
Number of available threads, but never smaller than 2
.
- isActive(String, String...) - Method in class io.jooby.Environment
-
Test is the given environment names are active.
- isArray() - Method in interface io.jooby.Value
-
True if this value is an array/sequence (not single or hash).
- isDefaultHeaders() - Method in class io.jooby.ServerOptions
-
True if default headers: Date
, Content-Type
and Server
are enabled.
- isFatal(Throwable) - Static method in class io.jooby.SneakyThrows
-
- isGzip() - Method in class io.jooby.ServerOptions
-
True if gzip is enabled.
- isHttpOnly() - Method in class io.jooby.Cookie
-
Cookie's http-only flag.
- isIgnoreCase() - Method in class io.jooby.RouterOptions
-
Indicates whenever routing algorithm does case-sensitive matching or not on incoming request
path.
- isIgnoreTrailingSlash() - Method in class io.jooby.RouterOptions
-
Indicates whenever a trailing slash is ignored or not on incoming request path.
- isInIoThread() - Method in interface io.jooby.Context
-
True when request runs in IO threads.
- isInMemory() - Method in interface io.jooby.Body
-
True if body is on memory.
- isJson() - Method in class io.jooby.MediaType
-
Indicates whenever this is a json mediatype.
- isMissing() - Method in interface io.jooby.Value
-
True for missing values.
- isModify() - Method in interface io.jooby.Session
-
True for modified/dirty sessions.
- isNew() - Method in interface io.jooby.Session
-
True for new sessions.
- isObject() - Method in interface io.jooby.Value
-
True if this is a hash/object value (not single or array).
- isResponseStarted() - Method in interface io.jooby.Context
-
True if response already started.
- isSecure() - Method in class io.jooby.Cookie
-
Secure cookie.
- isSingle() - Method in interface io.jooby.Value
-
True if this is a single value (not a hash or array).
- isTextual() - Method in class io.jooby.MediaType
-
Indicates whenever this is a textual mediatype.
- isUpload() - Method in interface io.jooby.Value
-
True if this is a file upload (not single, not array, not hash).
- iterator() - Method in interface io.jooby.Value
-
Value iterator.
- map(Type, Type) - Static method in class io.jooby.Reified
-
Creates an
Map
type literal.
- match(Context) - Method in class io.jooby.Jooby
-
- match(Context) - Method in interface io.jooby.Router
-
Find a matching route using the given context.
- matches(String) - Method in class io.jooby.MediaType
-
True if this mediatype is compatible with the given content type.
- matches(MediaType) - Method in class io.jooby.MediaType
-
True if this mediatype is compatible with the given content type.
- matches(Type) - Method in interface io.jooby.ResponseHandler
-
True if response route type is the one expected by the response handler.
- matches() - Method in interface io.jooby.Router.Match
-
True for matching route.
- MediaType - Class in io.jooby
-
Implementation of media/content type.
- MessageDecoder - Interface in io.jooby
-
Parse HTTP body into a target type.
- MessageEncoder - Interface in io.jooby
-
Render a route output as byte array.
- METHOD_NOT_ALLOWED - Static variable in class io.jooby.Route
-
- METHOD_NOT_ALLOWED - Static variable in class io.jooby.StatusCode
-
405 Method Not Allowed
.
- METHOD_NOT_ALLOWED_CODE - Static variable in class io.jooby.StatusCode
-
405 Method Not Allowed
.
- METHODS - Static variable in interface io.jooby.Router
-
HTTP Methods.
- missing(String) - Static method in interface io.jooby.Value
-
Creates a missing value.
- MissingValueException - Exception in io.jooby
-
Missing exception.
- MissingValueException(String) - Constructor for exception io.jooby.MissingValueException
-
Creates a missing exception.
- model - Variable in class io.jooby.ModelAndView
-
View data.
- ModelAndView - Class in io.jooby
-
Used by template engines to renderer views.
- ModelAndView(String, Map<String, Object>) - Constructor for class io.jooby.ModelAndView
-
Creates a new model and view.
- ModelAndView(String) - Constructor for class io.jooby.ModelAndView
-
Creates a new model and view.
- MOST_SPECIFIC - Static variable in class io.jooby.MediaType
-
Computes and returns the most specific media type of both.
- MOVED_PERMANENTLY - Static variable in class io.jooby.StatusCode
-
301 Moved Permanently
.
- MOVED_PERMANENTLY_CODE - Static variable in class io.jooby.StatusCode
-
301 Moved Permanently
.
- MULTI_STATUS - Static variable in class io.jooby.StatusCode
-
207 Multi-StatusCode
.
- MULTI_STATUS_CODE - Static variable in class io.jooby.StatusCode
-
207 Multi-StatusCode
.
- multipart() - Method in interface io.jooby.Context
-
Get multipart data.
- multipart(String) - Method in interface io.jooby.Context
-
Get a multipart field that matches the given name.
- multipart(Reified<T>) - Method in interface io.jooby.Context
-
Convert multipart data to the given type.
- multipart(Class<T>) - Method in interface io.jooby.Context
-
Convert multipart data to the given type.
- Multipart - Interface in io.jooby
-
Multipart class for direct MVC parameter provisioning.
- MULTIPART_FORMDATA - Static variable in class io.jooby.MediaType
-
MULTIPART_FORM_DATA.
- multipartFormdata - Static variable in class io.jooby.MediaType
-
MULTIPART_FORM_DATA.
- multipartMap() - Method in interface io.jooby.Context
-
Multipart data as single-value map.
- multipartMultimap() - Method in interface io.jooby.Context
-
Multipart data as multi-value map.
- MULTIPLE_CHOICES - Static variable in class io.jooby.StatusCode
-
300 Multiple Choices
.
- MULTIPLE_CHOICES_CODE - Static variable in class io.jooby.StatusCode
-
300 Multiple Choices
.
- mvc(Object) - Method in class io.jooby.Jooby
-
- mvc(Class) - Method in class io.jooby.Jooby
-
- mvc(Class<T>, Provider<T>) - Method in class io.jooby.Jooby
-
- mvc(Class) - Method in interface io.jooby.Router
-
Import all route method from the given controller class.
- mvc(Class<T>, Provider<T>) - Method in interface io.jooby.Router
-
Import all route method from the given controller class.
- mvc(Object) - Method in interface io.jooby.Router
-
Import all route methods from given controller instance.
- parse(String, long) - Static method in interface io.jooby.ByteRange
-
Parse a byte range request value.
- parse(String) - Static method in class io.jooby.MediaType
-
Parse one or more mediatype values.
- parser(MediaType) - Method in interface io.jooby.Context
-
- parser(MediaType, MessageDecoder) - Method in class io.jooby.Jooby
-
- parser(MediaType) - Method in class io.jooby.Route
-
MessageDecoder for given media type.
- parser(MediaType, MessageDecoder) - Method in interface io.jooby.Router
-
Register a decoder for the given content type.
- PARTIAL_CONTENT - Static variable in class io.jooby.StatusCode
-
207 Multi-StatusCode
.
- PARTIAL_CONTENT_CODE - Static variable in class io.jooby.StatusCode
-
206 Partial Content
.
- PATCH - Annotation Type in io.jooby.annotations
-
HTTP PATCH verb for mvc routes.
- PATCH - Static variable in interface io.jooby.Router
-
HTTP PATCH.
- patch(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP PATCH handler.
- Path - Annotation Type in io.jooby.annotations
-
Set a path for Mvc routes.
- path(String) - Method in interface io.jooby.Context
-
Path variable.
- path(Reified<T>) - Method in interface io.jooby.Context
-
- path(Class<T>) - Method in interface io.jooby.Context
-
- path() - Method in interface io.jooby.Context
-
- path() - Method in interface io.jooby.FileUpload
-
File system path to access file content.
- path(String, Runnable) - Method in class io.jooby.Jooby
-
- path(String, Runnable) - Method in interface io.jooby.Router
-
Group one or more routes under a common path prefix.
- PATH - Static variable in interface io.jooby.TemplateEngine
-
Default template path.
- pathKeys(String) - Static method in interface io.jooby.Router
-
Extract path keys from given path pattern.
- pathMap() - Method in interface io.jooby.Context
-
Path map represent all the path keys with their values.
- pathMap() - Method in interface io.jooby.Router.Match
-
Path pattern variables.
- PathParam - Annotation Type in io.jooby.annotations
-
Allow access to path variable from MVC route method.
- pathString() - Method in interface io.jooby.Context
-
Request path without decoding (a.k.a raw Path) without query string.
- PAYMENT_REQUIRED - Static variable in class io.jooby.StatusCode
-
402 Payment Required
.
- PAYMENT_REQUIRED_CODE - Static variable in class io.jooby.StatusCode
-
402 Payment Required
.
- pid() - Static method in class io.jooby.Environment
-
Find JVM process ID.
- POST - Annotation Type in io.jooby.annotations
-
HTTP POST verb for mvc routes.
- POST - Static variable in interface io.jooby.Router
-
HTTP POST.
- post(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP POST handler.
- PRECONDITION_FAILED - Static variable in class io.jooby.StatusCode
-
412 Precondition failed
.
- PRECONDITION_FAILED_CODE - Static variable in class io.jooby.StatusCode
-
412 Precondition failed
.
- PRECONDITION_REQUIRED - Static variable in class io.jooby.StatusCode
-
428 Precondition Required
.
- PRECONDITION_REQUIRED_CODE - Static variable in class io.jooby.StatusCode
-
428 Precondition Required
.
- PROCESSING - Static variable in class io.jooby.StatusCode
-
102 Processing
.
- PROCESSING_CODE - Static variable in class io.jooby.StatusCode
-
102 Processing
.
- produces(MediaType...) - Method in class io.jooby.Route
-
Add one or more response types (format) produces by this route.
- propagate(Throwable) - Static method in class io.jooby.SneakyThrows
-
Throws any throwable 'sneakily' - you don't need to catch it, nor declare that you throw it
onwards.
- ProvisioningException - Exception in io.jooby
-
Provisioning exception, throws by MVC routes when parameter binding fails.
- ProvisioningException(Parameter, Throwable) - Constructor for exception io.jooby.ProvisioningException
-
Creates a provisioning exception.
- ProvisioningException(String, Throwable) - Constructor for exception io.jooby.ProvisioningException
-
Creates a provisioning exception.
- PROXY_AUTHENTICATION_REQUIRED - Static variable in class io.jooby.StatusCode
-
407 Proxy Authentication Required
.
- PROXY_AUTHENTICATION_REQUIRED_CODE - Static variable in class io.jooby.StatusCode
-
407 Proxy Authentication Required
.
- PUT - Annotation Type in io.jooby.annotations
-
HTTP PUT verb for mvc routes.
- put(String, Value) - Method in interface io.jooby.Formdata
-
Add a form field.
- put(String, String) - Method in interface io.jooby.Formdata
-
Add a form field.
- put(String, Collection<String>) - Method in interface io.jooby.Formdata
-
Add a form field.
- put(String, Object) - Method in class io.jooby.ModelAndView
-
Put a model attribute.
- put(Map<String, Object>) - Method in class io.jooby.ModelAndView
-
Copy all the attributes into the model.
- PUT - Static variable in interface io.jooby.Router
-
HTTP PUT.
- put(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP PUT handler.
- put(Class<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
-
Put a service in this registry.
- put(ServiceKey<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
-
Put a service in this registry.
- put(Class<T>, T) - Method in interface io.jooby.ServiceRegistry
-
Put a service in this registry.
- put(ServiceKey<T>, T) - Method in interface io.jooby.ServiceRegistry
-
Put a service in this registry.
- put(String, int) - Method in interface io.jooby.Session
-
Put a session attribute.
- put(String, long) - Method in interface io.jooby.Session
-
Put a session attribute.
- put(String, CharSequence) - Method in interface io.jooby.Session
-
Put a session attribute.
- put(String, String) - Method in interface io.jooby.Session
-
Put a session attribute.
- put(String, float) - Method in interface io.jooby.Session
-
Put a session attribute.
- put(String, double) - Method in interface io.jooby.Session
-
Put a session attribute.
- put(String, boolean) - Method in interface io.jooby.Session
-
Put a session attribute.
- put(String, Number) - Method in interface io.jooby.Session
-
Put a session attribute.
- putIfAbsent(ServiceKey<T>, T) - Method in interface io.jooby.ServiceRegistry
-
Put/register a service in this registry if there isn't the same service already registered.
- putIfAbsent(Class<T>, T) - Method in interface io.jooby.ServiceRegistry
-
Put/register a service in this registry if there isn't the same service already registered.
- putIfAbsent(ServiceKey<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
-
Put/register a service in this registry if there isn't the same service already registered.
- putIfAbsent(Class<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
-
Put/register a service in this registry if there isn't the same service already registered.
- RAW - Static variable in interface io.jooby.MessageDecoder
-
Parse body to one of the raw
types: String, byte[], etc.
- rawType(Type) - Static method in class io.jooby.Reified
-
Get raw type (class) from given type.
- ready(Server) - Method in class io.jooby.Jooby
-
Callback method that indicates application was successfully started it and it is ready
listening for connections.
- reason() - Method in class io.jooby.StatusCode
-
- registry(Registry) - Method in class io.jooby.Jooby
-
Set application registry.
- Registry - Interface in io.jooby
-
Service locator pattern which may be provided by a dependency injection framework.
- RegistryException - Exception in io.jooby
-
Thrown when a required service is not available.
- RegistryException(String, Throwable) - Constructor for exception io.jooby.RegistryException
-
Constructor.
- RegistryException(String) - Constructor for exception io.jooby.RegistryException
-
Constructor.
- Reified<T> - Class in io.jooby
-
Represents a generic type T
.
- Reified() - Constructor for class io.jooby.Reified
-
Constructs a new type literal.
- release() - Method in class io.jooby.Asset.FileAsset
-
- release() - Method in interface io.jooby.Asset
-
Release this asset.
- release() - Method in class io.jooby.Asset.URLAsset
-
- remove(String) - Method in interface io.jooby.Session
-
Remove a session attribute.
- removeResponseHeader(String) - Method in interface io.jooby.Context
-
Remove a response header.
- render(Object) - Method in interface io.jooby.Context
-
Render a value and send the response to client.
- render(Context, ModelAndView) - Method in interface io.jooby.TemplateEngine
-
Render a model and view instance as String.
- renderer(MessageEncoder) - Method in class io.jooby.Jooby
-
- renderer(MediaType, MessageEncoder) - Method in class io.jooby.Jooby
-
- renderer(MessageEncoder) - Method in interface io.jooby.Router
-
Register a route response encoder.
- renderer(MediaType, MessageEncoder) - Method in interface io.jooby.Router
-
Register a route response encoder.
- REQUEST_ENTITY_TOO_LARGE - Static variable in class io.jooby.StatusCode
-
413 Request Entity Too Large
.
- REQUEST_ENTITY_TOO_LARGE_CODE - Static variable in class io.jooby.StatusCode
-
413 Request Entity Too Large
.
- REQUEST_HEADER_FIELDS_TOO_LARGE - Static variable in class io.jooby.StatusCode
-
431 Request Header Fields Too Large
.
- REQUEST_HEADER_FIELDS_TOO_LARGE_CODE - Static variable in class io.jooby.StatusCode
-
431 Request Header Fields Too Large
.
- REQUEST_TIMEOUT - Static variable in class io.jooby.StatusCode
-
408 Request Timeout
.
- REQUEST_TIMEOUT_CODE - Static variable in class io.jooby.StatusCode
-
408 Request Timeout
.
- REQUEST_URI_TOO_LONG - Static variable in class io.jooby.StatusCode
-
414 Request-URI Too Long
.
- REQUEST_URI_TOO_LONG_CODE - Static variable in class io.jooby.StatusCode
-
414 Request-URI Too Long
.
- REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class io.jooby.StatusCode
-
416 Requested Range Not Satisfiable
.
- REQUESTED_RANGE_NOT_SATISFIABLE_CODE - Static variable in class io.jooby.StatusCode
-
416 Requested Range Not Satisfiable
.
- RequestScope - Class in io.jooby
-
Thread-Local request scope implementation useful for save/store request attribute and access
to them using a static way.
- require(Class<T>, String) - Method in interface io.jooby.Context
-
- require(Class<T>) - Method in interface io.jooby.Context
-
- require(ServiceKey<T>) - Method in interface io.jooby.Context
-
- require(Class<T>, String) - Method in class io.jooby.Jooby
-
- require(Class<T>) - Method in class io.jooby.Jooby
-
- require(ServiceKey<T>) - Method in class io.jooby.Jooby
-
- require(Class<T>) - Method in interface io.jooby.Registry
-
Provides an instance of the given type.
- require(Class<T>, String) - Method in interface io.jooby.Registry
-
Provides an instance of the given type where name matches it.
- require(ServiceKey<T>) - Method in interface io.jooby.Registry
-
Provides an instance of the given type.
- require(Class<T>) - Method in interface io.jooby.ServiceRegistry
-
- require(Class<T>, String) - Method in interface io.jooby.ServiceRegistry
-
- require(ServiceKey<T>) - Method in interface io.jooby.ServiceRegistry
-
- RESET_CONTENT - Static variable in class io.jooby.StatusCode
-
206 Partial Content
.
- RESET_CONTENT_CODE - Static variable in class io.jooby.StatusCode
-
205 Reset Content
.
- resolve(String) - Method in interface io.jooby.AssetSource
-
Resolve an asset using the given path.
- resolve(String) - Method in interface io.jooby.Value
-
Process the given expression and resolve value references.
- resolve(String, boolean) - Method in interface io.jooby.Value
-
Process the given expression and resolve value references.
- resolve(String, String, String) - Method in interface io.jooby.Value
-
Process the given expression and resolve value references.
- resolve(String, boolean, String, String) - Method in interface io.jooby.Value
-
Process the given expression and resolve value references.
- responseHandler(ResponseHandler) - Method in class io.jooby.Jooby
-
- ResponseHandler - Interface in io.jooby
-
Bind a route response type to a custom handler.
- responseHandler(ResponseHandler) - Method in interface io.jooby.Router
-
Add a response handler factory.
- responseSender() - Method in interface io.jooby.Context
-
HTTP response channel as chunker.
- responseStream() - Method in interface io.jooby.Context
-
HTTP response channel as output stream.
- responseStream(MediaType) - Method in interface io.jooby.Context
-
HTTP response channel as output stream.
- responseStream(MediaType, SneakyThrows.Consumer<OutputStream>) - Method in interface io.jooby.Context
-
HTTP response channel as output stream.
- responseStream(SneakyThrows.Consumer<OutputStream>) - Method in interface io.jooby.Context
-
HTTP response channel as output stream.
- responseWriter() - Method in interface io.jooby.Context
-
HTTP response channel as response writer.
- responseWriter(MediaType) - Method in interface io.jooby.Context
-
HTTP response channel as response writer.
- responseWriter(MediaType, Charset) - Method in interface io.jooby.Context
-
HTTP response channel as response writer.
- responseWriter(SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.Context
-
HTTP response channel as response writer.
- responseWriter(MediaType, SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.Context
-
HTTP response channel as response writer.
- responseWriter(MediaType, Charset, SneakyThrows.Consumer<PrintWriter>) - Method in interface io.jooby.Context
-
HTTP response channel as response writer.
- RESUME_INCOMPLETE - Static variable in class io.jooby.StatusCode
-
308 Resume Incomplete
.
- RESUME_INCOMPLETE_CODE - Static variable in class io.jooby.StatusCode
-
308 Resume Incomplete
.
- RFC1123 - Static variable in interface io.jooby.Context
-
RFC1123 date formatter.
- RFC1123_PATTERN - Static variable in interface io.jooby.Context
-
RFC1123 date pattern.
- route(Runnable) - Method in class io.jooby.Jooby
-
- route(String, String, Route.Handler) - Method in class io.jooby.Jooby
-
- Route - Class in io.jooby
-
Route contains information about the HTTP method, path pattern, which content types consumes and
produces, etc..
- Route(String, String, Route.Handler) - Constructor for class io.jooby.Route
-
Creates a new route.
- route() - Method in interface io.jooby.Router.Match
-
Matched route.
- route(Runnable) - Method in interface io.jooby.Router
-
Group one or more routes.
- route(String, String, Route.Handler) - Method in interface io.jooby.Router
-
Add a route.
- Route.After - Interface in io.jooby
-
Execute application logic after a response has been generated by a route handler.
- Route.Before - Interface in io.jooby
-
Decorates a handler and run logic before handler is executed.
- Route.Decorator - Interface in io.jooby
-
Decorates a route handler by running logic before and after route handler.
- Route.Handler - Interface in io.jooby
-
Route handler here is where the application logic lives.
- Router - Interface in io.jooby
-
Routing DSL functions.
- Router.Match - Interface in io.jooby
-
Find route result.
- RouterOptions - Class in io.jooby
-
Router matching options.
- RouterOptions() - Constructor for class io.jooby.RouterOptions
-
- run() - Method in interface io.jooby.SneakyThrows.Runnable
-
Run task.
- runApp(String[], Class<? extends Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], ExecutionMode, Class<? extends Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], Supplier<Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], Consumer<Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], ExecutionMode, Consumer<Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], ExecutionMode, Supplier<Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- save(Session) - Method in interface io.jooby.SessionStore
-
Save a session.
- saveSessionId(Context, String) - Method in interface io.jooby.SessionId
-
Save session ID in the web context.
- SEE_OTHER - Static variable in class io.jooby.StatusCode
-
303 See Other
.
- SEE_OTHER_CODE - Static variable in class io.jooby.StatusCode
-
303 See Other
.
- send(String) - Method in interface io.jooby.Context
-
Send response data.
- send(String, Charset) - Method in interface io.jooby.Context
-
Send response data.
- send(byte[]) - Method in interface io.jooby.Context
-
Send response data.
- send(ByteBuffer) - Method in interface io.jooby.Context
-
Send response data.
- send(ByteBuf) - Method in interface io.jooby.Context
-
Send response data.
- send(ReadableByteChannel) - Method in interface io.jooby.Context
-
Send response data.
- send(InputStream) - Method in interface io.jooby.Context
-
Send response data.
- send(AttachedFile) - Method in interface io.jooby.Context
-
Send a file attached response.
- send(Path) - Method in interface io.jooby.Context
-
Send a file response.
- send(FileChannel) - Method in interface io.jooby.Context
-
Send a file response.
- send(StatusCode) - Method in interface io.jooby.Context
-
Send an empty response with the given status code.
- Sender - Interface in io.jooby
-
Non-blocking sender.
- Sender.Callback - Interface in io.jooby
-
Write callback.
- sendError(Throwable) - Method in interface io.jooby.Context
-
Send an error response.
- sendError(Throwable, StatusCode) - Method in interface io.jooby.Context
-
Send an error response.
- sendRedirect(String) - Method in interface io.jooby.Context
-
Send a 302
response.
- sendRedirect(StatusCode, String) - Method in interface io.jooby.Context
-
Send a redirect response.
- Server - Interface in io.jooby
-
Web server contract.
- Server.Base - Class in io.jooby
-
Base class for server.
- SERVER_ERROR - Static variable in class io.jooby.StatusCode
-
500 Server Error
.
- SERVER_ERROR_CODE - Static variable in class io.jooby.StatusCode
-
500 Server Error
.
- ServerOptions - Class in io.jooby
-
Available server options.
- ServerOptions() - Constructor for class io.jooby.ServerOptions
-
- SERVICE_UNAVAILABLE - Static variable in class io.jooby.StatusCode
-
503 Service Unavailable
.
- SERVICE_UNAVAILABLE_CODE - Static variable in class io.jooby.StatusCode
-
503 Service Unavailable
.
- ServiceKey<T> - Class in io.jooby
-
Utility class to access application services.
- ServiceRegistry - Interface in io.jooby
-
Default registry which use a simply key/value mechanism for storing and retrieving services.
- session() - Method in interface io.jooby.Context
-
Find a session or creates a new session.
- Session - Interface in io.jooby
-
HTTP session.
- SessionId - Interface in io.jooby
-
Find, save and delete a session ID (cookie or header) into/from the web
Context
.
- SessionOptions - Class in io.jooby
-
Options for HTTP session.
- SessionOptions(String, SessionId...) - Constructor for class io.jooby.SessionOptions
-
Creates a session options.
- SessionOptions(SessionId...) - Constructor for class io.jooby.SessionOptions
-
Creates a session options.
- sessionOrNull() - Method in interface io.jooby.Context
-
Find an existing session.
- SessionStore - Interface in io.jooby
-
Load and save sessions from store (memory, database, etc.).
- set(Type) - Static method in class io.jooby.Reified
-
Creates a
Set
type literal.
- setActiveNames(String...) - Method in class io.jooby.EnvironmentOptions
-
Set active environment names.
- setAfter(Route.After) - Method in class io.jooby.Route
-
Set after filter.
- setBasedir(String) - Method in class io.jooby.EnvironmentOptions
-
Set base dir.
- setBasedir(Path) - Method in class io.jooby.EnvironmentOptions
-
Set base dir.
- setBefore(Route.Before) - Method in class io.jooby.Route
-
Set before filter.
- setBufferSize(int) - Method in class io.jooby.ServerOptions
-
Set buffer size.
- setClassLoader(ClassLoader) - Method in class io.jooby.EnvironmentOptions
-
Set class loader.
- setConsumes(Collection<MediaType>) - Method in class io.jooby.Route
-
Add one or more request types (format) consumed by this route.
- setContextPath(String) - Method in class io.jooby.Jooby
-
- setContextPath(String) - Method in interface io.jooby.Router
-
Set application context path.
- setCreationTime(Instant) - Method in interface io.jooby.Session
-
Set session creation time.
- setDecorator(Route.Decorator) - Method in class io.jooby.Route
-
Set route decorator.
- setDefaultHeaders(boolean) - Method in class io.jooby.ServerOptions
-
Enabled/disabled default server headers: Date
, Content-Type
and
Server
.
- setDefaultResponseType(MediaType) - Method in interface io.jooby.Context
-
Set the default response content type header.
- setDefaultWorker(Executor) - Method in class io.jooby.Jooby
-
- setDefaultWorker(Executor) - Method in interface io.jooby.Router
-
Set the default worker thread pool.
- setDomain(String) - Method in class io.jooby.Cookie
-
Set cookie's domain.
- setEncoder(MessageEncoder) - Method in class io.jooby.Route
-
Set encoder.
- setEnvironment(Environment) - Method in class io.jooby.Jooby
-
Set application environment.
- setEnvironmentOptions(EnvironmentOptions) - Method in class io.jooby.Jooby
-
Set environment options and initialize/overrides the environment.
- setETag(boolean) - Method in class io.jooby.AssetHandler
-
Turn on/off e-tag support.
- setExecutionMode(ExecutionMode) - Method in class io.jooby.Jooby
-
Set application execution mode.
- setFilename(String) - Method in class io.jooby.EnvironmentOptions
-
Set file name.
- setFlashCookie(String) - Method in class io.jooby.Jooby
-
- setFlashCookie(String) - Method in interface io.jooby.Router
-
Set flash cookie name.
- setGzip(boolean) - Method in class io.jooby.ServerOptions
-
Enabled/disabled gzip.
- setHandle(Object) - Method in class io.jooby.Route
-
- setHttpOnly(boolean) - Method in class io.jooby.Cookie
-
Set cookie's http-only.
- setIgnoreCase(boolean) - Method in class io.jooby.RouterOptions
-
Turn on/off case-sensitive matching.
- setIgnoreTrailingSlash(boolean) - Method in class io.jooby.RouterOptions
-
Turn on/off support for trailing slash.
- setIoThreads(int) - Method in class io.jooby.ServerOptions
-
Set number of IO threads to use.
- setLastAccessedTime(Instant) - Method in interface io.jooby.Session
-
Set session last accessed time.
- setLastModified(boolean) - Method in class io.jooby.AssetHandler
-
Turn on/off handling of If-Modified-Since
header.
- setLateInit(boolean) - Method in class io.jooby.Jooby
-
Force all module to be initialized lazily at application startup time (not at
creation/instantiation time).
- setMaxAge(long) - Method in class io.jooby.AssetHandler
-
Set cache-control header with the given max-age value.
- setMaxAge(Duration) - Method in class io.jooby.AssetHandler
-
Set cache-control header with the given max-age value.
- setMaxAge(Duration) - Method in class io.jooby.Cookie
-
Set max age value:
- -1
: indicates a browser session.
- setMaxAge(long) - Method in class io.jooby.Cookie
-
Set max age value:
- -1
: indicates a browser session.
- setMaxRequestSize(int) - Method in class io.jooby.ServerOptions
-
Set max request size in bytes.
- setModify(boolean) - Method in interface io.jooby.Session
-
Set modify flag.
- setName(String) - Method in class io.jooby.Cookie
-
Set cookie's name.
- setNew(boolean) - Method in interface io.jooby.Session
-
Set new flag.
- setOptions(ServerOptions) - Method in interface io.jooby.Server
-
Set server options.
- setParsers(Map<String, MessageDecoder>) - Method in class io.jooby.Route
-
Set message decoders.
- 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.
- setPipeline(Route.Handler) - Method in class io.jooby.Route
-
Set route pipeline.
- setPort(int) - Method in class io.jooby.ServerOptions
-
Set the server port (default is 8080).
- setProduces(Collection<MediaType>) - Method in class io.jooby.Route
-
Add one or more response types (format) produces by this route.
- setResponseCode(StatusCode) - Method in interface io.jooby.Context
-
Set response status code.
- setResponseCode(int) - Method in interface io.jooby.Context
-
Set response status code.
- setResponseCookie(Cookie) - Method in interface io.jooby.Context
-
Set/add a cookie to response.
- setResponseHeader(String, Date) - Method in interface io.jooby.Context
-
Set response header.
- setResponseHeader(String, Instant) - Method in interface io.jooby.Context
-
Set response header.
- setResponseHeader(String, Object) - Method in interface io.jooby.Context
-
Set response header.
- setResponseHeader(String, String) - Method in interface io.jooby.Context
-
Set response header.
- setResponseLength(long) - Method in interface io.jooby.Context
-
Set response content length header.
- setResponseType(String) - Method in interface io.jooby.Context
-
Set response content type header.
- setResponseType(MediaType) - Method in interface io.jooby.Context
-
Set response content type header.
- setResponseType(MediaType, Charset) - Method in interface io.jooby.Context
-
Set response content type header.
- setReturnType(Type) - Method in class io.jooby.Route
-
Set route return type.
- setRoute(Route) - Method in class io.jooby.AssetHandler
-
- setRoute(Route) - Method in interface io.jooby.Context
-
Set matching route.
- setRoute(Route) - Method in interface io.jooby.Route.Handler
-
Allows a handler to listen for route metadata.
- setRouterOptions(RouterOptions) - Method in class io.jooby.Jooby
-
- setRouterOptions(RouterOptions) - Method in interface io.jooby.Router
-
Set router options.
- setSecure(boolean) - Method in class io.jooby.Cookie
-
Set cookie secure flag..
- setServer(String) - Method in class io.jooby.ServerOptions
-
Set server name.
- setServerOptions(ServerOptions) - Method in class io.jooby.Jooby
-
Set server options.
- setSessionOptions(SessionOptions) - Method in class io.jooby.Jooby
-
- setSessionOptions(SessionOptions) - Method in interface io.jooby.Router
-
Set session options.
- setSingleLoop(boolean) - Method in class io.jooby.ServerOptions
-
Indicates if netty server uses a single loop for accepting and processing connections.
- setStore(SessionStore) - Method in class io.jooby.SessionOptions
-
Set session store.
- setTmpdir(Path) - Method in class io.jooby.Jooby
-
Set application temporary directory.
- setValue(String) - Method in class io.jooby.Cookie
-
Set cookie's value.
- setWorker(Executor) - Method in class io.jooby.Jooby
-
- setWorker(Executor) - Method in interface io.jooby.Router
-
Set a worker thread pool.
- setWorkerThreads(int) - Method in class io.jooby.ServerOptions
-
Set number of worker threads (a.k.a application) to use.
- sign(String, String) - Static method in class io.jooby.Cookie
-
Sign a value using a secret key.
- size() - Method in interface io.jooby.FileUpload
-
- size() - Method in interface io.jooby.Value
-
The number of values this one has.
- SneakyThrows - Class in io.jooby
-
Collection of throwable interfaces to simplify exception handling on lambdas.
- SneakyThrows.Consumer<V> - Interface in io.jooby
-
- SneakyThrows.Consumer2<V1,V2> - Interface in io.jooby
-
- SneakyThrows.Consumer3<V1,V2,V3> - Interface in io.jooby
-
- SneakyThrows.Consumer4<V1,V2,V3,V4> - Interface in io.jooby
-
- SneakyThrows.Consumer5<V1,V2,V3,V4,V5> - Interface in io.jooby
-
- SneakyThrows.Consumer6<V1,V2,V3,V4,V5,V6> - Interface in io.jooby
-
- SneakyThrows.Consumer7<V1,V2,V3,V4,V5,V6,V7> - Interface in io.jooby
-
- SneakyThrows.Consumer8<V1,V2,V3,V4,V5,V6,V7,V8> - Interface in io.jooby
-
- SneakyThrows.Function<V,R> - Interface in io.jooby
-
- SneakyThrows.Function2<V1,V2,R> - Interface in io.jooby
-
- 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
-
- SneakyThrows.Predicate2<V1,V2> - Interface in io.jooby
-
- SneakyThrows.Runnable - Interface in io.jooby
-
- SneakyThrows.Supplier<V> - Interface in io.jooby
-
- start() - Method in class io.jooby.Jooby
-
Start application, find a web server, deploy application, start router, extension modules,
etc..
- start(Server) - Method in class io.jooby.Jooby
-
Call back method that indicates application was deploy it in the given server.
- start(Jooby) - Method in interface io.jooby.Server
-
Start an application.
- StatusCode - Class in io.jooby
-
HTTP status codes.
- StatusCodeException - Exception in io.jooby
-
Runtime exception with status code.
- StatusCodeException(StatusCode) - Constructor for exception io.jooby.StatusCodeException
-
Creates an error with the given status code.
- StatusCodeException(StatusCode, String) - Constructor for exception io.jooby.StatusCodeException
-
Creates an error with the given status code.
- StatusCodeException(StatusCode, String, Throwable) - Constructor for exception io.jooby.StatusCodeException
-
Creates an error with the given status code.
- stop() - Method in class io.jooby.Jooby
-
Stop application, fire the stop event to cleanup resources.
- stop() - Method in interface io.jooby.Server
-
Stop the server.
- stream() - Method in class io.jooby.Asset.FileAsset
-
- stream() - Method in interface io.jooby.Asset
-
- stream() - Method in class io.jooby.Asset.URLAsset
-
- stream() - Method in class io.jooby.AttachedFile
-
File content.
- stream() - Method in interface io.jooby.Body
-
Body as input stream.
- stream() - Method in interface io.jooby.FileUpload
-
Content as input stream.
- SUPPORT_MEDIA_TYPE - Static variable in class io.jooby.Route
-
- 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
-
- systemProperties() - Static method in class io.jooby.Environment
-
- 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 decorator with next one and produces a new after 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.Handler) - Method in interface io.jooby.Route.Before
-
Chain this decorator with a handler and produces a new handler.
- then(Route.Decorator) - Method in interface io.jooby.Route.Decorator
-
Chain this decorator with another and produces a new decorator.
- then(Route.Handler) - Method in interface io.jooby.Route.Decorator
-
Chain this decorator with a handler and produces a new handler.
- then(Route.After) - Method in interface io.jooby.Route.Handler
-
Chain this after decorator with next and produces a new decorator.
- throwingConsumer(SneakyThrows.Consumer<V>) - Static method in class io.jooby.SneakyThrows
-
Factory method for throwing consumer.
- throwingConsumer(SneakyThrows.Consumer2<V1, V2>) - Static method in class io.jooby.SneakyThrows
-
Factory method for throwing consumer.
- throwingConsumer(SneakyThrows.Consumer3<V1, V2, V3>) - Static method in class io.jooby.SneakyThrows
-
Factory method for throwing consumer.
- throwingConsumer(SneakyThrows.Consumer4<V1, V2, V3, V4>) - Static method in class io.jooby.SneakyThrows
-
Factory method for throwing consumer.
- throwingConsumer(SneakyThrows.Consumer5<V1, V2, V3, V4, V5>) - Static method in class io.jooby.SneakyThrows
-
Factory method for throwing consumer.
- throwingConsumer(SneakyThrows.Consumer6<V1, V2, V3, V4, V5, V6>) - Static method in class io.jooby.SneakyThrows
-
Factory method for throwing consumer.
- throwingConsumer(SneakyThrows.Consumer7<V1, V2, V3, V4, V5, V6, V7>) - Static method in class io.jooby.SneakyThrows
-
Factory method for throwing consumer.
- throwingConsumer(SneakyThrows.Consumer8<V1, V2, V3, V4, V5, V6, V7, V8>) - Static method in class io.jooby.SneakyThrows
-
Factory method for throwing consumer.
- throwingFunction(SneakyThrows.Function<V, R>) - Static method in class io.jooby.SneakyThrows
-
- throwingFunction(SneakyThrows.Function2<V1, V2, R>) - Static method in class io.jooby.SneakyThrows
-
- 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
-
- throwingSupplier(SneakyThrows.Supplier<V>) - Static method in class io.jooby.SneakyThrows
-
- to(Class<T>) - Method in interface io.jooby.Value
-
Convert this value to the given type.
- to(Type) - Method in interface io.jooby.Value
-
Convert this value to the given type.
- to(Reified<T>) - Method in interface io.jooby.Value
-
Convert this value to the given type.
- TO_STRING - Static variable in interface io.jooby.MessageEncoder
-
To string renderer.
- toContentTypeHeader(Charset) - Method in class io.jooby.MediaType
-
Render a content type header and add the charset parameter (when present).
- toCookieString() - Method in class io.jooby.Cookie
-
Generates a cookie string.
- toEnum(SneakyThrows.Function<String, T>) - Method in interface io.jooby.Value
-
Convert this value to an Enum.
- toEnum(SneakyThrows.Function<String, T>, Function<String, String>) - Method in interface io.jooby.Value
-
Convert this value to an Enum.
- toList() - Method in interface io.jooby.Value
-
Get list of values.
- toList(Class<T>) - Method in interface io.jooby.Value
-
Get list of the given type.
- toMap() - Method in interface io.jooby.Session
-
Read-only attributes.
- toMap() - Method in interface io.jooby.Value
-
Value as single-value map.
- toMultimap() - Method in interface io.jooby.FileUpload
-
Multi-value map with field name as key and file name as values.
- toMultimap() - Method in interface io.jooby.Value
-
Value as multi-value map.
- TOO_MANY_REQUESTS - Static variable in class io.jooby.StatusCode
-
429 Too Many Requests
.
- TOO_MANY_REQUESTS_CODE - Static variable in class io.jooby.StatusCode
-
429 Too Many Requests
.
- toOptional() - Method in interface io.jooby.Value
-
Get a value or empty optional.
- toOptional(Class<T>) - Method in interface io.jooby.Value
-
Get a value or empty optional.
- toSet() - Method in interface io.jooby.Value
-
Get set of values.
- toSet(Class<T>) - Method in interface io.jooby.Value
-
Get set of the given type.
- toString() - Method in class io.jooby.Asset.FileAsset
-
- toString() - Method in class io.jooby.Asset.URLAsset
-
- toString() - Method in class io.jooby.AttachedFile
-
- toString() - Method in class io.jooby.Cookie
-
- toString() - Method in class io.jooby.Environment
-
- toString() - Method in class io.jooby.Jooby
-
- toString() - Method in class io.jooby.MediaType
-
- toString() - Method in class io.jooby.ModelAndView
-
- toString() - Method in class io.jooby.Reified
-
- toString() - Method in class io.jooby.Route
-
- toString() - Method in class io.jooby.ServerOptions
-
- toString() - Method in class io.jooby.ServiceKey
-
- toString() - Method in class io.jooby.StatusCode
-
Return a string representation of this status code.
- TRACE - Annotation Type in io.jooby.annotations
-
HTTP TRACE verb for mvc routes.
- TRACE - Static variable in interface io.jooby.Router
-
HTTP TRACE.
- trace(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP TRACE handler.
- tryAccept(V) - Method in interface io.jooby.SneakyThrows.Consumer
-
Performs this operation on the given argument.
- tryAccept(V1, V2) - Method in interface io.jooby.SneakyThrows.Consumer2
-
Performs this operation on the given argument.
- tryAccept(V1, V2, V3) - Method in interface io.jooby.SneakyThrows.Consumer3
-
Performs this operation on the given argument.
- tryAccept(V1, V2, V3, V4) - Method in interface io.jooby.SneakyThrows.Consumer4
-
Performs this operation on the given arguments.
- tryAccept(V1, V2, V3, V4, V5) - Method in interface io.jooby.SneakyThrows.Consumer5
-
Performs this operation on the given arguments.
- tryAccept(V1, V2, V3, V4, V5, V6) - Method in interface io.jooby.SneakyThrows.Consumer6
-
Performs this operation on the given arguments.
- tryAccept(V1, V2, V3, V4, V5, V6, V7) - Method in interface io.jooby.SneakyThrows.Consumer7
-
Performs this operation on the given arguments.
- tryAccept(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface io.jooby.SneakyThrows.Consumer8
-
Performs this operation on the given arguments.
- tryApply(V) - Method in interface io.jooby.SneakyThrows.Function
-
Apply this function to the given argument and produces a result.
- tryApply(V1, V2) - Method in interface io.jooby.SneakyThrows.Function2
-
Apply this function to the given argument and produces a result.
- tryApply(V1, V2, V3) - Method in interface io.jooby.SneakyThrows.Function3
-
Apply this function to the given argument and produces a result.
- tryApply(V1, V2, V3, V4) - Method in interface io.jooby.SneakyThrows.Function4
-
Apply this function to the given argument and produces a result.
- tryApply(V1, V2, V3, V4, V5) - Method in interface io.jooby.SneakyThrows.Function5
-
Apply this function to the given argument and produces a result.
- tryApply(V1, V2, V3, V4, V5, V6) - Method in interface io.jooby.SneakyThrows.Function6
-
Apply this function to the given argument and produces a result.
- tryApply(V1, V2, V3, V4, V5, V6, V7) - Method in interface io.jooby.SneakyThrows.Function7
-
Apply this function to the given argument and produces a result.
- tryApply(V1, V2, V3, V4, V5, V6, V7, V8) - Method in interface io.jooby.SneakyThrows.Function8
-
Apply this function to the given argument and produces a result.
- tryGet() - Method in interface io.jooby.SneakyThrows.Supplier
-
Computes/retrieves a value.
- tryRun() - Method in interface io.jooby.SneakyThrows.Runnable
-
Run task.
- tryTest(V) - Method in interface io.jooby.SneakyThrows.Predicate
-
Apply the predicate.
- tryTest(V1, V2) - Method in interface io.jooby.SneakyThrows.Predicate2
-
Apply the predicate.
- TypeMismatchException - Exception in io.jooby
-
Type mismatch exception.
- TypeMismatchException(String, Type, Throwable) - Constructor for exception io.jooby.TypeMismatchException
-
Creates a type mismatch error.
- TypeMismatchException(String, Type) - Constructor for exception io.jooby.TypeMismatchException
-
Creates a type mismatch error.