A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
O
- of(JavalinConfig) - function in io.javalin.http.servlet.JavalinServletContextConfig.Companion
- offset() - function in io.javalin.websocket.WsBinaryMessageContext
- Get the offset of the binary data
- OK - enum entry in io.javalin.http.HttpStatus
The request succeeded.
- OkResponse - class in io.javalin.http
- onBinaryMessage(WsBinaryMessageHandler) - function in io.javalin.websocket.WsConfig
- Add a WsBinaryMessageHandler to the WsHandler.
- onClose(Runnable) - function in io.javalin.http.sse.SseClient
- Add a callback that will be called either when connection is closed through close, or when the emitter is detected as closed.
- onClose(WsCloseHandler) - function in io.javalin.websocket.WsConfig
- Add a WsCloseHandler to the WsHandler.
- onClose(Session,Integer,String) - function in io.javalin.websocket.WsConnection
- onConnect(WsConnectHandler) - function in io.javalin.websocket.WsConfig
- Add a WsConnectHandler to the WsHandler.
- onConnect(Session) - function in io.javalin.websocket.WsConnection
- onError(WsErrorHandler) - function in io.javalin.websocket.WsConfig
- Add a wsErrorHandler to the WsHandler.
- onError(Session,Throwable) - function in io.javalin.websocket.WsConnection
- onInitialize(JavalinConfig) - function in io.javalin.plugin.Plugin
- Initialize properties and access configuration before any handler is registered.
- onInitialize(JavalinConfig) - function in io.javalin.plugin.Plugin
- Initialize properties and access configuration before any handler is registered.
- onInitialize(JavalinConfig) - function in io.javalin.plugin.bundled.DevLoggingPlugin
- Initialize properties and access configuration before any handler is registered.
- onInitialize(JavalinConfig) - function in io.javalin.plugin.bundled.RedirectToLowercasePathPlugin
- Initialize properties and access configuration before any handler is registered.
- onMessage(WsMessageHandler) - function in io.javalin.websocket.WsConfig
- Add a WsMessageHandler to the WsHandler.
- onMessage(Session,ByteArray,Integer,Integer) - function in io.javalin.websocket.WsConnection
- onMessage(Session,String) - function in io.javalin.websocket.WsConnection
- onStart(JavalinConfig) - function in io.javalin.plugin.Plugin
- Called when the plugin is applied to the Javalin instance.
- onStart(JavalinConfig) - function in io.javalin.plugin.Plugin
- Called when the plugin is applied to the Javalin instance.
- onStart(JavalinConfig) - function in io.javalin.plugin.bundled.BasicAuthPlugin
- Called when the plugin is applied to the Javalin instance.
- onStart(JavalinConfig) - function in io.javalin.plugin.bundled.CorsPlugin
- Called when the plugin is applied to the Javalin instance.
- onStart(JavalinConfig) - function in io.javalin.plugin.bundled.GlobalHeadersPlugin
- Called when the plugin is applied to the Javalin instance.
- onStart(JavalinConfig) - function in io.javalin.plugin.bundled.HttpAllowedMethodsPlugin
- Called when the plugin is applied to the Javalin instance.
- onStart(JavalinConfig) - function in io.javalin.plugin.bundled.RedirectToLowercasePathPlugin
- Called when the plugin is applied to the Javalin instance.
- onStart(JavalinConfig) - function in io.javalin.plugin.bundled.RouteOverviewPlugin
- Called when the plugin is applied to the Javalin instance.
- onStart(JavalinConfig) - function in io.javalin.plugin.bundled.SslRedirectPlugin
- Called when the plugin is applied to the Javalin instance.
- onTimeout(Consumer) - function in io.javalin.http.util.AsyncTaskConfig
- Timeout listener executed when TimeoutException is thrown in specified task.
- OptionalDependency - class in io.javalin.util
- OPTIONS - enum entry in io.javalin.http.HandlerType
The HTTP OPTIONS method requests permitted communication options for a given URL or server. A client can specify a URL with this method, or an asterisk (*) to refer to the entire server.
- options(String,Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
- Adds a OPTIONS request handler for the specified path to the instance.
- options(String,Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
- Adds a OPTIONS request handler for the specified path to the instance.
- options(String,Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
- Adds a OPTIONS request handler for the specified path to the instance.
- options(String,Handler,RouteRole) - function in io.javalin.router.JavalinDefaultRoutingApi
- Adds a OPTIONS request handler with the given roles for the specified path to the instance.
- options(String,Handler,RouteRole) - function in io.javalin.router.JavalinDefaultRoutingApi
- Adds a OPTIONS request handler with the given roles for the specified path to the instance.
- ORIGIN - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.ReferrerPolicy
Send only the origin in the Referer header. For example, a document at https://example.com/page.html will send the referrer https://example.com/.
- ORIGIN_WHEN_CROSS_ORIGIN - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.ReferrerPolicy
When performing a same-origin request to the same protocol level (HTTP→HTTP, HTTPS→HTTPS), send the origin, path, and query string. Send only the origin for cross-origin requests and requests to less secure destinations (HTTPS→HTTP).
- outputStream() - function in io.javalin.http.Context
- Gets the output stream you can write to.
- outputStream() - function in io.javalin.http.servlet.JavalinServletContext
- Gets the output stream you can write to.