- java.lang.Object
-
- com.appslandia.common.base.MapWrapper<String,Object>
-
- com.appslandia.common.jwt.JwtClaims
-
- com.appslandia.common.jwt.JwtHeader
-
- All Implemented Interfaces:
Serializable,Map<String,Object>
public class JwtHeader extends JwtClaims
- Author:
- Loc Ha
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()StringgetKid()StringgetType()JwtHeaderset(String key, Object value)JwtHeadersetAlgorithm(String value)JwtHeadersetArray(String key, Object... values)JwtHeadersetKid(String value)JwtHeadersetNumericDate(String key, long timeInMs)JwtHeadersetNumericDate(String key, Date value)JwtHeadersetType(String value)-
Methods inherited from class com.appslandia.common.jwt.JwtClaims
getDate, getNumericDate, put
-
Methods inherited from class com.appslandia.common.base.MapWrapper
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Field Detail
-
TYP
public static final String TYP
- See Also:
- Constant Field Values
-
ALG
public static final String ALG
- See Also:
- Constant Field Values
-
KID
public static final String KID
- See Also:
- Constant Field Values
-
-
Method Detail
-
setNumericDate
public JwtHeader setNumericDate(String key, Date value)
- Overrides:
setNumericDatein classJwtClaims
-
setNumericDate
public JwtHeader setNumericDate(String key, long timeInMs)
- Overrides:
setNumericDatein classJwtClaims
-
getType
public String getType()
-
getAlgorithm
public String getAlgorithm()
-
getKid
public String getKid()
-
-