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

S

SAME_ORIGIN - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.CrossOriginOpenerPolicy

Isolates the browsing context exclusively to same-origin documents. Cross-origin documents are not loaded in the same browsing context.

SAME_ORIGIN - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.CrossOriginResourcePolicy

Only requests from the same origin (i.e. scheme + host + port) can read the resource.

SAME_ORIGIN - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.ReferrerPolicy

Send the origin, path, and query string for same-origin requests. Don't send the Referer header for cross-origin requests.

SAME_ORIGIN_ALLOW_POPUPS - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.CrossOriginOpenerPolicy

Retains references to newly opened windows or tabs that either don't set COOP or that opt out of isolation by setting a COOP of unsafe-none.

SAME_SITE - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.CrossOriginResourcePolicy

Only requests from the same Site can read the resource.

SAMEORIGIN - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.XFrameOptions

The page can only be displayed if all ancestor frames are same origin to the page itself.

SameSite - class in io.javalin.http
Value to define the SameSite property of a cookie.
scheme() - function in io.javalin.http.Context
Gets the request scheme.
scheme() - function in io.javalin.http.Context
Gets the request scheme.
SEE_OTHER - enum entry in io.javalin.http.HttpStatus

The server sent this response to direct the client to get the requested resource at another URI with a GET request.

SeekableWriter - class in io.javalin.http.util
 
SeeOtherResponse - class in io.javalin.http
 
send(ByteBuffer) - function in io.javalin.websocket.WsContext
Sends a ByteBuffer over the socket
send(ByteBuffer) - function in io.javalin.websocket.WsContext
Sends a ByteBuffer over the socket
send(Object) - function in io.javalin.websocket.WsContext
Serializes object to a JSON-string using the registered io.javalin.json.JsonMapper and sends it over the socket
send(Object) - function in io.javalin.websocket.WsContext
Serializes object to a JSON-string using the registered io.javalin.json.JsonMapper and sends it over the socket
send(String) - function in io.javalin.websocket.WsContext
Sends a String over the socket
send(String) - function in io.javalin.websocket.WsContext
Sends a String over the socket
sendAsClass(T) - function in io.javalin.websocket.WsContext
Reified version of sendAsClass (Kotlin only)
sendAsClass(T) - function in io.javalin.websocket.WsContext
Reified version of sendAsClass (Kotlin only)
sendAsClass(Object,Type) - function in io.javalin.websocket.WsContext
Serializes object to a JSON-string using the registered io.javalin.json.JsonMapper and sends it over the socket
sendAsClass(Object,Type) - function in io.javalin.websocket.WsContext
Serializes object to a JSON-string using the registered io.javalin.json.JsonMapper and sends it over the socket
sendComment(String) - function in io.javalin.http.sse.SseClient
Attempt to send a comment.
sendEvent(Object) - function in io.javalin.http.sse.SseClient
Calls sendEvent with event set to "message"
sendEvent(String,Object,String) - function in io.javalin.http.sse.SseClient
Attempt to send an event.
sendEvent(String,Object) - function in io.javalin.http.sse.SseClient
Attempt to send an event.
sendPing(ByteBuffer) - function in io.javalin.websocket.WsContext
Sends a ping over the socket
sendPing() - function in io.javalin.websocket.WsContext
Sends a ping over the socket
sendPing(ByteBuffer) - function in io.javalin.websocket.WsContext
Sends a ping over the socket
sendPing() - function in io.javalin.websocket.WsContext
Sends a ping over the socket
server() - function in io.javalin.jetty.JettyServer
 
SERVER_ERROR - enum entry in io.javalin.websocket.WsCloseStatus

The server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.

SERVER_START_FAILED - enum entry in io.javalin.event.JavalinLifecycleEvent

Event fired when an exception occurs while starting the Jetty Webserver

SERVER_STARTED - enum entry in io.javalin.event.JavalinLifecycleEvent

Event fired when the Jetty Webserver was started successfully

SERVER_STARTING - enum entry in io.javalin.event.JavalinLifecycleEvent

Event fired when attempting to start the Jetty Webserver

SERVER_STOP_FAILED - enum entry in io.javalin.event.JavalinLifecycleEvent

Event fired when an exception occurs while stopping the Jetty Webserver

SERVER_STOPPED - enum entry in io.javalin.event.JavalinLifecycleEvent

Event fired after the Jetty Webserver was stopped successfully

SERVER_STOPPING - enum entry in io.javalin.event.JavalinLifecycleEvent

Event fired when attempting to stop the Jetty Webserver

serverStarted(LifecycleEventListener) - function in io.javalin.config.EventConfig
Adds a callback to react on the Server Started event.
serverStartFailed(LifecycleEventListener) - function in io.javalin.config.EventConfig
Adds a callback to react on the Server Start Failed event.
serverStarting(LifecycleEventListener) - function in io.javalin.config.EventConfig
Adds a callback to react on the Server Starting event.
serverStopFailed(LifecycleEventListener) - function in io.javalin.config.EventConfig
Adds a callback to react on the Server Stop Failed event.
serverStopped(LifecycleEventListener) - function in io.javalin.config.EventConfig
Adds a callback to react on the Server Stopped event.
serverStopping(LifecycleEventListener) - function in io.javalin.config.EventConfig
Adds a callback to react on the Server Stopping event.
service(ServletRequest,ServletResponse) - function in jakarta.servlet.http.HttpServlet
 
SERVICE_RESTART - enum entry in io.javalin.websocket.WsCloseStatus

The server is terminating the connection because it is restarting.

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

The server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded.

ServiceUnavailableResponse - class in io.javalin.http
 
ServletEntry - class in io.javalin.http.servlet
 
sessionAttribute(String) - function in io.javalin.http.Context
Gets specified attribute from the user session, or null.
sessionAttribute(String) - function in io.javalin.http.Context
Gets specified attribute from the user session, or null.
sessionAttribute(String,Object) - function in io.javalin.http.Context
Sets an attribute for the user session.
sessionAttribute(String,Object) - function in io.javalin.http.Context
Sets an attribute for the user session.
sessionAttribute(String) - function in io.javalin.websocket.WsContext
Gets a session attribute by name
sessionAttribute(String) - function in io.javalin.websocket.WsContext
Gets a session attribute by name
sessionAttributeMap() - function in io.javalin.http.Context
Gets a map of all the attributes in the user session.
sessionAttributeMap() - function in io.javalin.http.Context
Gets a map of all the attributes in the user session.
sessionAttributeMap() - function in io.javalin.websocket.WsContext
Gets a Map with all the session attributes
sessionAttributeMap() - function in io.javalin.websocket.WsContext
Gets a Map with all the session attributes
sessionId() - function in io.javalin.websocket.WsContext
Returns a String of the session id
sessionId() - function in io.javalin.websocket.WsContext
Returns a String of the session id
set(String,Object) - function in io.javalin.http.util.CookieStore
Sets cookie store value for specified key.
setAcceptRanges(Boolean) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setAllowedMimeTypes(<Error class: unknown class>) - function in io.javalin.compression.CompressionStrategy
these mime types will always be allowed
setAttribute(String,Object) - function in jakarta.servlet.ServletRequestWrapper
 
setBaseResource(Resource) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setBeans(Collection) - function in org.eclipse.jetty.util.component.ContainerLifeCycle
 
setCacheControl(String) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setCharacterEncoding(String) - function in jakarta.servlet.ServletRequestWrapper
 
setChunkSize(Integer) - function in io.javalin.http.util.SeekableWriter
 
setComment(String) - function in io.javalin.http.Cookie
 
setCOOKIE_NAME(String) - function in io.javalin.http.util.CookieStore.Companion
 
setDefaultMinSizeForCompression(Integer) - function in io.javalin.compression.CompressionStrategy
1500 is the size of a packet, compressing responses smaller than this serves no purpose
setDirAllowed(Boolean) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setDirectoriesListed(Boolean) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setDomain(String) - function in io.javalin.http.Cookie
 
setEtags(Boolean) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setEventListeners(Collection) - function in org.eclipse.jetty.util.component.AbstractLifeCycle
 
setExceptionOccurred(Boolean) - function in io.javalin.http.servlet.JavalinServletContext
 
setExcludedMimeTypes(<Error class: unknown class>) - function in io.javalin.compression.CompressionStrategy
these mime types will be processed using NONE compression strategy
setGzipEquivalentFileExtensions(List) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setHandler(Handler) - function in org.eclipse.jetty.server.handler.HandlerWrapper
 
setHandlerAddedHandlers(<Error class: unknown class>) - function in io.javalin.event.EventManager
 
setHttpOnly(Boolean) - function in io.javalin.http.Cookie
 
setJavalinCookie(HttpServletResponse,Cookie) - function in io.javalin.http.CookieKt
 
setKeyFunction(Function1) - function in io.javalin.http.util.RateLimitUtil
 
setMaxAge(Integer) - function in io.javalin.http.Cookie
 
setMimeTypes(MimeTypes) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setName(String) - function in io.javalin.http.Cookie
 
setPath(String) - function in io.javalin.http.Cookie
 
setPathInfoOnly(Boolean) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setPrecompressedFormats(Array) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setPreUploadFunction(Function1) - function in io.javalin.http.util.MultipartUtil
 
setRedirectWelcome(Boolean) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setRequest(ServletRequest) - function in jakarta.servlet.ServletRequestWrapper
 
setResourceBase(String) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setSameSite(SameSite) - function in io.javalin.http.Cookie
 
setSecure(Boolean) - function in io.javalin.http.Cookie
 
setServer(Server) - function in org.eclipse.jetty.server.handler.AbstractHandlerContainer
 
setStackTrace(Array) - function in kotlin.Throwable
 
setStaticJavalin(JavalinDefaultRoutingApi) - function in io.javalin.apibuilder.ApiBuilder
 
setStylesheet(String) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
setup(SETUP) - function in io.javalin.router.RoutingSetupScope
 
setValue(String) - function in io.javalin.http.Cookie
 
setValue(Object) - function in io.javalin.validation.ValidationError
 
setVersion(Integer) - function in io.javalin.http.Cookie
 
setWelcomeFiles(Array) - function in org.eclipse.jetty.server.handler.ResourceHandler
 
SinglePageHandler - class in io.javalin.http
This is just a glorified 404 handler.
SinglePageHandler.Page - class in io.javalin.http.SinglePageHandler
 
size() - function in io.javalin.http.UploadedFile
 
SizeUnit - class in io.javalin.config
This class represents the potential file size descriptors to avoid the use of hard-coded multipliers
skipRemainingHandlers() - function in io.javalin.http.Context
 
skipRemainingHandlers() - function in io.javalin.http.servlet.JavalinServletContext
 
SLF4JSIMPLE - enum entry in io.javalin.util.CoreDependency
 
SpaRootConfig - class in io.javalin.config
Configures a Single Page Application root.
splitKeyValueStringAndGroupByKey(String,String) - function in io.javalin.http.servlet.JavalinServletContextKt
 
sse(String,Consumer) - function in io.javalin.apibuilder.ApiBuilder
 
sse(String,Consumer,Array) - function in io.javalin.apibuilder.ApiBuilder
 
sse(Consumer) - function in io.javalin.apibuilder.ApiBuilder
 
sse(Consumer,Array) - function in io.javalin.apibuilder.ApiBuilder
 
sse(String,Consumer) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a lambda handler for a Server Sent Event connection on the specified path.
sse(String,SseHandler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a lambda handler for a Server Sent Event connection on the specified path.
sse(String,SseHandler) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a lambda handler for a Server Sent Event connection on the specified path.
sse(String,Consumer) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a lambda handler for a Server Sent Event connection on the specified path.
sse(String,Consumer) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a lambda handler for a Server Sent Event connection on the specified path.
sse(String,Consumer,RouteRole) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a lambda handler for a Server Sent Event connection on the specified path.
sse(String,Consumer,RouteRole) - function in io.javalin.router.JavalinDefaultRoutingApi
Adds a lambda handler for a Server Sent Event connection on the specified path.
SseClient - class in io.javalin.http.sse
 
SseHandler - class in io.javalin.http.sse
 
SslRedirectPlugin - class in io.javalin.plugin.bundled
SslRedirectPlugin has to be the first registered plugin to properly handle all requests in 'before' handler.
SslRedirectPlugin.Config - class in io.javalin.plugin.bundled.SslRedirectPlugin
 
start() - function in io.javalin.Javalin
Synchronously starts the application instance on the configured port, or on the configured ServerConnectors if the Jetty server has been manually configured.
start(int) - function in io.javalin.Javalin
Synchronously starts the application instance on the specified port.
start(String,int) - function in io.javalin.Javalin
Synchronously starts the application instance on the specified port with the given host IP to bind to.
start(String,Integer) - function in io.javalin.jetty.JettyServer
 
start() - function in org.eclipse.jetty.util.component.AbstractLifeCycle
 
startAsync() - function in jakarta.servlet.ServletRequestWrapper
 
startAsync(ServletRequest,ServletResponse) - function in jakarta.servlet.ServletRequestWrapper
 
started() - function in io.javalin.jetty.JettyServer
 
startPlugins() - function in io.javalin.plugin.PluginManager
 
startup(String) - function in io.javalin.util.JavalinLogger
 
state(Context) - function in io.javalin.vue.VueComponent
 
state(Context) - function in io.javalin.vue.VueHandler
 
StaticFileConfig - class in io.javalin.http.staticfiles
The configuration for Static Files.
StaticFilesConfig - class in io.javalin.config
Configuration for static files and webjars.
staticInstance() - function in io.javalin.apibuilder.ApiBuilder
 
status() - function in io.javalin.http.Context
Gets the response status.
status() - function in io.javalin.http.Context
Gets the response status.
status(HttpStatus) - function in io.javalin.http.Context
Sets the response status.
status(HttpStatus) - function in io.javalin.http.Context
Sets the response status.
status(Integer) - function in io.javalin.http.Context
Sets the response status.
status(Integer) - function in io.javalin.http.Context
Sets the response status.
status() - function in io.javalin.websocket.WsCloseContext
The int status for why connection was closed
statusCode() - function in io.javalin.http.Context
Gets the response status code
statusCode() - function in io.javalin.http.Context
Gets the response status code
stop() - function in io.javalin.Javalin
Synchronously stops the application instance.
stop() - function in io.javalin.jetty.JettyServer
 
stop() - function in org.eclipse.jetty.util.component.AbstractLifeCycle
 
STORAGE - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.ClearSiteData

Indicates that the server wishes to remove all DOM storage for the origin of the response URL. This includes storage mechanisms such as:localStorage, sessionStorage, IndexedDB, Service worker registrations, Web SQL databases (deprecated), FileSystem API data, Plugin data.

streamToFile(InputStream,String) - function in io.javalin.util.FileUtil
 
STRICT - enum entry in io.javalin.http.SameSite

Means that the browser sends the cookie only for same-site requests, that is, requests originating from the same site that set the cookie. If a request originates from a different domain or scheme (even with the same domain), no cookies with the SameSite=Strict attribute are sent.

STRICT_ORIGIN - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.ReferrerPolicy

Send only the origin when the protocol security level stays the same (HTTPS→HTTPS). Don't send the Referer header to less secure destinations (HTTPS→HTTP).

STRICT_ORIGIN_WHEN_CROSS_ORIGIN - enum entry in io.javalin.plugin.bundled.GlobalHeadersConfig.ReferrerPolicy

Send the origin, path, and querystring when performing a same-origin request. For cross-origin requests send the origin (only) when the protocol security level stays same (HTTPS→HTTPS). Don't send the Referer header to less secure destinations (HTTPS→HTTP).

strictTransportSecurity(Duration,Boolean) - function in io.javalin.plugin.bundled.GlobalHeadersConfig
Adds a Strict-Transport-Security header.
submitAsyncTask(Context,AsyncTaskConfig,ThrowingRunnable) - function in io.javalin.http.util.AsyncExecutor
Utility method that executes task asynchronously using executor (defaultExecutor by default).
SubmitOrder - class in io.javalin.http.servlet
 
SWITCHING_PROTOCOLS - enum entry in io.javalin.http.HttpStatus

This code is sent in response to an Upgrade request header from the client and indicates the protocol the server is switching to.

SwitchingProtocolsResponse - class in io.javalin.http
 
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X