Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 2. Avaje Notation - Search tag in class io.jooby.Projection
- Section
- 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
Acceptheader. - ACCEPT - Static variable in class io.jooby.Route
-
Handler for
StatusCode.NOT_ACCEPTABLEresponses. - 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
AccessLogHandlerwithout user identifier. - AccessLogHandler(Function<Context, String>) - Constructor for class io.jooby.handler.AccessLogHandler
-
Creates a new
AccessLogHandlerand use the given function and userId provider. - add(JsonRpcRequest) - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
-
Adds a request to this batch container.
- add(JsonRpcService) - Method in class io.jooby.rpc.jsonrpc.JsonRpcModule
- add(Provider<T>) - Method in class io.jooby.ServiceRegistry.MultiBinder
-
Add a service to final list.
- add(T) - Method in class io.jooby.ServiceRegistry.MultiBinder
-
Add a service to final list.
- 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.
- allocate() - Method in interface io.jooby.output.OutputFactory
-
Allocate a buffered output, using the default
OutputFactory.getOptions(). - allocate(boolean, int) - Method in class io.jooby.output.ByteBufferedOutputFactory
- allocate(boolean, int) - Method in interface io.jooby.output.OutputFactory
-
Creates a new byte buffered output.
- allocate(int) - Method in interface io.jooby.output.OutputFactory
-
Creates a new byte buffered output.
- 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
-
True if any header is allowed:
*. - anyOrigin() - Method in class io.jooby.handler.Cors
-
True if any origin is accepted.
- 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(Context, Throwable, StatusCode) - Method in class io.jooby.problem.ProblemDetailsHandler
- apply(Context, Throwable, StatusCode) - Method in class io.jooby.rpc.trpc.TrpcErrorHandler
-
Applies the tRPC error formatting if the request is a tRPC call.
- apply(Context, T) - Static method in interface io.jooby.validation.BeanValidator
-
Validate a value bean.
- 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(ValueFactory, String, List<String>) - Static method in interface io.jooby.value.Value
-
Creates a sequence/array of values.
- asByteBuffer() - Method in class io.jooby.output.ByteBufferedOutput
- asByteBuffer() - Method in interface io.jooby.output.Output
-
A view as
ByteBuffer. - asOutputStream() - Method in interface io.jooby.output.BufferedOutput
-
This output as an output stream.
- Asset - Interface in io.jooby.handler
-
Represent an static resource file.
- AssetHandler - Class in io.jooby.handler
-
Handler for static resources represented by the
Assetcontract. - 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, 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. - asWriter() - Method in interface io.jooby.output.BufferedOutput
-
This output as a writer.
- asWriter(Charset) - Method in interface io.jooby.output.BufferedOutput
-
This output as a writer.
- 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 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 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 - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
Invalid routing or parameters.
- 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. - badRequest(String) - Static method in exception class io.jooby.problem.HttpProblem
-
Creates an HttpProblem with BAD_REQUEST status (400) using the default title.
- badRequest(String, String) - Static method in exception class io.jooby.problem.HttpProblem
-
Creates an HttpProblem with BAD_REQUEST status (400) and custom title and detail.
- BadRequestException - Exception Class in io.jooby.exception
-
Specific exception for bad request.
- BadRequestException(String) - Constructor for exception class io.jooby.exception.BadRequestException
-
Creates a bad request exception.
- BadRequestException(String, Throwable) - Constructor for exception class 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
-
Default constructor.
- BeanValidator - Interface in io.jooby.validation
-
This class is a helper that provides a single entry point for bean validation without being strictly tied to a specific bean validation implementation.
- 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.
- BigDecimal - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to BigDecimal.
- BigInteger - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to BigInteger.
- bind(Object, T) - Static method in class io.jooby.RequestScope
-
Binds the given value to the current context for its key.
- BindParam - Annotation Interface in io.jooby.annotation
-
Custom mapping of HTTP request to parameter.
- body() - Method in interface io.jooby.Context
-
HTTP body which provides access to body content.
- body() - Method in class io.jooby.ForwardingContext
- body() - Method in class io.jooby.validation.ValidationContext
- 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(Class<T>) - Method in class io.jooby.validation.ValidationContext
- 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(Type) - Method in class io.jooby.validation.ValidationContext
- Body - Interface in io.jooby
-
HTTP body value.
- Boolean - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to boolean/Boolean.
- booleanValue() - Method in class io.jooby.ForwardingContext.ForwardingBody
- booleanValue() - Method in class io.jooby.ForwardingContext.ForwardingValue
- booleanValue() - Method in interface io.jooby.value.Value
-
Convert this value to boolean (if possible).
- booleanValue(boolean) - Method in class io.jooby.ForwardingContext.ForwardingBody
- booleanValue(boolean) - Method in class io.jooby.ForwardingContext.ForwardingValue
- booleanValue(boolean) - Method in interface io.jooby.value.Value
-
Convert this value to boolean (if possible) or fallback to given value when missing.
- BufferedOutput - Interface in io.jooby.output
-
Buffered output.
- build() - Method in class io.jooby.problem.HttpProblem.Builder
-
Build a problem.
- build(byte[], String) - Static method in class io.jooby.FileDownload
-
Creates a builder with the specified content which can be used to create a
FileDownloadwith anyFileDownload.Mode. - build(FileDownload.Mode) - Method in interface io.jooby.FileDownload.Builder
-
Creates a
FileDownloadwith 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
FileDownloadwith 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
FileDownloadwith 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
FileDownloadwith 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
FileDownloadwith anyFileDownload.Mode. - builder() - Static method in exception class io.jooby.problem.HttpProblem
-
New problem builder.
- 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.
- byFileExtension(String, String) - Static method in class io.jooby.MediaType
-
Mediatype by file extension.
- Byte - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to byte/Byte.
- byteBuffer() - Method in interface io.jooby.WebSocketMessage
-
Direct access to bytes.
- ByteBufferedOutput - Class in io.jooby.output
-
Default implementation of
BufferedOutput. - ByteBufferedOutput(boolean, int) - Constructor for class io.jooby.output.ByteBufferedOutput
-
Creates a new byte buffered output.
- ByteBufferedOutputFactory - Class in io.jooby.output
-
An output factory backed by
ByteBuffer. - ByteBufferedOutputFactory(OutputOptions) - Constructor for class io.jooby.output.ByteBufferedOutputFactory
-
Creates new byte buffered output.
- ByteRange - Interface in io.jooby
-
Utility class to compute single byte range requests when response content length is known.
- bytes() - Method in interface io.jooby.Body
-
HTTP body as byte array.
- bytes() - Method in interface io.jooby.FileUpload
-
Content as byte array.
- bytes() - Method in class io.jooby.ForwardingContext.ForwardingBody
- bytes() - Method in interface io.jooby.WebSocketMessage
-
Direct access to bytes.
- BYTES_RANGE - Static variable in interface io.jooby.ByteRange
-
Byte range prefix.
- byteValue() - Method in class io.jooby.ForwardingContext.ForwardingBody
- byteValue() - Method in class io.jooby.ForwardingContext.ForwardingValue
- byteValue() - Method in interface io.jooby.value.Value
-
Convert this value to byte (if possible).
- byteValue(byte) - Method in class io.jooby.ForwardingContext.ForwardingBody
- byteValue(byte) - Method in class io.jooby.ForwardingContext.ForwardingValue
- byteValue(byte) - Method in interface io.jooby.value.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
-
Creates a new cache control.
- caseInsensitive() - Static method in class io.jooby.RouterOptions
-
Case-inSensitive with reset headers on error enabled.
- channel() - Method in interface io.jooby.Body
-
Body as a readable channel.
- channel() - Method in class io.jooby.ForwardingContext.ForwardingBody
- Charset - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to Charset.
- 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.output.BufferedOutput
-
Clears this buffer.
- clear() - Method in class io.jooby.output.ByteBufferedOutput
- clear() - Method in interface io.jooby.Session
-
Remove all attributes.
- CLIENT_CLOSED_REQUEST - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
The client disconnected before the server could respond.
- CLIENT_CLOSED_REQUEST - Static variable in class io.jooby.StatusCode
-
499 The client aborted the request before completion. - CLIENT_CLOSED_REQUEST_CODE - Static variable in class io.jooby.StatusCode
-
499 The client aborted the request before completion. - 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.NORMALcode to client. - close(int, String) - Method in interface io.jooby.rpc.grpc.GrpcExchange
-
Closes the HTTP/2 stream by appending the mandatory gRPC trailing headers.
- 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
CompletableFuturetype 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
-
Creates a new completion listener.
- concurrent() - Static method in class io.jooby.ReactiveSupport
-
Concurrent filter.
- concurrent(Route.Handler) - Static method in class io.jooby.ReactiveSupport
-
Handler for
CompletionStageandFlow.Publisherresult types. - configure(ClassLoader, List<String>) - Static method in interface io.jooby.LoggingService
-
Initializes the
logback.configurationFilesystem property when alogback[.env].xmlfile is found atuser.dir/confdirectory oruser.dir. - CONFLICT - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
State conflict, such as a duplicate database entry.
- CONFLICT - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
State conflict, such as a duplicate database entry.
- 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.Route.Set
-
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.
- Context.Selector - Interface in io.jooby
-
Select an application base on context path prefix matching a provided path.
- ContextParam - Annotation Interface in io.jooby.annotation
-
Allow access to context attributes from MVC route.
- contextPath(String) - Method in class io.jooby.OpenAPIModule
-
Set/override context path of OpenAPI resource.
- CONTINUE - Static variable in class io.jooby.StatusCode
-
100 Continue. - CONTINUE_CODE - Static variable in class io.jooby.StatusCode
-
100 Continue. - ConversionHint - Enum Class in io.jooby.value
-
Instructs how a
Valuemust be converted to the requested type. - convert(Type, Value) - Method in class io.jooby.value.ValueFactory
-
Convert a value to target type using the default
ValueFactory.hint(ConversionHint). - convert(Type, Value, ConversionHint) - Method in interface io.jooby.value.Converter
-
Convert a
Valuespecific type. - convert(Type, Value, ConversionHint) - Method in class io.jooby.value.ReflectiveBeanConverter
-
Convert a value into a JavaBean object.
- convert(Type, Value, ConversionHint) - Method in class io.jooby.value.ValueFactory
-
Convert a value to target type using a hint.
- Converter - Interface in io.jooby.value
-
Value converter for values that come from config, query, path, form, path parameters into more specific type.
- 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(String, String) - Method in interface io.jooby.Context
-
Get a cookie matching the given name.
- cookie(String, String) - Method in interface io.jooby.DefaultContext
- cookie(String, 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
CorsHandlerwith 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() - Static method in interface io.jooby.output.OutputFactory
-
Default output factory, backed by
ByteBuffer. - create() - Method in interface io.jooby.SslProvider
-
Creates a new provider.
- 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.Session
-
Creates a new session.
- create(Context, String) - Static method in interface io.jooby.WebSocketMessage
-
Creates a websocket message.
- create(Context, String, Map<String, String>) - Static method in interface io.jooby.Session
-
Creates a new session.
- create(OutputOptions) - Static method in interface io.jooby.output.OutputFactory
-
Default output factory, backed by
ByteBuffer. - create(ValueFactory) - Static method in interface io.jooby.Formdata
-
Creates a new multipart object.
- create(ValueFactory, String) - Static method in interface io.jooby.QueryString
-
Query string hash value.
- create(ValueFactory, String, String) - Static method in interface io.jooby.value.Value
-
Creates a value that fits better with the given values.
- create(ValueFactory, String, List<String>) - Static method in interface io.jooby.value.Value
-
Creates a value that fits better with the given values.
- 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.
- create(List<Jooby>) - Static method in interface io.jooby.Context.Selector
-
Creates an application selector.
- createApp(Server, 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
CsrfHandlerhandler and use the given name to save the token in theSessionand or extract the token from incoming requests. - CsrfHandler(String) - Constructor for class io.jooby.handler.CsrfHandler
-
Creates a new
CsrfHandlerhandler and use the given name to save the token in theSessionand 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.
- custom log function - Search tag in class io.jooby.handler.AccessLogHandler
- Section
D
- 1. Dot Notation - Search tag in class io.jooby.Projection
- Section
- data() - Method in record class io.jooby.rpc.trpc.TrpcResponse
-
Returns the value of the
datarecord component. - Date - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to Date.
- dateFormatter - Search tag in class io.jooby.handler.AccessLogHandler
- Section
- 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.
- declaringClass() - Method in record class io.jooby.Route.MvcMethod
-
Returns the value of the
declaringClassrecord component. - 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=vpair are separated by&. - decode(String, byte[]) - Method in interface io.jooby.rpc.trpc.TrpcDecoder
-
Decodes a raw byte array payload into the target Java object.
- decode(String, Object) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcDecoder
-
Decodes a generic JSON node object into the target Java object.
- decode(String, String) - Method in interface io.jooby.rpc.trpc.TrpcDecoder
-
Decodes a string payload into the target Java object.
- 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.
- decoder(Type) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcParser
-
Resolves and caches a type-specific deserializer during route initialization.
- decoder(Type) - Method in interface io.jooby.rpc.trpc.TrpcParser
-
Resolves and caches a type-specific deserializer during route initialization.
- 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
Contextbut 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
-
Default error handler.
- 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 class io.jooby.output.OutputOptions
-
Default options.
- defaults() - Static method in class io.jooby.RouterOptions
-
Case-sensitive with reset headers on error enabled.
- 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.
- deleteOnComplete() - Method in interface io.jooby.FileDownload.BuilderExt
-
Mark the file to be deleted once it send to the client.
- deleteOnComplete() - Method in class io.jooby.FileDownload
-
True if the file will be deleted after sending to the client.
- 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.Route.Set
-
Route description useful for documentation purpose from openAPI generator.
- destroy() - Method in interface io.jooby.Session
-
Destroy/invalidates this session.
- detail(String) - Method in class io.jooby.problem.HttpProblem.Builder
-
Error detail.
- Discovery Rules: - Search tag in annotation interface io.jooby.annotation.JsonRpc
- Section
- 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.
- Double - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to double/Double.
- doubleValue() - Method in class io.jooby.ForwardingContext.ForwardingBody
- doubleValue() - Method in class io.jooby.ForwardingContext.ForwardingValue
- doubleValue() - Method in interface io.jooby.value.Value
-
Convert this value to double (if possible).
- doubleValue(double) - Method in class io.jooby.ForwardingContext.ForwardingBody
- doubleValue(double) - Method in class io.jooby.ForwardingContext.ForwardingValue
- doubleValue(double) - Method in interface io.jooby.value.Value
-
Convert this value to double (if possible) or fallback to given value when missing.
- Duration - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to Duration.
E
- empty() - Static method in record class io.jooby.rpc.trpc.TrpcResponse
-
Creates an empty tRPC success envelope.
- empty(Context) - Static method in interface io.jooby.Body
-
Empty body.
- Empty - Enum constant in enum class io.jooby.value.ConversionHint
-
Produces an instance of the required type even if no value matches the output property or constructor argument.
- ENABLED_KEY - Static variable in class io.jooby.problem.ProblemDetailsHandler
-
Root config path constant for enabling/disabling.
- encode(Context) - Method in class io.jooby.ServerSentMessage
-
Encode message as event source stream format.
- encode(Context, Object) - Method in interface io.jooby.MessageEncoder
-
Encodes a value into a buffer or
nullif a 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.Projection
- equals(Object) - Method in class io.jooby.Reified
- equals(Object) - Method in record class io.jooby.Route.Location
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jooby.Route.MvcMethod
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.jooby.rpc.trpc.TrpcResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class io.jooby.ServiceKey
- equals(Object) - Method in class io.jooby.StatusCode
- equals(Object) - Method in record class io.jooby.validation.ValidationResult.Error
-
Indicates whether some other object is "equal to" this one.
- error(ErrorHandler) - Method in class io.jooby.Jooby
- error(ErrorHandler) - Method in interface io.jooby.Router
-
Add a custom error handler.
- error(HttpProblem.Error) - Method in class io.jooby.problem.HttpProblem.Builder
-
Add one the error.
- 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(Object, JsonRpcErrorCode, Object) - Static method in class io.jooby.rpc.jsonrpc.JsonRpcResponse
-
Creates an error JSON-RPC response.
- error(Predicate<StatusCode>, ErrorHandler) - Method in interface io.jooby.Router
-
Add a custom error handler that matches the given predicate.
- Error(String, String) - Constructor for class io.jooby.problem.HttpProblem.Error
-
Creates a new Error instance with the specified detail and pointer.
- Error(String, List<String>, ValidationResult.ErrorType) - Constructor for record class io.jooby.validation.ValidationResult.Error
-
Creates an instance of a
Errorrecord class. - 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.
- ErrorDetail() - Constructor for class io.jooby.rpc.jsonrpc.JsonRpcResponse.ErrorDetail
- ErrorDetail(int, String, Object) - Constructor for class io.jooby.rpc.jsonrpc.JsonRpcResponse.ErrorDetail
- 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.
- errors(List<? extends HttpProblem.Error>) - Method in class io.jooby.problem.HttpProblem.Builder
-
Add all the errors.
- 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
-
Executes matched route.
- execute(Context, Route.Handler) - Method in interface io.jooby.Router.Match
-
Executes matched route.
- execute(Context, JsonRpcRequest) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcService
-
Executes the requested method using the provided context and request data.
- 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
RefererandUser-Agententries 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
- 4. Functional Nested DSL - Search tag in class io.jooby.Projection
- Section
- 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.
- field() - Method in record class io.jooby.validation.ValidationResult.Error
-
Returns the value of the
fieldrecord component. - FIELD - Enum constant in enum class io.jooby.validation.ValidationResult.ErrorType
-
Error is on field.
- 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
- file(String) - Method in class io.jooby.ForwardingContext.ForwardingFormdata
- file(String) - Method in class io.jooby.OpenAPIModule
-
Set custom openapi file to use.
- 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
FileDownloadwith the specifiedFileDownload.Mode. - FileDownload.BuilderExt - Interface in io.jooby
-
Add support for delete file on complete when created from
FileDownload.build(Path, String)orFileDownload.build(Path). - FileDownload.Mode - Enum Class in io.jooby
-
Download mode.
- filename() - Method in record class io.jooby.Route.Location
-
Returns the value of the
filenamerecord component. - 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() - Method in class io.jooby.ForwardingContext.ForwardingFormdata
- 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
- files(String) - Method in class io.jooby.ForwardingContext.ForwardingFormdata
- 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(String, String) - Method in interface io.jooby.Context
-
Get a flash attribute.
- flash(String, String) - Method in interface io.jooby.DefaultContext
- flash(String, 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.
- flashOrNull() - Method in interface io.jooby.Context
-
Flash map or null when no flash cookie exists.
- flashOrNull() - Method in interface io.jooby.DefaultContext
- flashOrNull() - Method in class io.jooby.ForwardingContext
- FlashParam - Annotation Interface in io.jooby.annotation
-
Allow access to flash parameter from MVC route method.
- Float - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to float/Float.
- floatValue() - Method in class io.jooby.ForwardingContext.ForwardingBody
- floatValue() - Method in class io.jooby.ForwardingContext.ForwardingValue
- floatValue() - Method in interface io.jooby.value.Value
-
Convert this value to float (if possible).
- floatValue(float) - Method in class io.jooby.ForwardingContext.ForwardingBody
- floatValue(float) - Method in class io.jooby.ForwardingContext.ForwardingValue
- floatValue(float) - Method in interface io.jooby.value.Value
-
Convert this value to float (if possible) or fallback to given value when missing.
- fn() - Element in annotation interface io.jooby.annotation.BindParam
-
Name of the function doing the mapping.
- FORBIDDEN - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Authenticated user lacks required permissions.
- FORBIDDEN - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
Authenticated user lacks required permissions.
- FORBIDDEN - Static variable in class io.jooby.StatusCode
-
403 Forbidden. - FORBIDDEN_CODE - Static variable in class io.jooby.StatusCode
-
403 Forbidden. - ForbiddenException - Exception Class in io.jooby.exception
-
Specific error for forbidden access.
- ForbiddenException() - Constructor for exception class io.jooby.exception.ForbiddenException
-
Creates a new forbidden exception.
- ForbiddenException(String) - Constructor for exception class 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.
- forEach(Consumer<? super Value>) - Method in class io.jooby.ForwardingContext.ForwardingBody
- forEach(Consumer<? super Value>) - Method in class io.jooby.ForwardingContext.ForwardingValue
- 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() - Method in class io.jooby.validation.ValidationContext
- 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(Class<T>) - Method in class io.jooby.validation.ValidationContext
- 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(String, String) - Method in interface io.jooby.Context
-
Get a form field that matches the given name.
- form(String, String) - Method in interface io.jooby.DefaultContext
- form(String, String) - Method in class io.jooby.ForwardingContext
- FORM - Enum constant in enum class io.jooby.ParamSource
-
Source equivalent to
Context.form(String). - FORM_DECODER_HANDLER - Static variable in class io.jooby.Route
-
Handler for body error decoder responses.
- 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(ValueFactory) - Static method in interface io.jooby.value.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
- ForwardingBody(Body) - Constructor for class io.jooby.ForwardingContext.ForwardingBody
-
Creates a new instance.
- 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.
- ForwardingContext.ForwardingBody - Class in io.jooby
-
Delegate/forwarding body.
- ForwardingContext.ForwardingFormdata - Class in io.jooby
-
Forwarding/Delegate pattern over
Formdata. - ForwardingContext.ForwardingQueryString - Class in io.jooby
-
Forwarding/Delegate pattern over
QueryString. - ForwardingContext.ForwardingValue - Class in io.jooby
-
Forwarding/Delegate pattern over
Value. - ForwardingFormdata(Formdata) - Constructor for class io.jooby.ForwardingContext.ForwardingFormdata
-
Creates a new instance.
- ForwardingQueryString(QueryString) - Constructor for class io.jooby.ForwardingContext.ForwardingQueryString
-
Creates a new instance.
- ForwardingValue(Value) - Constructor for class io.jooby.ForwardingContext.ForwardingValue
-
Creates a new instance.
- 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.problem.ProblemDetailsHandler
-
Creates a problem handler from configuration.
- 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(String) - Static method in enum class io.jooby.OpenAPIModule.Format
-
Find format based on files extension.
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. - Generated - Annotation Interface in io.jooby.annotation
-
Used internally to annotation generated MVC controllers.
- get() - Method in class io.jooby.ServiceRegistry.MapBinder
- get() - Method in interface io.jooby.SneakyThrows.Supplier
-
Computes/retrieves a value.
- get(int) - Method in interface io.jooby.Body
- get(int) - Method in class io.jooby.ForwardingContext.ForwardingBody
- get(int) - Method in class io.jooby.ForwardingContext.ForwardingValue
- get(int) - Method in interface io.jooby.value.Value
-
Get a value at the given position.
- get(Reified<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve a service/resource by key.
- 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
Classinstance. - 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
Typeinstance. - get(Type) - Method in class io.jooby.value.ValueFactory
-
Get a converter for the given type.
- get(String) - Method in class io.jooby.ForwardingContext.ForwardingBody
- get(String) - Method in class io.jooby.ForwardingContext.ForwardingValue
- 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.value.Value
-
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 class 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
- getAttribute(String) - Method in class io.jooby.Jooby
- getAttribute(String) - Method in class io.jooby.Route
-
Retrieve value of this specific Attribute set to this route.
- getAttribute(String) - Method in interface io.jooby.Router
-
Get an attribute by his key.
- 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
nullfor default. - getBasePackage() - Method in class io.jooby.Jooby
-
Get base application package.
- 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. - getChildren() - Method in class io.jooby.Projection
- 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 enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Retrieves the JSON-RPC integer code.
- getCode() - Method in exception class io.jooby.rpc.jsonrpc.JsonRpcException
-
Returns the JSON-RPC error code.
- getCode() - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse.ErrorDetail
- 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-Rangeresponse header. - getContentType() - Method in exception class io.jooby.exception.NotAcceptableException
-
Content-Type or
null. - getContentType() - Method in exception class 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
-
Asset media type.
- getContext() - Method in interface io.jooby.ServerSentEmitter
-
Originating HTTP context.
- getContext() - Method in interface io.jooby.WebSocket
-
Originating HTTP context.
- getContextFactory() - Method in class io.jooby.output.ByteBufferedOutputFactory
- getContextFactory() - Method in interface io.jooby.output.OutputFactory
-
Special implementation when output factory is requested from
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).
- getCreationTime() - Method in interface io.jooby.Session
-
Session creation time.
- getData() - Method in exception class io.jooby.rpc.jsonrpc.JsonRpcException
-
Returns additional data regarding the error.
- getData() - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse.ErrorDetail
- 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-TypeandServerare enabled. - getDelegate() - Method in class io.jooby.ForwardingContext
-
Get the underlying context.
- getDescription() - Method in class io.jooby.Route
-
Route description useful for documentation purpose from openAPI generator.
- getDescription() - Method in class io.jooby.Route.Set
-
Route description useful for documentation purpose from openAPI generator.
- getDetail() - Method in class io.jooby.problem.HttpProblem.Error
-
Returns the human-readable explanation of this specific error.
- getDetail() - Method in exception class io.jooby.problem.HttpProblem
-
A human-readable explanation specific to this occurrence of the problem.
- 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.
- getError() - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse
- getErrorHandler() - Method in class io.jooby.Jooby
- getErrorHandler() - Method in interface io.jooby.Router
-
Get the error handler.
- getErrors() - Method in exception class io.jooby.problem.HttpProblem
-
List of errors.
- getErrors() - Method in class io.jooby.validation.ValidationResult
-
Offending errors.
- 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
-
List of exposed headers.
- getFile() - Method in class io.jooby.FileDownload
-
Get the underlying file or
null. - 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
-1if unknown. - getFileSize() - Method in interface io.jooby.FileUpload
-
File size or
-1when 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.
- getHandler() - Method in class io.jooby.Route
-
Route handler.
- getHeader(String) - Method in interface io.jooby.rpc.grpc.GrpcExchange
-
Retrieves the value of the specified HTTP request header.
- getHeaders() - Method in class io.jooby.handler.Cors
-
List of allowed headers.
- getHeaders() - Method in exception class io.jooby.problem.HttpProblem
-
Optional headers.
- getHeaders() - Method in interface io.jooby.rpc.grpc.GrpcExchange
-
Retrieves all HTTP request headers.
- 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 class io.jooby.rpc.jsonrpc.JsonRpcRequest
- getId() - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse
- 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
nullfor stateless (usually signed) sessions. - getInitializer() - Method in interface io.jooby.WebSocket.Handler
-
Web socket initializer.
- getInstance() - Method in exception class io.jooby.problem.HttpProblem
-
A URI that identifies the specific occurrence of the problem.
- getIoThreads() - Method in class io.jooby.ServerOptions
-
Number of IO threads used by the server.
- getJsonrpc() - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
- getJsonrpc() - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse
- getLastAccessedTime() - Method in interface io.jooby.Session
-
Session last accessed time.
- getLastEventId() - Method in interface io.jooby.ServerSentEmitter
-
Read the
Last-Event-IDheader and retrieve it. - getLastModified() - Method in interface io.jooby.handler.Asset
-
The last modified date if possible or -1 when isn't.
- 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
nullif none set. - getLocales() - Method in interface io.jooby.Router
-
Returns the supported locales.
- getLocation() - Method in class io.jooby.Route
-
Where the route was defined.
- 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
-
Preflight max age.
- getMaxFormFields() - Method in class io.jooby.ServerOptions
-
Max number of form fields.
- getMaxHeaderSize() - Method in class io.jooby.ServerOptions
-
The maximum size in bytes of an http request header.
- getMaxRequestSize() - Method in class io.jooby.ServerOptions
-
Maximum request size in bytes.
- getMessage() - Method in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Retrieves the standard JSON-RPC error message.
- getMessage() - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse.ErrorDetail
- getMethod() - Method in interface io.jooby.Context
-
HTTP method in upper-case form.
- getMethod() - Method in exception class io.jooby.exception.MethodNotAllowedException
-
Requested method.
- getMethod() - Method in class io.jooby.ForwardingContext
- getMethod() - Method in class io.jooby.Route
-
HTTP method.
- getMethod() - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
- getMethods() - Method in class io.jooby.handler.Cors
-
List of allowed methods.
- getMethods() - Method in interface io.jooby.rpc.jsonrpc.JsonRpcService
-
List all RPC method exposed by this service.
- 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 available when
jooby.mvcMethodprocessor option is set totrue. - getName() - Method in class io.jooby.Cookie
-
Cookie's name.
- getName() - Method in exception class io.jooby.exception.MissingValueException
-
Parameter/attribute name.
- getName() - Method in exception class 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
-
Get server name.
- getName() - Method in class io.jooby.ServiceKey
-
Resource name or
null. - getName() - Method in interface io.jooby.SslProvider
-
Provider name.
- getOptions() - Method in class io.jooby.output.ByteBufferedOutputFactory
- getOptions() - Method in interface io.jooby.output.OutputFactory
-
Configuration options.
- getOptions() - Method in class io.jooby.Server.Base
- getOptions() - Method in interface io.jooby.Server
-
Get server options.
- getOrDefault(String, String) - Method in class io.jooby.ForwardingContext.ForwardingBody
- getOrDefault(String, String) - Method in class io.jooby.ForwardingContext.ForwardingValue
- getOrDefault(String, String) - Method in interface io.jooby.value.Value
-
Get a value that matches the given name or fallback back to default value.
- 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(Reified<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve an existing service or
nullif not exists. - getOrNull(ServiceKey<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve an existing service or
nullif not exists. - getOrNull(Class<T>) - Method in interface io.jooby.ServiceRegistry
-
Retrieve an existing service or
nullif not exists. - getOutput() - Method in class io.jooby.ServerOptions
-
Output options.
- getOutputFactory() - Method in interface io.jooby.Context
-
Context output factory.
- getOutputFactory() - Method in interface io.jooby.DefaultContext
- getOutputFactory() - Method in class io.jooby.ForwardingContext
- getOutputFactory() - Method in class io.jooby.Jooby
- getOutputFactory() - Method in interface io.jooby.Router
-
Output factory.
- getOutputFactory() - Method in interface io.jooby.Server
-
Output buffer required for using native/server buffers.
- getParameter(String) - Method in class io.jooby.MediaType
-
Get a parameter that matches the given name or
null. - getParameterized(Type, Reified<?>) - Static method in class io.jooby.Reified
-
Gets type literal for the parameterized type represented by applying
typeArgumentstorawType. - getParameterized(Type, Type...) - Static method in class io.jooby.Reified
-
Gets type literal for the parameterized type represented by applying
typeArgumentstorawType. - getParameters() - Method in exception class io.jooby.problem.HttpProblem
-
Optional, additional attributes of the problem.
- getParams() - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
- 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.
- getPointer() - Method in class io.jooby.problem.HttpProblem.Error
-
Returns a reference that identifies the location where this error occurred.
- 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.
- getProcedure() - Method in exception class io.jooby.rpc.trpc.TrpcException
-
Gets the name of the tRPC procedure that threw this exception.
- getProduces() - Method in class io.jooby.Route
-
Response types (format) produces by this route.
- getProjection() - Method in class io.jooby.Projected
- 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
nullwhen 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
qparameter. - getRawType() - Method in class io.jooby.Reified
-
Returns the raw (non-generic) type for this type.
- getRawType() - Method in class io.jooby.ServiceKey
-
Raw type in case of parameterized 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-Lengthheader or-1when 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 class io.jooby.exception.NotFoundException
-
Requested path.
- getRequestPath() - Method in class io.jooby.ForwardingContext
- getRequestPath() - Method in interface io.jooby.rpc.grpc.GrpcExchange
-
Retrieves the requested URI path.
- getRequests() - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
-
Returns the underlying requests if this instance represents a batch.
- getRequestType() - Method in interface io.jooby.Context
-
Request
Content-Typeheader ornullwhen 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-Typeheader ornullwhen 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
Hostheader. - 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
Hostheader 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
-1when 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
- getResult() - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse
- getRetry() - Method in class io.jooby.ServerSentMessage
-
The reconnection time to use when attempting to send the event.
- 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 class io.jooby.Route.Set
-
Sub-routes.
- getRoutes() - Method in interface io.jooby.Router
-
Returns all routes.
- getRpcCode() - Method in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
Retrieves the JSON-RPC style integer code.
- 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
- getServerOptions() - Method in interface io.jooby.Router
-
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 class io.jooby.ForwardingContext.ForwardingBody
- getSize() - Method in interface io.jooby.handler.Asset
-
Asset size (in bytes) or
-1if undefined. - getSize() - Method in class io.jooby.output.OutputOptions
-
Default and initial buffer size.
- getSsl() - Method in class io.jooby.ServerOptions
-
SSL options.
- getSslContext() - Method in class io.jooby.SslOptions
-
Returns the custom SSL Context if set (default
null). - 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.
- getStatus() - Method in exception class io.jooby.problem.HttpProblem
-
The HTTP status code generated by the origin server for this occurrence of the problem.
- getStatus() - Method in class io.jooby.validation.ValidationResult
-
Result status code.
- getStatusCode() - Method in interface io.jooby.ByteRange
-
For partial requests this method returns
StatusCode.PARTIAL_CONTENT. - getStatusCode() - Method in exception class io.jooby.exception.StatusCodeException
-
Status code.
- getStatusCode() - Method in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Retrieves the corresponding HTTP status code.
- getStatusCode() - Method in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
Retrieves the corresponding HTTP status code.
- getStatusCode() - Method in exception class io.jooby.rpc.trpc.TrpcException
-
Gets the HTTP status code associated with this error.
- 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.Route.Set
-
Route summary useful for documentation purpose from openAPI generator.
- getTags() - Method in class io.jooby.Route
-
Route tags.
- getTags() - Method in class io.jooby.Route.Set
-
Route tags.
- getTimestamp() - Method in exception class io.jooby.problem.HttpProblem
-
A problem occurrence timestamp in ISO-8601 representation.
- getTitle() - Method in exception class io.jooby.problem.HttpProblem
-
A short, human-readable summary of the problem type.
- getTitle() - Method in class io.jooby.validation.ValidationResult
-
Result title.
- 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 exception class io.jooby.problem.HttpProblem
-
A URI reference that identifies the problem type.
- getType() - Method in class io.jooby.Projection
- getType() - Method in class io.jooby.Reified
-
Gets underlying
Typeinstance. - 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-Credentialsheader. - getUser() - Method in interface io.jooby.Context
-
Current user or
nullif 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 class io.jooby.Projected
- getValue() - Method in enum class io.jooby.SameSite
-
Returns the parameter value used in
Set-Cookie. - getValueFactory() - Method in interface io.jooby.Context
-
Value factory.
- getValueFactory() - Method in interface io.jooby.DefaultContext
- getValueFactory() - Method in class io.jooby.ForwardingContext
- getValueFactory() - Method in class io.jooby.Jooby
- getValueFactory() - Method in interface io.jooby.Router
-
Value factory.
- 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.
- GLOBAL - Enum constant in enum class io.jooby.validation.ValidationResult.ErrorType
-
Error isn't on specific field.
- 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.
- GrpcExchange - Interface in io.jooby.rpc.grpc
-
Server-agnostic abstraction for a native HTTP/2 gRPC exchange.
- GrpcProcessor - Interface in io.jooby.rpc.grpc
-
Core Service Provider Interface (SPI) for the gRPC extension.
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.
- hasErrors() - Method in exception class io.jooby.problem.HttpProblem
-
True if there is at least one error.
- hash(ValueFactory, Map<String, Collection<String>>) - Static method in interface io.jooby.value.Value
-
Create a hash/object value using the map values.
- hashCode() - Method in class io.jooby.MediaType
- hashCode() - Method in class io.jooby.Projection
- hashCode() - Method in class io.jooby.Reified
- hashCode() - Method in record class io.jooby.Route.Location
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jooby.Route.MvcMethod
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.jooby.rpc.trpc.TrpcResponse
-
Returns a hash code value for this object.
- hashCode() - Method in class io.jooby.ServiceKey
- hashCode() - Method in class io.jooby.StatusCode
- hashCode() - Method in record class io.jooby.validation.ValidationResult.Error
-
Returns a hash code value for this object.
- hasParameters() - Method in exception class io.jooby.problem.HttpProblem
-
True if there is at least one parameter.
- 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
Value. - header() - Method in class io.jooby.ForwardingContext
- header() - Method in class io.jooby.validation.ValidationContext
- 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(String, Object) - Method in class io.jooby.problem.HttpProblem.Builder
-
Set a header value.
- header(String, String) - Method in interface io.jooby.Context
-
Get a header that matches the given name.
- header(String, String) - Method in interface io.jooby.DefaultContext
- header(String, String) - Method in class io.jooby.ForwardingContext
- 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(ValueFactory, Map<String, Collection<String>>) - Static method in interface io.jooby.value.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
-
Default constructor.
- hint(ConversionHint) - Method in class io.jooby.value.ValueFactory
-
Set default conversion hint to use.
- 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
Stringinput. - 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. - HttpProblem - Exception Class in io.jooby.problem
- HttpProblem.Builder - Class in io.jooby.problem
-
Problem builder.
- HttpProblem.Error - Class in io.jooby.problem
-
Represents an individual error within an HTTP Problem response.
- HttpProblemMappable - Interface in io.jooby.problem
-
Implementing
HttpProblemMappableallows to control the transformation of exception intoHttpProblem.
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.
- ignoreCase(boolean) - Method in class io.jooby.RouterOptions
-
Indicates whenever routing algorithm does case-sensitive matching on an incoming request path.
- ignoreTrailingSlash(boolean) - Method in class io.jooby.RouterOptions
-
Set whenever a trailing slash is ignored on an 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.
- include(String...) - Method in class io.jooby.Projected
- include(String...) - Method in class io.jooby.Projection
-
Includes fields via string notation.
- 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.
- init(Jooby) - Method in interface io.jooby.Server
-
Called once during application startup time.
- 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(Jooby) - Method in class io.jooby.rpc.jsonrpc.JsonRpcModule
-
Installs the JSON-RPC handler at the default
/rpcendpoint. - install(Jooby) - Method in class io.jooby.rpc.trpc.TrpcModule
-
Installs the tRPC extension into the Jooby application.
- 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.
- install(String, Predicate<Context>, SneakyThrows.Supplier<Jooby>) - Method in class io.jooby.Jooby
-
Installs/imports a full application into this one.
- install(Predicate<Context>, SneakyThrows.Supplier<Jooby>) - Method in class io.jooby.Jooby
-
Installs/imports a full application into this one.
- instance(URI) - Method in class io.jooby.problem.HttpProblem.Builder
-
Set instance URI.
- Instant - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to Instant.
- 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. - Int - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to int/Integer.
- INTERNAL_ERROR - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Internal JSON-RPC error.
- INTERNAL_SERVER_ERROR - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
Internal server error.
- internalServerError() - Static method in exception class io.jooby.problem.HttpProblem
-
Creates an HttpProblem with SERVER_ERROR status (500) using predefined title and detail.
- intValue() - Method in class io.jooby.ForwardingContext.ForwardingBody
- intValue() - Method in class io.jooby.ForwardingContext.ForwardingValue
- intValue() - Method in interface io.jooby.value.Value
-
Convert this value to int (if possible).
- intValue(int) - Method in class io.jooby.ForwardingContext.ForwardingBody
- intValue(int) - Method in class io.jooby.ForwardingContext.ForwardingValue
- intValue(int) - Method in interface io.jooby.value.Value
-
Convert this value to int (if possible) or fallback to given value when missing.
- INVALID_PARAMS - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Invalid method parameter(s).
- INVALID_REQUEST - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
The JSON sent is not a valid Request object.
- InvalidCsrfToken - Exception Class in io.jooby.exception
-
Generate by CSRF handler.
- InvalidCsrfToken(String) - Constructor for exception class io.jooby.exception.InvalidCsrfToken
-
Creates a new exception.
- IO_THREADS - Static variable in class io.jooby.ServerOptions
-
Number of available io threads.
- io.jooby - module io.jooby
-
Jooby module.
- io.jooby - package io.jooby
-
Welcome to Jooby!
- io.jooby.annotation - package io.jooby.annotation
-
Supported annotations for creating MVC routes.
- io.jooby.exception - package io.jooby.exception
-
Built-in exceptions for common HTTP error codes.
- io.jooby.handler - package io.jooby.handler
-
Built-in middleware.
- io.jooby.output - package io.jooby.output
-
Output used to support multiple implementations like byte array, byte buffer, netty buffers.
- io.jooby.problem - package io.jooby.problem
- io.jooby.rpc.grpc - package io.jooby.rpc.grpc
- io.jooby.rpc.jsonrpc - package io.jooby.rpc.jsonrpc
- io.jooby.rpc.trpc - package io.jooby.rpc.trpc
- io.jooby.validation - package io.jooby.validation
- io.jooby.value - package io.jooby.value
- 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 class io.jooby.ForwardingContext.ForwardingBody
- isArray() - Method in class io.jooby.ForwardingContext.ForwardingValue
- isArray() - Method in interface io.jooby.value.Value
-
True if this value is an array/sequence (not single or hash).
- isBatch() - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
-
Identifies if this request object is acting as a container for a JSON-RPC batch array.
- isBinary(Path) - Static method in interface io.jooby.LoggingService
-
True when path contains one of:
target, build, bindirectories. - isContextAsService() - Method in class io.jooby.RouterOptions
-
If enabled, allows to retrieve the
Contextobject associated with the current request via the service registry while the request is being processed. - isDirectBuffers() - Method in class io.jooby.output.OutputOptions
-
True when using direct buffers.
- isDirectory() - Method in interface io.jooby.handler.Asset
-
True if the asset is a directory (when possible).
- 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.
- isFailOnDuplicateRoutes() - Method in class io.jooby.RouterOptions
-
Detect or prevent duplicate route registrations.
- isFatal(Throwable) - Static method in class io.jooby.SneakyThrows
-
True if the given exception is one of
InterruptedException,LinkageError,ThreadDeath,VirtualMachineError. - isGrpcMethod(String) - Method in interface io.jooby.rpc.grpc.GrpcProcessor
-
Checks if the given URI path exactly matches a registered gRPC method.
- 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.
- isIgnoreCase() - Method in class io.jooby.RouterOptions
-
Indicates whenever routing algorithm does case-sensitive matching on an incoming request path.
- isIgnoreTrailingSlash() - Method in class io.jooby.RouterOptions
-
Indicates whenever a trailing slash is ignored on an incoming request path.
- isInIoThread() - Method in interface io.jooby.Context
-
True when request runs in IO threads.
- isInIoThread() - Method in class io.jooby.ForwardingContext
- isInMemory() - Method in interface io.jooby.Body
-
True if body is on memory.
- isInMemory() - Method in class io.jooby.ForwardingContext.ForwardingBody
- 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-Sinceheader is enabled. - isMissing() - Method in class io.jooby.ForwardingContext.ForwardingBody
- isMissing() - Method in class io.jooby.ForwardingContext.ForwardingValue
- isMissing() - Method in interface io.jooby.value.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. - isNormalizeSlash() - Method in class io.jooby.RouterOptions
-
Normalize an incoming request path by removing multiple slash sequences.
- isObject() - Method in class io.jooby.ForwardingContext.ForwardingBody
- isObject() - Method in class io.jooby.ForwardingContext.ForwardingValue
- isObject() - Method in interface io.jooby.value.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 class io.jooby.ForwardingContext.ForwardingBody
- isPresent() - Method in class io.jooby.ForwardingContext.ForwardingValue
- isPresent() - Method in interface io.jooby.value.Value
-
True for present values.
- isProtocol() - Method in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Indicates if this error is a core JSON-RPC 2.0 protocol error.
- isResetHeadersOnError() - Method in class io.jooby.RouterOptions
-
Indicates whenever response headers are clear/reset in case of exception.
- 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 class io.jooby.ForwardingContext.ForwardingBody
- isSingle() - Method in class io.jooby.ForwardingContext.ForwardingValue
- isSingle() - Method in interface io.jooby.value.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
-
True when router started.
- isStopped() - Method in class io.jooby.Jooby
- isStopped() - Method in interface io.jooby.Router
-
True when router stopped.
- 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
defaultValueif this route has not been marked explicitly. - isTrustProxy() - Method in class io.jooby.RouterOptions
-
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.Body
- iterator() - Method in class io.jooby.ForwardingContext.ForwardingBody
- iterator() - Method in class io.jooby.ForwardingContext.ForwardingValue
- iterator() - Method in class io.jooby.output.ByteBufferedOutput
- iterator() - Method in interface io.jooby.output.Output
-
An iterator over read-only byte buffers.
- iterator() - Method in class io.jooby.Route.Set
- iterator() - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
- iterator() - Method in interface io.jooby.value.Value
-
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_JAVASCRIPT.
- 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
Stringinput. - JSON - Enum constant in enum class io.jooby.OpenAPIModule.Format
-
JSON.
- JSON - Static variable in class io.jooby.MediaType
-
APPLICATION_JSON.
- jsonRpc(JsonRpcService) - Method in class io.jooby.Jooby
-
Mounts and registers a JSON-RPC service at the default path
"/rpc". - jsonRpc(String, JsonRpcService) - Method in class io.jooby.Jooby
-
Mounts and registers a JSON-RPC service at the specified custom path.
- JsonRpc - Annotation Interface in io.jooby.annotation
-
Marks a class or its methods as a JSON-RPC 2.0 endpoint.
- JsonRpcDecoder<T> - Interface in io.jooby.rpc.jsonrpc
-
A pre-resolved decoder used at runtime to deserialize JSON-RPC parameter nodes into complex Java objects.
- JsonRpcErrorCode - Enum Class in io.jooby.rpc.jsonrpc
-
Standard JSON-RPC 2.0 Error Codes mapped to HTTP status codes.
- JsonRpcException - Exception Class in io.jooby.rpc.jsonrpc
-
Exception thrown when a JSON-RPC error occurs during routing, parsing, or execution.
- JsonRpcException(JsonRpcErrorCode, String) - Constructor for exception class io.jooby.rpc.jsonrpc.JsonRpcException
-
Constructs a new JSON-RPC exception.
- JsonRpcException(JsonRpcErrorCode, String, Object) - Constructor for exception class io.jooby.rpc.jsonrpc.JsonRpcException
-
Constructs a new JSON-RPC exception with additional error data.
- JsonRpcException(JsonRpcErrorCode, String, Throwable) - Constructor for exception class io.jooby.rpc.jsonrpc.JsonRpcException
-
Constructs a new JSON-RPC exception.
- JsonRpcModule - Class in io.jooby.rpc.jsonrpc
-
Global Tier 1 Dispatcher for JSON-RPC 2.0 requests. *
- JsonRpcModule(String) - Constructor for class io.jooby.rpc.jsonrpc.JsonRpcModule
- JsonRpcParser - Interface in io.jooby.rpc.jsonrpc
-
The core JSON parsing SPI (Service Provider Interface) for JSON-RPC.
- JsonRpcReader - Interface in io.jooby.rpc.jsonrpc
-
A stateful reader used at runtime to extract arguments from JSON-RPC parameters.
- JsonRpcRequest - Class in io.jooby.rpc.jsonrpc
-
Represents a JSON-RPC 2.0 Request object, and simultaneously acts as an iterable container for batch requests.
- JsonRpcRequest() - Constructor for class io.jooby.rpc.jsonrpc.JsonRpcRequest
- JsonRpcResponse - Class in io.jooby.rpc.jsonrpc
-
Represents a JSON-RPC 2.0 Response object.
- JsonRpcResponse() - Constructor for class io.jooby.rpc.jsonrpc.JsonRpcResponse
- JsonRpcResponse.ErrorDetail - Class in io.jooby.rpc.jsonrpc
-
Represents the error object inside a JSON-RPC response.
- JsonRpcService - Interface in io.jooby.rpc.jsonrpc
-
Interface for generated JSON-RPC service glue code (*Rpc classes).
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(Reified<T>) - Static method in class io.jooby.ServiceKey
-
Creates a resource key.
- key(Reified<T>, String) - Static method in class io.jooby.ServiceKey
-
Creates a named resource key.
- 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-IDheader and retrieve it. - lateinit() - Method in interface io.jooby.Extension
-
True when extension needs to run while starting the application.
- latency - Search tag in class io.jooby.handler.AccessLogHandler
- Section
- 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. - line() - Method in record class io.jooby.Route.Location
-
Returns the value of the
linerecord component. - list(Reified<T>) - Static method in class io.jooby.Reified
-
Creates a
Listtype literal. - list(Type) - Static method in class io.jooby.Reified
-
Creates a
Listtype literal. - listOf(Reified<T>) - Method in interface io.jooby.ServiceRegistry
-
List binder.
- listOf(Class<T>) - Method in interface io.jooby.ServiceRegistry
-
List binder.
- 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).
- loadServer() - Static method in interface io.jooby.Server
-
Load server from classpath using
ServiceLoader. - loadServer(ServerOptions) - Static method in interface io.jooby.Server
-
Load server from classpath using
ServiceLoader. - LocalDate - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to LocalDate.
- LocalDateTime - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to LocalDateTime.
- 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.langconfiguration 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.
- Location(String, int) - Constructor for record class io.jooby.Route.Location
-
Creates an instance of a
Locationrecord class. - 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 application summary.
- 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.
- log4xxErrors() - Method in class io.jooby.problem.ProblemDetailsHandler
-
Enabled logging of 4xx errors.
- 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.
- Long - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to long/Long.
- longValue() - Method in class io.jooby.ForwardingContext.ForwardingBody
- longValue() - Method in class io.jooby.ForwardingContext.ForwardingValue
- longValue() - Method in interface io.jooby.value.Value
-
Convert this value to long (if possible).
- longValue(long) - Method in class io.jooby.ForwardingContext.ForwardingBody
- longValue(long) - Method in class io.jooby.ForwardingContext.ForwardingValue
- longValue(long) - Method in interface io.jooby.value.Value
-
Convert this value to long (if possible) or fallback to given value when missing.
- lookup() - Method in interface io.jooby.Context
-
Returns a
ParamLookupinstance which is a fluent interface covering the functionality of theContext.lookup(String, ParamSource...)method. - lookup() - Method in interface io.jooby.DefaultContext
-
Returns a
ParamLookupinstance which is a fluent interface covering the functionality of theDefaultContext.lookup(String, ParamSource...)method. - lookup() - Method in class io.jooby.ForwardingContext
- lookup(MethodHandles.Lookup) - Method in class io.jooby.value.ValueFactory
-
Set lookup to use.
- lookup(String) - Method in interface io.jooby.Context
-
Searches for a parameter in the following order:
ParamSource.PATH,ParamSource.QUERY,ParamSource.FORMreturning the first non-missingValue, or a 'missing'Valueif none found. - lookup(String, ParamSource...) - Method in interface io.jooby.Context
- lookup(String, ParamSource...) - Method in interface io.jooby.DefaultContext
- lookup(String, ParamSource...) - Method in class io.jooby.ForwardingContext
- 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(Reified<K>, Reified<V>) - Static method in class io.jooby.Reified
-
Creates an
Maptype literal. - map(Type, Type) - Static method in class io.jooby.Reified
-
Creates an
Maptype literal. - map(String) - Static method in class io.jooby.ModelAndView
-
Creates a model and view backed by a map.
- map(String, Map<String, Object>) - Static method in class io.jooby.ModelAndView
-
Creates a model and view backed by a map.
- MapModelAndView - Class in io.jooby
-
A
ModelAndViewwhich uses a map as model. - MapModelAndView(String) - Constructor for class io.jooby.MapModelAndView
-
Creates a new model and view.
- MapModelAndView(String, Map<String, Object>) - Constructor for class io.jooby.MapModelAndView
-
Creates a new model and view.
- mapOf(Class<K>, Reified<V>) - Method in interface io.jooby.ServiceRegistry
-
Map binder.
- mapOf(Class<K>, Class<V>) - Method in interface io.jooby.ServiceRegistry
-
Map binder.
- 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(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(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. - Session expires after 30 minutes of inactivity. - Session data is not keep after restart.
- memory(SessionToken, Duration) - Static method in interface io.jooby.SessionStore
-
Creates a session store that save 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 a byte array.
- messages() - Method in record class io.jooby.validation.ValidationResult.Error
-
Returns the value of the
messagesrecord component. - METHOD_NOT_ALLOWED - Static variable in class io.jooby.Route
-
Handler for
StatusCode.METHOD_NOT_ALLOWEDresponses. - 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. - METHOD_NOT_FOUND - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
The method does not exist / is not available.
- METHOD_NOT_SUPPORTED - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
The HTTP method used is not supported by the procedure (e.g., GET on a mutation).
- MethodNotAllowedException - Exception Class in io.jooby.exception
-
Whether a HTTP method isn't supported.
- MethodNotAllowedException(String, List<String>) - Constructor for exception class io.jooby.exception.MethodNotAllowedException
-
Creates a new method not allowed exception.
- METHODS - Static variable in interface io.jooby.Router
-
HTTP Methods.
- missing(ValueFactory, String) - Static method in interface io.jooby.value.Value
-
Creates a missing value.
- MissingValueException - Exception Class in io.jooby.exception
-
Missing exception.
- MissingValueException(String) - Constructor for exception class io.jooby.exception.MissingValueException
-
Creates a missing exception.
- ModelAndView<T> - Class in io.jooby
-
Used by template engines to renderer views.
- ModelAndView(String, T) - Constructor for class io.jooby.ModelAndView
-
Creates a new model and view.
- ModelAndView.UnsupportedModelAndView - Exception Class in io.jooby
-
Thrown by template engine when they are not capable of rendering a
ModelAndView. - 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(Extension) - Method in class io.jooby.Jooby
-
Add controller routes.
- mvcMethod(Route.MvcMethod) - Method in class io.jooby.Route
-
Set mvc/controller method.
- MvcMethod(Class<?>, String, Class<?>, Class<?>...) - Constructor for record class io.jooby.Route.MvcMethod
-
Creates an instance of a
MvcMethodrecord class.
N
- name() - Element in annotation interface io.jooby.annotation.ContextParam
-
Attribute's name.
- name() - Element in annotation interface io.jooby.annotation.CookieParam
-
Parameter name.
- name() - Element in annotation interface io.jooby.annotation.FlashParam
-
Parameter name.
- name() - Element in annotation interface io.jooby.annotation.FormParam
-
Parameter name.
- name() - Element in annotation interface io.jooby.annotation.HeaderParam
-
Parameter name.
- name() - Element in annotation interface io.jooby.annotation.Param
-
Parameter name.
- name() - Element in annotation interface io.jooby.annotation.PathParam
-
Parameter name.
- name() - Element in annotation interface io.jooby.annotation.QueryParam
-
Parameter name.
- name() - Element in annotation interface io.jooby.annotation.SessionParam
-
Session attribute's name.
- name() - Method in class io.jooby.ForwardingContext.ForwardingBody
- name() - Method in class io.jooby.ForwardingContext.ForwardingValue
- name() - Method in record class io.jooby.Route.MvcMethod
-
Returns the value of the
namerecord component. - name() - Method in interface io.jooby.value.Value
-
Name of this value or
empty stringfor root hash. - NAME - Static variable in interface io.jooby.FlashMap
-
Flash map attribute.
- NAME - Static variable in interface io.jooby.Session
-
Attribute's name.
- Naming & Routing Rules: - Search tag in annotation interface io.jooby.annotation.JsonRpc
- Section
- 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. - newComposite() - Method in class io.jooby.output.ByteBufferedOutputFactory
- newComposite() - Method in interface io.jooby.output.OutputFactory
-
A virtual buffer which shows multiple buffers as a single merged buffer.
- 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.
- nextBoolean(String) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcReader
-
Reads the next parameter as a primitive boolean.
- nextBoolean(String) - Method in interface io.jooby.rpc.trpc.TrpcReader
-
Reads the next token in the stream as a primitive boolean.
- nextDouble(String) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcReader
-
Reads the next parameter as a primitive 64-bit floating-point number.
- nextDouble(String) - Method in interface io.jooby.rpc.trpc.TrpcReader
-
Reads the next token in the stream as a primitive 64-bit floating-point number.
- nextInt(String) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcReader
-
Reads the next parameter as a primitive 32-bit integer.
- nextInt(String) - Method in interface io.jooby.rpc.trpc.TrpcReader
-
Reads the next token in the stream as a primitive 32-bit integer.
- nextIsNull(String) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcReader
-
Evaluates the next parameter to determine if it is a literal
nullor missing. - nextIsNull(String) - Method in interface io.jooby.rpc.trpc.TrpcReader
-
Peeks at the next token in the JSON stream to determine if it is a literal
null. - nextLong(String) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcReader
-
Reads the next parameter as a primitive 64-bit integer.
- nextLong(String) - Method in interface io.jooby.rpc.trpc.TrpcReader
-
Reads the next token in the stream as a primitive 64-bit integer.
- nextObject(String, JsonRpcDecoder<T>) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcReader
-
Reads the next parameter (which may be a complex JSON object or array) and deserializes it using a pre-resolved type decoder.
- nextObject(String, TrpcDecoder<T>) - Method in interface io.jooby.rpc.trpc.TrpcReader
-
Reads the next token (which may be a complex JSON object or array) and deserializes it using a pre-resolved type decoder.
- nextString(String) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcReader
-
Reads the next parameter as a String.
- nextString(String) - Method in interface io.jooby.rpc.trpc.TrpcReader
-
Reads the next token in the stream as a String.
- NO_CACHE - Static variable in class io.jooby.handler.CacheControl
-
Constant for the max-age parameter, when set, the
Cache-Controlheader 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
-
NOOP callback.
- NORMAL - Static variable in class io.jooby.WebSocketCloseStatus
-
1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
- NORMAL_CODE - Static variable in class io.jooby.WebSocketCloseStatus
-
1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled.
- normalizePath(String) - Static method in interface io.jooby.Router
-
Normalize a path by removing consecutive
/(slashes). - normalizePath(String) - Static method in interface io.jooby.TemplateEngine
-
Normalize a template path by removing the leading `/` when present.
- normalizeSlash(boolean) - Method in class io.jooby.RouterOptions
-
Set whenever normalize an incoming request path by removing multiple slash sequences.
- noSession() - Static method in exception class io.jooby.Usage
-
Occurs when trying to access a session which was not configured.
- 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 - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
The requested resource or tRPC procedure was not found.
- NOT_FOUND - Static variable in class io.jooby.Route
-
Handler for
StatusCode.NOT_FOUNDresponses. - 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_FOUND_ERROR - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
The requested resource or procedure was not found (Business Logic).
- 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 Class in io.jooby.exception
-
Whether the accept header isn't acceptable.
- NotAcceptableException(String) - Constructor for exception class io.jooby.exception.NotAcceptableException
-
Creates a new exception.
- notFound(SneakyThrows.Consumer<Context>) - Method in class io.jooby.handler.AssetHandler
-
Sets a custom handler for
404asset/resource. - notFound(String) - Static method in exception class io.jooby.problem.HttpProblem
-
Creates an HttpProblem with NOT_FOUND status (404) using the default title.
- notFound(String, String) - Static method in exception class io.jooby.problem.HttpProblem
-
Creates an HttpProblem with NOT_FOUND status (404) and custom title and detail.
- NotFoundException - Exception Class in io.jooby.exception
-
When a request doesn't match any of the available routes.
- NotFoundException(String) - Constructor for exception class io.jooby.exception.NotFoundException
-
Creates a not found exception.
- noTrailingSlash(String) - Static method in interface io.jooby.Router
-
Strip trailing slashes.
- Nullable - Enum constant in enum class io.jooby.value.ConversionHint
-
If no value matches the output type property or constructor argument, this produces a
nulloutput.
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(StatusCode) - Static method in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Resolves the closest JSON-RPC error code for a given Jooby HTTP status code.
- of(StatusCode) - Static method in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
Resolves the closest tRPC error code for a given Jooby HTTP status code.
- of(Class<T>) - Static method in class io.jooby.Projection
-
Creates a new Projection for the given type.
- of(String) - Static method in enum class io.jooby.SameSite
-
Returns an instance of this class based on value it uses in
Set-Cookie. - of(T) - Static method in record class io.jooby.rpc.trpc.TrpcResponse
-
Wraps a non-null payload into a compliant tRPC success envelope.
- 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
onClosecallback. - 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
writeoperation. - 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
onConnectcallback. - onError(WebSocket.OnError) - Method in interface io.jooby.WebSocketConfigurer
-
Register an
onErrorcallback. - 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
onMessagecallback. - 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(Reified<T>) - Static method in class io.jooby.Reified
-
Creates an
Optionaltype literal. - optional(Type) - Static method in class io.jooby.Reified
-
Creates an
Optionaltype 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.
- Output - Interface in io.jooby.output
-
Output used to support multiple implementations like byte array, byte buffer, netty buffers.
- OutputFactory - Interface in io.jooby.output
-
Factory class for
Output. - OutputOptions - Class in io.jooby.output
-
Configuration options for output buffers.
- OutputOptions() - Constructor for class io.jooby.output.OutputOptions
-
Creates a default 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(String, Object) - Method in class io.jooby.problem.HttpProblem.Builder
-
Set a custom parameter.
- 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 class io.jooby.Usage
-
Thrown when the reflective bean converter has no access to a parameter name.
- parameterTypes() - Method in record class io.jooby.Route.MvcMethod
-
Returns the value of the
parameterTypesrecord component. - 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.
- PARSE_ERROR - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Invalid JSON was received by the server.
- PARSE_ERROR - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
The server received invalid JSON.
- 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 aValueobject. - 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() - Method in class io.jooby.validation.ValidationContext
- 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.
- Path Patterns - Search tag in annotation interface io.jooby.annotation.Path
- Section
- PAYLOAD_TOO_LARGE - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
The incoming request payload exceeds the allowed limits.
- 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. - Performance - Search tag in class io.jooby.Projection
- Section
- Period - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to Period.
- 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.
- Polymorphism and Validation - Search tag in class io.jooby.Projection
- Section
- 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 - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
The client's preconditions were not met.
- PRECONDITION_FAILED - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
The client's preconditions were not met.
- 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. - PROBLEM_JSON - Static variable in class io.jooby.MediaType
-
APPLICATION_PROBLEM_JSON.
- PROBLEM_XML - Static variable in class io.jooby.MediaType
-
APPLICATION_PROBLEM_XML.
- ProblemDetailsHandler - Class in io.jooby.problem
-
Global error handler that catches all exceptions, transforms them into RFC7807 compliant format and renders the response based on the `Accept` header value.
- ProblemDetailsHandler() - Constructor for class io.jooby.problem.ProblemDetailsHandler
-
Default constructor.
- problemDetailsIsEnabled() - Method in class io.jooby.Jooby
-
Check if
ProblemDetailsHandleris enabled as a global error handler - process(GrpcExchange) - Method in interface io.jooby.rpc.grpc.GrpcProcessor
-
Initiates the reactive gRPC pipeline for an incoming HTTP/2 request.
- 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.Route.Set
-
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.
- Project - Annotation Interface in io.jooby.annotation
-
Declarative JSON projection for route handlers.
- Projected<T> - Class in io.jooby
-
A wrapper for a value and its associated
Projection. - projection() - Element in annotation interface io.jooby.annotation.DELETE
-
Field paths to include.
- projection() - Element in annotation interface io.jooby.annotation.GET
-
Field paths to include.
- projection() - Element in annotation interface io.jooby.annotation.PATCH
-
Field paths to include.
- projection() - Element in annotation interface io.jooby.annotation.POST
-
Field paths to include.
- projection() - Element in annotation interface io.jooby.annotation.PUT
-
Field paths to include.
- Projection<T> - Class in io.jooby
-
Hierarchical schema for JSON field selection.
- 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 Class in io.jooby.exception
-
Provisioning exception, throws by MVC routes when parameter binding fails.
- ProvisioningException(Parameter, Throwable) - Constructor for exception class io.jooby.exception.ProvisioningException
-
Creates a provisioning exception.
- ProvisioningException(String, Throwable) - Constructor for exception class 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(Type, Converter) - Method in class io.jooby.value.ValueFactory
-
Set a custom converter for type.
- 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, FileUpload) - Method in class io.jooby.ForwardingContext.ForwardingFormdata
- put(String, Route.Handler) - Method in interface io.jooby.Router
-
Add a HTTP PUT handler.
- put(String, Value) - Method in interface io.jooby.Formdata
-
Add a form field.
- put(String, Value) - Method in class io.jooby.ForwardingContext.ForwardingFormdata
- 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.MapModelAndView
-
Put a model attribute.
- put(String, String) - Method in interface io.jooby.Formdata
-
Add a form field.
- put(String, String) - Method in class io.jooby.ForwardingContext.ForwardingFormdata
- 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(String, Collection<String>) - Method in class io.jooby.ForwardingContext.ForwardingFormdata
- put(Map<String, Object>) - Method in class io.jooby.MapModelAndView
-
Copy all the attributes into the model.
- put(K, Provider<V>) - Method in class io.jooby.ServiceRegistry.MapBinder
-
Put a service into a map.
- put(K, V) - Method in class io.jooby.ServiceRegistry.MapBinder
-
Put a service into a map.
- PUT - Annotation Interface in io.jooby.annotation
-
HTTP PUT verb for mvc routes.
- PUT - Static variable in interface io.jooby.Router
-
HTTP PUT.
- putIfAbsent(Reified<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
-
If the specified key is not already associated with a service (or is mapped to null) associates it with the given value and returns null, else returns the current value.
- putIfAbsent(Reified<T>, T) - Method in interface io.jooby.ServiceRegistry
-
If the specified key is not already associated with a service (or is mapped to null) associates it with the given value and returns null, else returns the current value.
- putIfAbsent(ServiceKey<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
-
If the specified key is not already associated with a service (or is mapped to null) associates it with the given value and returns null, else returns the current value.
- putIfAbsent(ServiceKey<T>, T) - Method in interface io.jooby.ServiceRegistry
-
If the specified key is not already associated with a service (or is mapped to null) associates it with the given value and returns null, else returns the current value.
- putIfAbsent(Class<T>, Provider<T>) - Method in interface io.jooby.ServiceRegistry
-
If the specified key is not already associated with a service (or is mapped to null) associates it with the given value and returns null, else returns the current value.
- putIfAbsent(Class<T>, T) - Method in interface io.jooby.ServiceRegistry
-
If the specified key is not already associated with a service (or is mapped to null) associates it with the given value and returns null, else returns the current value.
Q
- query() - Method in interface io.jooby.Context
-
Query string as
Valueobject. - query() - Method in class io.jooby.ForwardingContext
- query() - Method in class io.jooby.validation.ValidationContext
- 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(Class<T>) - Method in class io.jooby.validation.ValidationContext
- 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(String, String) - Method in interface io.jooby.Context
-
Get a query parameter that matches the given name.
- query(String, String) - Method in interface io.jooby.DefaultContext
- query(String, 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
? - queryString() - Method in interface io.jooby.DefaultContext
- queryString() - Method in class io.jooby.ForwardingContext.ForwardingQueryString
- queryString() - Method in class io.jooby.ForwardingContext
- queryString() - Method in interface io.jooby.QueryString
-
Query string with the leading
? - 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
CompletionStageandFlow.Publisher. - reader(byte[], boolean) - Method in interface io.jooby.rpc.trpc.TrpcParser
-
Creates a stateful, sequential reader for extracting tRPC arguments from a raw byte payload.
- reader(Object) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcParser
-
Creates a stateful reader for extracting JSON-RPC arguments from the request parameters.
- reader(String, boolean) - Method in interface io.jooby.rpc.trpc.TrpcParser
-
Creates a stateful, sequential reader for extracting tRPC arguments from a string payload.
- 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
-
Return the reason phrase of this status code.
- redoc(String) - Method in class io.jooby.OpenAPIModule
-
Customize the redoc-ui path.
- ReflectiveBeanConverter - Class in io.jooby.value
-
Creates an object from
Value. - ReflectiveBeanConverter(ValueFactory, MethodHandles.Lookup) - Constructor for class io.jooby.value.ReflectiveBeanConverter
-
Creates a new instance using a lookup.
- register(ValueFactory) - Static method in enum class io.jooby.value.StandardConverter
-
Add all the standard converter to a ValueFactory.
- 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 Class in io.jooby.exception
-
Thrown when a required service is not available.
- RegistryException(String) - Constructor for exception class io.jooby.exception.RegistryException
-
Constructor.
- RegistryException(String, Throwable) - Constructor for exception class 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_LARGEresponses. - 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. - request and response headers - Search tag in class io.jooby.handler.AccessLogHandler
- Section
- 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(Reified<T>) - Method in interface io.jooby.DefaultContext
- require(Reified<T>) - Method in class io.jooby.ForwardingContext
- require(Reified<T>) - Method in class io.jooby.Jooby
- require(Reified<T>) - Method in interface io.jooby.Registry
-
Provides an instance of the given type.
- require(Reified<T>) - Method in interface io.jooby.ServiceRegistry
- require(Reified<T>, String) - Method in interface io.jooby.DefaultContext
- require(Reified<T>, String) - Method in class io.jooby.ForwardingContext
- require(Reified<T>, String) - Method in class io.jooby.Jooby
- require(Reified<T>, String) - Method in interface io.jooby.Registry
-
Provides an instance of the given type where name matches it.
- require(Reified<T>, String) - Method in interface io.jooby.ServiceRegistry
- 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.
- requireNext(String) - Method in interface io.jooby.rpc.jsonrpc.JsonRpcReader
-
Asserts that the next parameter is not null.
- requireNext(String) - Method in interface io.jooby.rpc.trpc.TrpcReader
-
Asserts that the next token in the sequence is not null.
- requireNonNull(String, T) - Static method in exception class io.jooby.exception.MissingValueException
-
Check if the given value is null and throw a
MissingValueExceptionexception. - 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. - resetHeaderOnError(boolean) - Method in class io.jooby.RouterOptions
-
Set whenever response headers are clear/reset in case of exception.
- resolve(String) - Method in class io.jooby.ForwardingContext.ForwardingBody
- resolve(String) - Method in class io.jooby.ForwardingContext.ForwardingValue
- resolve(String) - Method in interface io.jooby.handler.AssetSource
-
Resolve an asset using the given path.
- resolve(String) - Method in interface io.jooby.value.Value
-
Process the given expression and resolve value references.
- resolve(String, boolean) - Method in class io.jooby.ForwardingContext.ForwardingBody
- resolve(String, boolean) - Method in class io.jooby.ForwardingContext.ForwardingValue
- resolve(String, boolean) - Method in interface io.jooby.value.Value
-
Process the given expression and resolve value references.
- resolve(String, boolean, String, String) - Method in class io.jooby.ForwardingContext.ForwardingBody
- resolve(String, boolean, String, String) - Method in class io.jooby.ForwardingContext.ForwardingValue
- resolve(String, boolean, String, String) - Method in interface io.jooby.value.Value
-
Process the given expression and resolve value references.
- resolve(String, String, String) - Method in class io.jooby.ForwardingContext.ForwardingBody
- resolve(String, String, String) - Method in class io.jooby.ForwardingContext.ForwardingValue
- resolve(String, String, String) - Method in interface io.jooby.value.Value
-
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 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(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
- RESUME_INCOMPLETE - Static variable in class io.jooby.StatusCode
-
308 Resume Incomplete. - RESUME_INCOMPLETE_CODE - Static variable in class io.jooby.StatusCode
-
308 Resume Incomplete. - returnType() - Method in record class io.jooby.Route.MvcMethod
-
Returns the value of the
returnTyperecord component. - 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.
- ROOT_CONFIG_PATH - Static variable in class io.jooby.problem.ProblemDetailsHandler
-
Root config path constant.
- 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
-
Callback that allow to customize a route while the route pipeline is being created.
- 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.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.
- Route.Location - Record Class in io.jooby
-
Route location.
- Route.MvcMethod - Record Class in io.jooby
-
Carry metadata for mvc/controller method.
- Route.Reactive - Interface in io.jooby
-
Marker interface for reactive responses.
- Route.Set - Class in io.jooby
-
Give you access to all routes created inside a
Router.path(String, Runnable). - Router - Interface in io.jooby
-
Routing DSL functions.
- Router.Match - Interface in io.jooby
-
Find route result.
- RouterOptions - Class in io.jooby
-
Router options: ignoreCase: Indicates whenever routing algorithm does case-sensitive matching on an incoming request path.
- RouterOptions() - Constructor for class io.jooby.RouterOptions
-
Default constructor.
- 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.
- 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[], ExecutionMode, List<Supplier<Jooby>>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], Server, ExecutionMode, Consumer<Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], Server, ExecutionMode, Supplier<Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], Server, ExecutionMode, List<Supplier<Jooby>>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], Server, Consumer<Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], Server, Supplier<Jooby>) - Static method in class io.jooby.Jooby
-
Setup default environment, logging (logback or log4j2) and run application.
- runApp(String[], Server, List<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.
- runApp(String[], List<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. - select(String) - Method in interface io.jooby.Context.Selector
-
Select an application base on context path prefix matching a provided path.
- 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(Context) - Method in class io.jooby.output.ByteBufferedOutput
- send(Context) - Method in interface io.jooby.output.Output
-
Send the output to the 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(Output) - Method in interface io.jooby.Context
-
Send response data.
- send(Output) - Method in class io.jooby.ForwardingContext
- send(Output) - Method in interface io.jooby.WebSocket
-
Send a text message to client.
- send(Output, WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
Send a text message to client.
- 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.WebSocket
-
Send a text message to client.
- send(ByteBuffer[]) - Method in interface io.jooby.Context
-
Send response data.
- send(ByteBuffer[]) - Method in class io.jooby.ForwardingContext
- send(ByteBuffer, WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
Send a text message to client.
- send(ByteBuffer, Consumer<Throwable>) - Method in interface io.jooby.rpc.grpc.GrpcExchange
-
Writes a gRPC-framed byte payload to the underlying non-blocking socket.
- 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(Output) - Method in interface io.jooby.WebSocket
-
Send a binary message to client.
- sendBinary(Output, 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.
- sendBinary(ByteBuffer) - Method in interface io.jooby.WebSocket
-
Send a binary message to client.
- sendBinary(ByteBuffer, 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
- sendPing(byte[]) - Method in interface io.jooby.WebSocket
-
Send a ping message to client.
- sendPing(byte[], WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
Send a ping message to client.
- sendPing(String) - Method in interface io.jooby.WebSocket
-
Send a ping message to client.
- sendPing(String, WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
Send a ping message to client.
- sendPing(ByteBuffer) - Method in interface io.jooby.WebSocket
-
Send a ping message to client.
- sendPing(ByteBuffer, WebSocket.WriteCallback) - Method in interface io.jooby.WebSocket
-
Send a ping message to client.
- 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
302response. - 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
8080or the value of system propertyserver.port. - SERVER_SECURE_PORT - Static variable in class io.jooby.ServerOptions
-
Default application secures port
8443or the value of system propertyserver.securePort. - 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
-
Default constructor.
- 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 that uses a simply key/value mechanism for storing and retrieving services.
- ServiceRegistry.MapBinder<K,
V> - Class in io.jooby -
Map binder, allow to partially register map entries.
- ServiceRegistry.MultiBinder<T> - Class in io.jooby
-
List/Set binder, allow to partially register service and fetch them all as list/set.
- 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) - Static method in class io.jooby.Cookie
-
Creates a session cookie which never expires (maxAge: -1), is http only and path is
/. - session(String) - Method in interface io.jooby.DefaultContext
- session(String) - Method in class io.jooby.ForwardingContext
- session(String, String) - Method in interface io.jooby.Context
-
Find a session attribute using the given name.
- session(String, String) - Method in interface io.jooby.DefaultContext
- session(String, 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(Reified<T>) - Static method in class io.jooby.Reified
-
Creates a
Settype literal. - set(Type) - Static method in class io.jooby.Reified
-
Creates a
Settype literal. - Set(List<Route>) - Constructor for class io.jooby.Route.Set
-
Set of routes.
- 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
- setAttribute(String, Object) - Method in class io.jooby.Jooby
- setAttribute(String, Object) - Method in class io.jooby.Route.Set
-
Add one or more attributes applied to this route.
- setAttribute(String, Object) - Method in class io.jooby.Route
-
Add one or more attributes applied to this route.
- setAttribute(String, Object) - Method in interface io.jooby.Router
-
Set an application attribute.
- setAttributes(Map<String, Object>) - Method in class io.jooby.Route.Set
-
Add one or more attributes applied to this route.
- setAttributes(Map<String, Object>) - Method in class io.jooby.Route
-
Add one or more attributes applied to this route.
- setBasedir(String) - Method in class io.jooby.EnvironmentOptions
-
Set base dir.
- setBasedir(Path) - Method in class io.jooby.EnvironmentOptions
-
Set base dir.
- setBasePackage(String) - Method in class io.jooby.Jooby
-
Set the base package, it has no direct effect on how jooby works but some modules might use it for package scanning.
- setBatch(boolean) - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
- 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.
- setCode(int) - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse.ErrorDetail
- 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.Set
-
Add one or more request types (format) consumed by this route.
- setConsumes(Collection<MediaType>) - Method in class io.jooby.Route
-
Add one or more request types (format) consumed by this route.
- setContextAsService(boolean) - Method in class io.jooby.RouterOptions
-
If enabled, allows to retrieve the
Contextobject 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. - setData(Object) - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse.ErrorDetail
- 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-TypeandServer. - 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.Set
-
Route description useful for documentation purpose from openAPI generator.
- setDescription(String) - Method in class io.jooby.Route
-
Route description useful for documentation purpose from openAPI generator.
- setDirectBuffers(boolean) - Method in class io.jooby.output.OutputOptions
-
Set to true for using direct buffers.
- 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.
- setError(JsonRpcResponse.ErrorDetail) - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse
- 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
-
Set executor key.
- setExecutorKey(String) - Method in class io.jooby.Route
-
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.
- setFailOnDuplicateRoutes(boolean) - Method in class io.jooby.RouterOptions
-
Detect or prevent duplicate route registrations.
- 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.
- 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.rpc.jsonrpc.JsonRpcRequest
- setId(Object) - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse
- 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.
- setIgnoreCase(boolean) - Method in class io.jooby.RouterOptions
-
Indicates whenever routing algorithm does case-sensitive matching on an incoming request path.
- setIgnoreTrailingSlash(boolean) - Method in class io.jooby.RouterOptions
-
Set whenever a trailing slash is ignored on an incoming request path.
- setIoThreads(int) - Method in class io.jooby.ServerOptions
-
Set number of IO threads to use.
- setJsonrpc(String) - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
- setJsonrpc(String) - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse
- 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-Sinceheader. - setLastModified(boolean) - Method in class io.jooby.handler.CacheControl
-
Turn on/off handling of
If-Modified-Sinceheader. - 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.MapModelAndView
- 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.
- setMaxFormFields(int) - Method in class io.jooby.ServerOptions
-
Set max number of form fields.
- setMaxHeaderSize(int) - Method in class io.jooby.ServerOptions
-
Set the maximum size in bytes of an http request header.
- setMaxRequestSize(int) - Method in class io.jooby.ServerOptions
-
Set max request size in bytes.
- setMediaTypeResolver(Function<Asset, MediaType>) - Method in class io.jooby.handler.AssetHandler
-
Allow to customize the default media type and/or the charset of it.
- setMessage(String) - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse.ErrorDetail
- setMethod(String) - Method in interface io.jooby.Context
-
Set HTTP method in upper-case form.
- setMethod(String) - Method in class io.jooby.ForwardingContext
- setMethod(String) - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
- 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(Route.MvcMethod) - 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-Sinceheader support. - setNoCache() - Method in class io.jooby.handler.CacheControl
-
Set cache-control header to
no-store, must-revalidate, disables e-tag andIf-Modified-Sinceheader support. - setNonBlocking(boolean) - Method in class io.jooby.Route
-
Set when the route is blocking or non-blocking.
- setNormalizeSlash(boolean) - Method in class io.jooby.RouterOptions
-
Set whenever normalize an incoming request path by removing multiple slash sequences.
- setOf(Reified<T>) - Method in interface io.jooby.ServiceRegistry
-
Set binder.
- setOf(Class<T>) - Method in interface io.jooby.ServiceRegistry
-
Set binder.
- setOptions(ServerOptions) - Method in class io.jooby.Server.Base
- 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.
- setOutput(OutputOptions) - Method in class io.jooby.ServerOptions
-
Set output options.
- setParams(Object) - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
- 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.Set
-
Add one or more response types (format) produces by this route.
- setProduces(Collection<MediaType>) - Method in class io.jooby.Route
-
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
- setRequests(List<JsonRpcRequest>) - Method in class io.jooby.rpc.jsonrpc.JsonRpcRequest
-
Populates this request as a batch container.
- setResetHeadersOnError(boolean) - Method in interface io.jooby.Context
-
Set whenever reset/clear headers on application error.
- setResetHeadersOnError(boolean) - Method in class io.jooby.ForwardingContext
- setResetHeadersOnError(boolean) - Method in class io.jooby.RouterOptions
-
Set whenever response headers are clear/reset in case of exception.
- 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 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
- setResult(Object) - Method in class io.jooby.rpc.jsonrpc.JsonRpcResponse
- setRetry(Long) - Method in class io.jooby.ServerSentMessage
-
Set retry option.
- 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(RouterOptions) - Method in class io.jooby.Jooby
- setRouterOptions(RouterOptions) - Method in interface io.jooby.Router
-
Set router options.
- setRoutes(List<Route>) - Method in class io.jooby.Route.Set
-
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.
- setSessionStore(SessionStore) - Method in class io.jooby.Jooby
- setSessionStore(SessionStore) - Method in interface io.jooby.Router
-
Set session store.
- setSize(int) - Method in class io.jooby.output.OutputOptions
-
Set default and initial buffer size.
- setSsl(SslOptions) - Method in class io.jooby.ServerOptions
-
Set SSL options.
- setSslContext(SSLContext) - Method in class io.jooby.SslOptions
-
Sets a custom SSL context.
- 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.Set
-
Route summary useful for documentation purpose from openAPI generator.
- setSummary(String) - Method in class io.jooby.Route
-
Route summary useful for documentation purpose from openAPI generator.
- setTags(List<String>) - Method in class io.jooby.Route.Set
-
Tag this route.
- setTags(List<String>) - Method in class io.jooby.Route
-
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.RouterOptions
-
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-Credentialsheader. - 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.
- setValueFactory(ValueFactory) - Method in class io.jooby.Jooby
- setValueFactory(ValueFactory) - Method in interface io.jooby.Router
-
Set value factory, useful for custom value factory.
- 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.
- sign(String, String) - Static method in class io.jooby.Cookie
-
Sign a value using a secret key.
- signed(Cookie, String) - Static method in interface io.jooby.SessionStore
-
Creates a session store that uses (un)signed data.
- signed(SessionToken, String) - Static method in interface io.jooby.SessionStore
-
Creates a session store that uses (un)signed data.
- signed(SessionToken, Function<String, Map<String, String>>, Function<Map<String, String>, String>) - Static method in interface io.jooby.SessionStore
-
Creates a session store that save data into Cookie.
- signedCookie(Cookie) - Static method in interface io.jooby.SessionToken
-
Create a signed-cookie-based Session token.
- SignedCookie(Cookie) - Constructor for class io.jooby.SessionToken.SignedCookie
-
Creates a Cookie ID.
- singleton(SneakyThrows.Supplier<V>) - Static method in class io.jooby.SneakyThrows
-
Singleton supplier from another supplier.
- singleton(V) - Static method in class io.jooby.SneakyThrows
-
Singleton supplier from existing instance.
- size() - Method in interface io.jooby.Body
- size() - Method in class io.jooby.ForwardingContext.ForwardingBody
- size() - Method in class io.jooby.ForwardingContext.ForwardingValue
- size() - Method in class io.jooby.output.ByteBufferedOutput
- size() - Method in interface io.jooby.output.Output
-
Total size in number of bytes of the output.
- size() - Method in interface io.jooby.value.Value
-
The number of values this one has.
- small() - Static method in class io.jooby.output.OutputOptions
-
Heap buffer of 512kb initial size.
- 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, - Interface in io.joobyV3> -
Three argument version of
SneakyThrows.Consumer. - SneakyThrows.Consumer4<V1,
V2, - Interface in io.joobyV3, V4> -
Four argument version of
SneakyThrows.Consumer. - SneakyThrows.Consumer5<V1,
V2, - Interface in io.joobyV3, V4, V5> -
Five argument version of
SneakyThrows.Consumer. - SneakyThrows.Consumer6<V1,
V2, - Interface in io.joobyV3, V4, V5, V6> -
Six argument version of
SneakyThrows.Consumer. - SneakyThrows.Consumer7<V1,
V2, - Interface in io.joobyV3, V4, V5, V6, V7> -
Seven argument version of
SneakyThrows.Consumer. - SneakyThrows.Consumer8<V1,
V2, - Interface in io.joobyV3, V4, V5, V6, V7, V8> -
Seven argument version of
SneakyThrows.Consumer. - SneakyThrows.Function<V,
R> - Interface in io.jooby -
Throwable version of
Function. - SneakyThrows.Function2<V1,
V2, - Interface in io.joobyR> -
Throwable version of
BiFunction. - SneakyThrows.Function3<V1,
V2, - Interface in io.joobyV3, R> -
Function with three arguments.
- SneakyThrows.Function4<V1,
V2, - Interface in io.joobyV3, V4, R> -
Function with four arguments.
- SneakyThrows.Function5<V1,
V2, - Interface in io.joobyV3, V4, V5, R> -
Function with five arguments.
- SneakyThrows.Function6<V1,
V2, - Interface in io.joobyV3, V4, V5, V6, R> -
Function with six arguments.
- SneakyThrows.Function7<V1,
V2, - Interface in io.joobyV3, V4, V5, V6, V7, R> -
Function with seven arguments.
- SneakyThrows.Function8<V1,
V2, - Interface in io.joobyV3, V4, V5, V6, V7, V8, R> -
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. - spliterator() - Method in class io.jooby.ForwardingContext.ForwardingBody
- spliterator() - Method in class io.jooby.ForwardingContext.ForwardingValue
- 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
-
Default constructor.
- 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.
- StandardConverter - Enum Class in io.jooby.value
-
Collection of built-in/standard value converters.
- 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 deployed.
- STARTUP_SUMMARY - Static variable in interface io.jooby.AvailableSettings
-
The level of information logged during startup.
- StartupException - Exception Class in io.jooby.exception
-
Thrown when Jooby was unable to initialize and start an application up.
- StartupException(String) - Constructor for exception class io.jooby.exception.StartupException
-
Creates a new instance of this class with the specified message.
- StartupException(String, Throwable) - Constructor for exception class 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.
- status(StatusCode) - Method in class io.jooby.problem.HttpProblem.Builder
-
Status Code.
- StatusCode - Class in io.jooby
-
HTTP status codes.
- StatusCode - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to StatusCode.
- StatusCodeException - Exception Class in io.jooby.exception
-
Runtime exception with status code.
- StatusCodeException(StatusCode) - Constructor for exception class io.jooby.exception.StatusCodeException
-
Creates an error with the given status code.
- StatusCodeException(StatusCode, String) - Constructor for exception class io.jooby.exception.StatusCodeException
-
Creates an error with the given status code.
- StatusCodeException(StatusCode, String, Throwable) - Constructor for exception class 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 class io.jooby.ForwardingContext.ForwardingBody
- stream() - Method in interface io.jooby.handler.Asset
-
Asset content.
- Strict - Enum constant in enum class io.jooby.value.ConversionHint
-
Always produces an instance of the required type and make sure at least one value matches the output type as property or constructor argument.
- 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.
- String - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to string.
- String Notation Support: - Search tag in annotation interface io.jooby.annotation.Project
- Section
- success(Object, Object) - Static method in class io.jooby.rpc.jsonrpc.JsonRpcResponse
-
Creates a successful JSON-RPC response.
- summary(String) - Method in class io.jooby.Route.Set
-
Route summary useful for documentation purpose from openAPI generator.
- summary(String) - Method in class io.jooby.Route
-
Route summary useful for documentation purpose from openAPI generator.
- SUPPORT_MEDIA_TYPE - Static variable in class io.jooby.Route
-
Handler for
StatusCode.UNSUPPORTED_MEDIA_TYPEresponses. - supports(ModelAndView) - Method in interface io.jooby.TemplateEngine
-
True if the template engine is able to render the given view.
- 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
Configobject fromSystem.getenv(). - systemProperties() - Static method in class io.jooby.Environment
-
Creates a
Configobject fromSystem.getProperties().
T
- 3. Type-Safe Method References - Search tag in class io.jooby.Projection
- Section
- tags(String...) - Method in class io.jooby.Route.Set
-
Tag this route.
- tags(String...) - Method in class io.jooby.Route
-
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.FunctionandFunction. - throwingFunction(SneakyThrows.Function2<V1, V2, R>) - Static method in class io.jooby.SneakyThrows
-
Factory method for
SneakyThrows.Function2andBiFunction. - 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. - TIMEOUT - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
The request took too long to process.
- TimeZone - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to TimeZone.
- title(String) - Method in class io.jooby.problem.HttpProblem.Builder
-
Human-readable summary of this problem.
- 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 class io.jooby.ForwardingContext.ForwardingBody
- to(Class<T>) - Method in class io.jooby.ForwardingContext.ForwardingValue
- to(Class<T>) - Method in interface io.jooby.value.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 class io.jooby.ForwardingContext.ForwardingBody
- 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.
- toContentTypeHeader() - 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.
- toEmpty(Class<T>) - Method in class io.jooby.ForwardingContext.ForwardingQueryString
- toEmpty(Class<T>) - Method in interface io.jooby.QueryString
-
Query string produces always a non-null result even if no property matches.
- toEnum(SneakyThrows.Function<String, T>) - Method in class io.jooby.ForwardingContext.ForwardingBody
- toEnum(SneakyThrows.Function<String, T>) - Method in class io.jooby.ForwardingContext.ForwardingValue
- toEnum(SneakyThrows.Function<String, T>) - Method in interface io.jooby.value.Value
-
Convert this value to an Enum.
- toEnum(SneakyThrows.Function<String, T>, Function<String, String>) - Method in class io.jooby.ForwardingContext.ForwardingBody
- toEnum(SneakyThrows.Function<String, T>, Function<String, String>) - Method in class io.jooby.ForwardingContext.ForwardingValue
- toEnum(SneakyThrows.Function<String, T>, Function<String, String>) - Method in interface io.jooby.value.Value
-
Convert this value to an Enum.
- toHttpProblem() - Method in exception class io.jooby.exception.InvalidCsrfToken
- toHttpProblem() - Method in exception class io.jooby.exception.MethodNotAllowedException
- toHttpProblem() - Method in exception class io.jooby.exception.NotAcceptableException
- toHttpProblem() - Method in exception class io.jooby.exception.NotFoundException
- toHttpProblem() - Method in exception class io.jooby.exception.StatusCodeException
- toHttpProblem() - Method in exception class io.jooby.exception.TypeMismatchException
- toHttpProblem() - Method in exception class io.jooby.exception.UnsupportedMediaType
- toHttpProblem() - Method in interface io.jooby.problem.HttpProblemMappable
-
Get a
HttpProbleminstance. - toHttpProblem() - Method in class io.jooby.validation.ValidationResult
- Token verification - Search tag in class io.jooby.handler.CsrfHandler
- Section
- toList() - Method in interface io.jooby.Body
- toList() - Method in class io.jooby.ForwardingContext.ForwardingBody
- toList() - Method in class io.jooby.ForwardingContext.ForwardingValue
- toList() - Method in interface io.jooby.value.Value
-
Get list of values.
- toList(Class<T>) - Method in interface io.jooby.Body
- toList(Class<T>) - Method in class io.jooby.ForwardingContext.ForwardingBody
- toList(Class<T>) - Method in class io.jooby.ForwardingContext.ForwardingValue
- toList(Class<T>) - Method in interface io.jooby.value.Value
-
Get list of the given type.
- toMap() - Method in class io.jooby.ForwardingContext.ForwardingBody
- toMap() - Method in class io.jooby.ForwardingContext.ForwardingValue
- toMap() - Method in exception class io.jooby.rpc.trpc.TrpcException
-
Serializes the exception into the exact JSON structure expected by the tRPC protocol.
- toMap() - Method in interface io.jooby.Session
-
Read-only copy of session attributes.
- toMap() - Method in interface io.jooby.value.Value
-
Value as single-value map.
- toMethod() - Method in record class io.jooby.Route.MvcMethod
-
Convert to
Method. - toMethodHandle() - Method in record class io.jooby.Route.MvcMethod
-
Convert to
MethodHandleusing a public lookup. - toMethodHandle(MethodHandles.Lookup) - Method in record class io.jooby.Route.MvcMethod
-
Convert to
MethodHandle. - toMultimap() - Method in class io.jooby.ForwardingContext.ForwardingBody
- toMultimap() - Method in class io.jooby.ForwardingContext.ForwardingValue
- toMultimap() - Method in interface io.jooby.value.Value
-
Value as multi-value map.
- toNullable(Class<T>) - Method in interface io.jooby.Body
- toNullable(Class<T>) - Method in class io.jooby.ForwardingContext.ForwardingBody
- toNullable(Class<T>) - Method in class io.jooby.ForwardingContext.ForwardingValue
- toNullable(Class<T>) - Method in interface io.jooby.value.Value
-
Convert this value to the given type.
- toNullable(Type) - Method in interface io.jooby.Body
-
Convert this body into the given type.
- toNullable(Type) - Method in class io.jooby.ForwardingContext.ForwardingBody
- 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 - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Rate limiting applied.
- TOO_MANY_REQUESTS - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
Rate limiting applied.
- 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 class io.jooby.ForwardingContext.ForwardingBody
- toOptional() - Method in class io.jooby.ForwardingContext.ForwardingValue
- toOptional() - Method in interface io.jooby.value.Value
-
Get a value or empty optional.
- toOptional(Class<T>) - Method in class io.jooby.ForwardingContext.ForwardingBody
- toOptional(Class<T>) - Method in class io.jooby.ForwardingContext.ForwardingValue
- toOptional(Class<T>) - Method in interface io.jooby.value.Value
-
Get a value or empty optional.
- toSet() - Method in interface io.jooby.Body
- toSet() - Method in class io.jooby.ForwardingContext.ForwardingBody
- toSet() - Method in class io.jooby.ForwardingContext.ForwardingValue
- toSet() - Method in interface io.jooby.value.Value
-
Get set of values.
- toSet(Class<T>) - Method in class io.jooby.ForwardingContext.ForwardingBody
- toSet(Class<T>) - Method in class io.jooby.ForwardingContext.ForwardingValue
- toSet(Class<T>) - Method in interface io.jooby.value.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.output.ByteBufferedOutput
- toString() - Method in class io.jooby.output.OutputOptions
- toString() - Method in exception class io.jooby.problem.HttpProblem
- toString() - Method in class io.jooby.Projected
- toString() - Method in class io.jooby.Projection
- toString() - Method in class io.jooby.Reified
- toString() - Method in record class io.jooby.Route.Location
-
Returns a string representation of this record class.
- toString() - Method in record class io.jooby.Route.MvcMethod
-
Returns a string representation of this record class.
- toString() - Method in class io.jooby.Route
- toString() - Method in record class io.jooby.rpc.trpc.TrpcResponse
-
Returns a string representation of this record class.
- 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 record class io.jooby.validation.ValidationResult.Error
-
Returns a string representation of this record class.
- toString() - Method in class io.jooby.WebSocketCloseStatus
- toString(Executable) - Static method in exception class io.jooby.exception.ProvisioningException
-
Creates a method description.
- toString(Parameter) - Static method in exception class 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.
- toView() - Method in class io.jooby.Projection
-
Returns the Avaje-compatible DSL string.
- 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
-
Default constructor.
- Transactional - Annotation Interface in io.jooby.annotation
-
Useful together with the various route decorators like
TransactionalRequestprovided by extensionsjooby-hibernate,jooby-jdbiorjooby-ebeanto toggle it's effect for a single route. - transferTo(SneakyThrows.Consumer<ByteBuffer>) - Method in class io.jooby.output.ByteBufferedOutput
- transferTo(SneakyThrows.Consumer<ByteBuffer>) - Method in interface io.jooby.output.Output
-
Transfers the entire buffered output (one or multiple buffers) to a consumer.
- trpc(Extension) - Method in class io.jooby.Jooby
-
Registers a tRPC router within the application.
- Trpc - Annotation Interface in io.jooby.annotation
-
Marks a controller class or a specific route method for tRPC TypeScript generation.
- Trpc.Mutation - Annotation Interface in io.jooby.annotation
-
Marks a method as a tRPC mutation.
- Trpc.Query - Annotation Interface in io.jooby.annotation
-
Marks a method as a tRPC query.
- TrpcDecoder<T> - Interface in io.jooby.rpc.trpc
-
A pre-resolved decoder used at runtime to deserialize tRPC network payloads into complex Java objects.
- TrpcErrorCode - Enum Class in io.jooby.rpc.trpc
-
Maps standard Jooby HTTP status codes to official tRPC error codes.
- TrpcErrorHandler - Class in io.jooby.rpc.trpc
-
A specialized error handler that formats exceptions into tRPC-compliant JSON responses.
- TrpcErrorHandler() - Constructor for class io.jooby.rpc.trpc.TrpcErrorHandler
- TrpcException - Exception Class in io.jooby.rpc.trpc
-
A specialized runtime exception that encapsulates a tRPC error.
- TrpcException(String, TrpcErrorCode) - Constructor for exception class io.jooby.rpc.trpc.TrpcException
-
Constructs a new tRPC exception without an underlying cause.
- TrpcException(String, TrpcErrorCode, Throwable) - Constructor for exception class io.jooby.rpc.trpc.TrpcException
-
Constructs a new tRPC exception using a specific tRPC error code.
- TrpcException(String, StatusCode) - Constructor for exception class io.jooby.rpc.trpc.TrpcException
-
Constructs a new tRPC exception using a standard Jooby HTTP status code without an underlying cause.
- TrpcException(String, StatusCode, Throwable) - Constructor for exception class io.jooby.rpc.trpc.TrpcException
-
Constructs a new tRPC exception using a standard Jooby HTTP status code.
- TrpcModule - Class in io.jooby.rpc.trpc
-
Jooby extension that enables tRPC support for the application.
- TrpcModule() - Constructor for class io.jooby.rpc.trpc.TrpcModule
- TrpcParser - Interface in io.jooby.rpc.trpc
-
The core JSON parsing SPI (Service Provider Interface) for tRPC.
- TrpcReader - Interface in io.jooby.rpc.trpc
-
A stateful, sequential reader used at runtime to extract arguments from a tRPC network payload.
- TrpcResponse<T> - Record Class in io.jooby.rpc.trpc
-
A standardized envelope for successful tRPC responses.
- TrpcResponse(T) - Constructor for record class io.jooby.rpc.trpc.TrpcResponse
-
Creates an instance of a
TrpcResponserecord class. - 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.
- type() - Method in record class io.jooby.validation.ValidationResult.Error
-
Returns the value of the
typerecord component. - type(URI) - Method in class io.jooby.problem.HttpProblem.Builder
-
a URI that identifies this problem's type
- TypeMismatchException - Exception Class in io.jooby.exception
-
Type mismatch exception.
- TypeMismatchException(String, Type) - Constructor for exception class io.jooby.exception.TypeMismatchException
-
Creates a type mismatch error.
- TypeMismatchException(String, Type, Throwable) - Constructor for exception class io.jooby.exception.TypeMismatchException
-
Creates a type mismatch error.
U
- UNAUTHORIZED - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
Missing or invalid authentication.
- UNAUTHORIZED - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
Missing or invalid authentication.
- UNAUTHORIZED - Static variable in class io.jooby.StatusCode
-
401 Unauthorized. - UNAUTHORIZED_CODE - Static variable in class io.jooby.StatusCode
-
401 Unauthorized. - UnauthorizedException - Exception Class in io.jooby.exception
-
Specific error for unauthorized access.
- UnauthorizedException() - Constructor for exception class io.jooby.exception.UnauthorizedException
-
Creates an unauthorized exception.
- UnauthorizedException(String) - Constructor for exception class 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-Controlheader is generated. - UNPROCESSABLE_CONTENT - Enum constant in enum class io.jooby.rpc.jsonrpc.JsonRpcErrorCode
-
The payload format is valid, but the content is semantically incorrect (e.g., validation failed).
- UNPROCESSABLE_CONTENT - Enum constant in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
The payload format is valid, but the content is semantically incorrect.
- 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. - unprocessableEntity(String) - Static method in exception class io.jooby.problem.HttpProblem
-
Creates an HttpProblem with UNPROCESSABLE_ENTITY status (422) using the default title.
- unprocessableEntity(String, String) - Static method in exception class io.jooby.problem.HttpProblem
-
Creates an HttpProblem with UNPROCESSABLE_ENTITY status (422) and custom title and detail.
- unsign(String, String) - Static method in class io.jooby.Cookie
-
Un-sign a value, previously signed with
Cookie.sign(String, String). - UNSUPPORTED - Static variable in interface io.jooby.SessionStore
-
Default session, which is the same as no session installed.
- 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 Class in io.jooby.exception
-
Whether there is no decoder for the requested
Content-Type. - UnsupportedMediaType(String) - Constructor for exception class io.jooby.exception.UnsupportedMediaType
-
Unsupported media type.
- UnsupportedModelAndView(Class<?>...) - Constructor for exception class io.jooby.ModelAndView.UnsupportedModelAndView
-
Constructor.
- 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
Stringinput usingUTF-8as encoding. - URI - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to URI.
- usage - Search tag in class io.jooby.handler.AccessLogHandler
- Section
- usage - Search tag in class io.jooby.handler.Cors
- Section
- Usage - Exception Class in io.jooby
-
Usage exceptions.
- Usage(String, String) - Constructor for exception class io.jooby.Usage
-
Creates a new Usage exception.
- Usage: - Search tag in annotation interface io.jooby.annotation.Project
- Section
- 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. - UUID - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to UUID.
V
- validate() - Method in class io.jooby.Projection
-
Configures whether the projection should fail when a requested property is not found on the declared class type.
- validate() - Static method in interface io.jooby.validation.BeanValidator
-
Validator as filter.
- validate(Context, Object) - Method in interface io.jooby.validation.BeanValidator
-
Method should validate the bean and throw an exception if any constraint violations are detected
- validate(Route.Handler) - Static method in interface io.jooby.validation.BeanValidator
-
Validator as handler.
- ValidationContext - Class in io.jooby.validation
-
Wrap a context and run
BeanValidator.validate(Context, Object)over HTTP request objects. - ValidationContext(Context) - Constructor for class io.jooby.validation.ValidationContext
-
Creates a new forwarding context.
- ValidationResult - Class in io.jooby.validation
-
Result of bean validator.
- ValidationResult() - Constructor for class io.jooby.validation.ValidationResult
-
Default constructor.
- ValidationResult(String, int, List<ValidationResult.Error>) - Constructor for class io.jooby.validation.ValidationResult
-
Creates a validation result.
- ValidationResult.Error - Record Class in io.jooby.validation
-
Error message, common contract to render/serialize.
- ValidationResult.ErrorType - Enum Class in io.jooby.validation
-
Error type, describe when it is a generic/global error or specific/field error.
- value() - Element in annotation interface io.jooby.annotation.BindParam
-
Class containing the mapping function.
- 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.CookieParam
-
Default value.
- 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
-
Default value.
- value() - Element in annotation interface io.jooby.annotation.FormParam
-
Default value.
- value() - Element in annotation interface io.jooby.annotation.Generated
-
Target controller class.
- 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.HeaderParam
-
Default value.
- value() - Element in annotation interface io.jooby.annotation.JsonRpc
-
The explicit namespace (when used on a class) or the explicit method name (when used on a method). * @return The overridden name, or an empty string to use the defaults (no namespace for classes, actual method name for methods).
- 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
-
Route 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.Project
-
Example:
"id, name, address(city, zip)" - value() - Element in annotation interface io.jooby.annotation.PUT
-
Path pattern.
- value() - Element in annotation interface io.jooby.annotation.QueryParam
-
Default value.
- value() - Element in annotation interface io.jooby.annotation.SessionParam
-
Default value.
- 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
TransactionalRequestfor the annotated route. - value() - Element in annotation interface io.jooby.annotation.Trpc.Mutation
-
Custom name for the tRPC mutation.
- value() - Element in annotation interface io.jooby.annotation.Trpc.Query
-
Custom name for the tRPC query.
- value() - Element in annotation interface io.jooby.annotation.Trpc
-
Custom name for the tRPC procedure or namespace.
- value() - Method in class io.jooby.ForwardingContext.ForwardingBody
- value() - Method in class io.jooby.ForwardingContext.ForwardingValue
- value() - Method in class io.jooby.StatusCode
-
Return the integer value of this status code.
- value() - Method in interface io.jooby.value.Value
-
Get string value.
- value(SneakyThrows.Function<String, T>) - Method in class io.jooby.ForwardingContext.ForwardingBody
- value(SneakyThrows.Function<String, T>) - Method in class io.jooby.ForwardingContext.ForwardingValue
- value(SneakyThrows.Function<String, T>) - Method in interface io.jooby.value.Value
-
Convert value using the given function.
- value(ValueFactory, String, String) - Static method in interface io.jooby.value.Value
-
Creates a single value.
- value(String) - Method in class io.jooby.ForwardingContext.ForwardingBody
- value(String) - Method in class io.jooby.ForwardingContext.ForwardingValue
- value(String) - Method in interface io.jooby.value.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(Charset) - Method in class io.jooby.ForwardingContext.ForwardingBody
- Value - Interface in io.jooby.value
-
Unified API for HTTP value.
- ValueFactory - Class in io.jooby.value
-
Keep track of existing
Converterand convert values to a more concrete type. - ValueFactory() - Constructor for class io.jooby.value.ValueFactory
-
Creates a new instance with public lookup.
- ValueFactory(MethodHandles.Lookup) - Constructor for class io.jooby.value.ValueFactory
-
Creates a new instance.
- 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(StatusCode) - Static method in exception class io.jooby.problem.HttpProblem
-
Creates an HttpProblem with the specified status code using the default title.
- valueOf(StatusCode, String) - Static method in exception class io.jooby.problem.HttpProblem
-
Creates an HttpProblem with the specified status code and custom title.
- valueOf(StatusCode, String, String) - Static method in exception class io.jooby.problem.HttpProblem
-
Creates an HttpProblem with the specified status code, custom title, and detail.
- 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.rpc.jsonrpc.JsonRpcErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
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.
- valueOf(String) - Static method in enum class io.jooby.validation.ValidationResult.ErrorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jooby.value.ConversionHint
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.jooby.value.StandardConverter
-
Returns the enum constant of this class with the specified name.
- valueOrNull() - Method in class io.jooby.ForwardingContext.ForwardingBody
- valueOrNull() - Method in class io.jooby.ForwardingContext.ForwardingValue
- valueOrNull() - Method in interface io.jooby.value.Value
-
Convert this value to String (if possible) or
nullwhen 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.rpc.jsonrpc.JsonRpcErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jooby.rpc.trpc.TrpcErrorCode
-
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.
- values() - Static method in enum class io.jooby.validation.ValidationResult.ErrorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jooby.value.ConversionHint
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.jooby.value.StandardConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Variables - Search tag in annotation interface io.jooby.annotation.Path
- Section
- 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.Handler - Interface in io.jooby
-
Web socket route handler.
- 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.OnMessagecallback. - WebVariables - Class in io.jooby.handler
-
Add common variables to as
Contextattributes 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.
- wrap(byte[]) - Method in class io.jooby.output.ByteBufferedOutputFactory
- wrap(byte[]) - Method in interface io.jooby.output.OutputFactory
-
Readonly buffer created from byte array.
- wrap(byte[], int, int) - Method in class io.jooby.output.ByteBufferedOutputFactory
- wrap(byte[], int, int) - Method in interface io.jooby.output.OutputFactory
-
Readonly buffer created from byte array.
- wrap(String) - Method in interface io.jooby.output.OutputFactory
-
Readonly buffer created from string utf-8 bytes.
- wrap(String, Charset) - Method in class io.jooby.output.ByteBufferedOutputFactory
- wrap(String, Charset) - Method in interface io.jooby.output.OutputFactory
-
Readonly buffer created from string.
- wrap(ByteBuffer) - Method in class io.jooby.output.ByteBufferedOutputFactory
- wrap(ByteBuffer) - Method in interface io.jooby.output.OutputFactory
-
Readonly buffer created from buffer.
- wrap(T) - Static method in class io.jooby.Projected
- wrap(T, Projection<T>) - Static method in class io.jooby.Projected
- write(byte) - Method in interface io.jooby.output.BufferedOutput
-
Write a single byte into this buffer at the current writing position.
- write(byte) - Method in class io.jooby.output.ByteBufferedOutput
- write(byte[]) - Method in interface io.jooby.output.BufferedOutput
-
Write the given source into this buffer, starting at the current writing position of this buffer.
- write(byte[]) - Method in class io.jooby.output.ByteBufferedOutput
- write(byte[], int, int) - Method in interface io.jooby.output.BufferedOutput
-
Write at most
lengthbytes of the given source into this buffer, starting at the current writing position of this buffer. - write(byte[], int, int) - Method in class io.jooby.output.ByteBufferedOutput
- write(byte[], Sender.Callback) - Method in interface io.jooby.Sender
-
Write a byte chunk.
- write(Output, Sender.Callback) - Method in interface io.jooby.Sender
-
Write an output.
- write(String) - Method in interface io.jooby.output.BufferedOutput
-
Write the given
StringusingUTF-8, starting at the current writing position. - write(String, Sender.Callback) - Method in interface io.jooby.Sender
-
Write a string chunk.
- write(String, Charset) - Method in interface io.jooby.output.BufferedOutput
-
Write the given
Stringusing the givenCharset, starting at the current writing position. - write(String, Charset, Sender.Callback) - Method in interface io.jooby.Sender
-
Write a string chunk.
- write(ByteBuffer) - Method in interface io.jooby.output.BufferedOutput
-
Write the given source into this buffer, starting at the current writing position of this buffer.
- write(ByteBuffer) - Method in class io.jooby.output.ByteBufferedOutput
- write(CharBuffer, Charset) - Method in interface io.jooby.output.BufferedOutput
-
Write the given source into this buffer, starting at the current writing position of this buffer.
- 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.
Z
- ZoneId - Enum constant in enum class io.jooby.value.StandardConverter
-
Convert a value to ZoneId.
_
- _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