| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENT_REQUEST_LOCALE |
static String |
KC_LOCALE_PARAM |
static String |
LOCALE_COOKIE |
static String |
USER_REQUEST_LOCALE |
| Modifier and Type | Method and Description |
|---|---|
void |
expireLocaleCookie(RealmModel realm,
javax.ws.rs.core.UriInfo uriInfo) |
Locale |
resolveLocale(UserModel user)
Resolve the locale which should be used for the request
|
void |
updateLocaleCookie(RealmModel realm,
String locale,
javax.ws.rs.core.UriInfo uriInfo) |
void |
updateUsersLocale(UserModel user,
String locale) |
static final String LOCALE_COOKIE
static final String KC_LOCALE_PARAM
static final String CLIENT_REQUEST_LOCALE
static final String USER_REQUEST_LOCALE
Locale resolveLocale(UserModel user)
user - void updateLocaleCookie(RealmModel realm, String locale, javax.ws.rs.core.UriInfo uriInfo)
void expireLocaleCookie(RealmModel realm, javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2020 JBoss by Red Hat. All rights reserved.