Class SlardarLocaleProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = SlardarLocaleProp.Key) public class SlardarLocaleProp
Get the language/timezone by key from param, cookie and header respectively
- Since:
2021-02-14
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic List<String>localeParampublic final static StringKey$localeParampublic List<String>localeCookiepublic final static StringKey$localeCookiepublic List<String>localeHeaderpublic final static StringKey$localeHeaderpublic List<String>zoneidParampublic final static StringKey$zoneidParampublic List<String>zoneidCookiepublic final static StringKey$zoneidCookiepublic List<String>zoneidHeaderpublic final static StringKey$zoneidHeader
-
Constructor Summary
Constructors Constructor Description SlardarLocaleProp()
-
Method Summary
Modifier and Type Method Description List<String>getLocaleParam()Get the language by key from param voidsetLocaleParam(List<String> localeParam)Get the language by key from param List<String>getLocaleCookie()Get the language by key from cookie voidsetLocaleCookie(List<String> localeCookie)Get the language by key from cookie List<String>getLocaleHeader()Get the language by key from header voidsetLocaleHeader(List<String> localeHeader)Get the language by key from header List<String>getZoneidParam()Get the timezone by key from param voidsetZoneidParam(List<String> zoneidParam)Get the timezone by key from param List<String>getZoneidCookie()Get the timezone by key from cookie voidsetZoneidCookie(List<String> zoneidCookie)Get the timezone by key from cookie List<String>getZoneidHeader()Get the timezone by key from header voidsetZoneidHeader(List<String> zoneidHeader)Get the timezone by key from header booleanequals(@Nullable() Object o)inthashCode()StringtoString()-
-
Method Detail
-
getLocaleParam
List<String> getLocaleParam()
Get the language by key from param
-
setLocaleParam
void setLocaleParam(List<String> localeParam)
Get the language by key from param
-
getLocaleCookie
List<String> getLocaleCookie()
Get the language by key from cookie
-
setLocaleCookie
void setLocaleCookie(List<String> localeCookie)
Get the language by key from cookie
-
getLocaleHeader
List<String> getLocaleHeader()
Get the language by key from header
-
setLocaleHeader
void setLocaleHeader(List<String> localeHeader)
Get the language by key from header
-
getZoneidParam
List<String> getZoneidParam()
Get the timezone by key from param
-
setZoneidParam
void setZoneidParam(List<String> zoneidParam)
Get the timezone by key from param
-
getZoneidCookie
List<String> getZoneidCookie()
Get the timezone by key from cookie
-
setZoneidCookie
void setZoneidCookie(List<String> zoneidCookie)
Get the timezone by key from cookie
-
getZoneidHeader
List<String> getZoneidHeader()
Get the timezone by key from header
-
setZoneidHeader
void setZoneidHeader(List<String> zoneidHeader)
Get the timezone by key from header
-
hashCode
int hashCode()
-
-
-
-