A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

B

BAD_GATEWAY - enum entry in io.javalin.http.HttpStatus

This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.

BAD_GATEWAY - enum entry in io.javalin.websocket.WsCloseStatus

The server was acting as a gateway or proxy and received an invalid response from the upstream server. This is similar to 502 HTTP Status Code.

BAD_REQUEST - enum entry in io.javalin.http.HttpStatus

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

BadGatewayResponse - class in io.javalin.http
 
BadRequestResponse - class in io.javalin.http
 
BaseValidator - class in io.javalin.validation
 
basicAuthCredentials() - function in io.javalin.http.Context
Gets basic-auth credentials from the request, or throws.
basicAuthCredentials() - function in io.javalin.http.Context
Gets basic-auth credentials from the request, or throws.
BasicAuthCredentials - class in io.javalin.security
Auth credentials for basic HTTP authorization.
BasicAuthPlugin - class in io.javalin.plugin.bundled
Adds a filter that runs before every http request.
BasicAuthPlugin.Config - class in io.javalin.plugin.bundled.BasicAuthPlugin
 
before(Handler) - function in io.javalin.apibuilder.ApiBuilder
Adds a BEFORE request handler for the current path to the Javalin instance.
before(String,Handler) - function in io.javalin.apibuilder.ApiBuilder
Adds a BEFORE request handler for the specified path to the Javalin instance.
BEFORE - enum entry in io.javalin.http.HandlerType

Javalin Specific: Before-handlers are matched before every request (including static files).

before(Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a BEFORE request handler for all routes in the instance.
before(Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a BEFORE request handler for all routes in the instance.
before(String,Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a BEFORE request handler for the specified path to the instance.
before(String,Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a BEFORE request handler for the specified path to the instance.
before(String,Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a BEFORE request handler for the specified path to the instance.
BEFORE_MATCHED - enum entry in io.javalin.http.HandlerType

Javalin specific: BeforeMatched-handlers run before a request finds a matching handler

beforeMatched(Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a BEFORE_MATCHED request handler for all routes in the instance.
beforeMatched(Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a BEFORE_MATCHED request handler for all routes in the instance.
beforeMatched(String,Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a BEFORE_MATCHED request handler for the specified path to the instance.
beforeMatched(String,Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a BEFORE_MATCHED request handler for the specified path to the instance.
beforeMatched(String,Handler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a BEFORE_MATCHED request handler for the specified path to the instance.
body() - function in io.javalin.http.Context
Gets the request body as a String.
body() - function in io.javalin.http.Context
Gets the request body as a String.
bodyAsBytes() - function in io.javalin.http.Context
Gets the request body as a ByteArray.
bodyAsBytes() - function in io.javalin.http.servlet.JavalinServletContext
Gets the request body as a ByteArray.
bodyAsClass(Class) - function in io.javalin.http.Context
Maps a JSON body to a Java/Kotlin class using the registered io.javalin.json.JsonMapper
bodyAsClass(Class) - function in io.javalin.http.Context
Maps a JSON body to a Java/Kotlin class using the registered io.javalin.json.JsonMapper
bodyAsClass(Type) - function in io.javalin.http.Context
Maps a JSON body to a Java/Kotlin class using the registered io.javalin.json.JsonMapper
bodyAsClass(Type) - function in io.javalin.http.Context
Maps a JSON body to a Java/Kotlin class using the registered io.javalin.json.JsonMapper
bodyAsClass(Context) - function in io.javalin.http.ContextKt
Reified version of Context.bodyAsClass (Kotlin only)
bodyInputStream() - function in io.javalin.http.Context
Gets the underlying InputStream for the request body
bodyInputStream() - function in io.javalin.http.Context
Gets the underlying InputStream for the request body
bodyStreamAsClass(Type) - function in io.javalin.http.Context
Maps a JSON body to a Java/Kotlin class using the registered io.javalin.json.JsonMapper
bodyStreamAsClass(Type) - function in io.javalin.http.Context
Maps a JSON body to a Java/Kotlin class using the registered io.javalin.json.JsonMapper
bodyStreamAsClass(Context) - function in io.javalin.http.ContextKt
Reified version of Context.bodyStreamAsClass (Kotlin only)
bodyValidator(Class) - function in io.javalin.http.Context
Creates a typed BodyValidator for the body() value
bodyValidator(Class) - function in io.javalin.http.Context
Creates a typed BodyValidator for the body() value
bodyValidator(Context) - function in io.javalin.http.ContextKt
Reified version of Context.bodyValidator (Kotlin only)
BodyValidator - class in io.javalin.validation
 
BodyValidatorKt - class in io.javalin.validation
 
BR - enum entry in io.javalin.compression.CompressionType
 
Brotli - class in io.javalin.compression
Configuration for Brotli compression
BROTLI4J - enum entry in io.javalin.util.CoreDependency
 
brotli4jAvailable() - function in io.javalin.compression.CompressionStrategy.Companion
 
Brotli4jCompressor - class in io.javalin.compression
 
brotli4jPresent() - function in io.javalin.compression.CompressionStrategy.Companion
 
brotliAndGzipCompression(Integer,Integer) - function in io.javalin.config.HttpConfig
Sets a CompressionStrategy using both gzip (default level: 6) and brotli (default level: 4).
brotliAndGzipCompression(Integer) - function in io.javalin.config.HttpConfig
Sets a CompressionStrategy using both gzip (default level: 6) and brotli (default level: 4).
brotliAndGzipCompression() - function in io.javalin.config.HttpConfig
Sets a CompressionStrategy using both gzip (default level: 6) and brotli (default level: 4).
brotliImplAvailable() - function in io.javalin.compression.CompressionStrategy.Companion
 
brotliOnlyCompression(Integer) - function in io.javalin.config.HttpConfig
Sets a CompressionStrategy using brotli (default level: 4).
brotliOnlyCompression() - function in io.javalin.config.HttpConfig
Sets a CompressionStrategy using brotli (default level: 4).
BundledPluginsConfig - class in io.javalin.config
Configuration to enable bundled plugins or add custom ones.
BY_CONTENT_TYPE - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.CrossDomainPolicy

Only policy files served with Content-Type: text/x-cross-domain-policy are allowed.

BY_FTP_FILENAME - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.CrossDomainPolicy

Only policy files whose filenames are crossdomain.xml (i.e. URLs ending in /crossdomain.xml) are allowed.

BYTES - enum entry in io.javalin.config.SizeUnit
 
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X