Uses of Class
org.jgrapes.http.LanguageSelector
Package
Description
Provides components for building a HTTP server based on the
core and IO components.
-
Uses of LanguageSelector in org.jgrapes.http
Modifier and TypeMethodDescriptionLanguageSelector.setCookieMaxAge
(Duration maxAge) Sets the max age of the cookie used to store the preferences.LanguageSelector.setCookieName
(String cookieName) Sets the name of the cookie used to store the locale.LanguageSelector.setSameSiteAttribute
(Converters.SameSiteAttribute attribute) Sets the same site attribute for the locale cookie defaults toLax
.