public static class JwtUtils.ResponsePermission extends java.lang.Object implements JsonSerializable
Constructor and Description |
---|
ResponsePermission() |
Modifier and Type | Method and Description |
---|---|
JwtUtils.ResponsePermission |
expires(java.time.Duration expires) |
JwtUtils.ResponsePermission |
expires(long expiresMillis) |
JwtUtils.ResponsePermission |
maxMsgs(int maxMsgs) |
java.lang.String |
toJson() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serialize, toJsonValue
public JwtUtils.ResponsePermission maxMsgs(int maxMsgs)
public JwtUtils.ResponsePermission expires(java.time.Duration expires)
public JwtUtils.ResponsePermission expires(long expiresMillis)
public java.lang.String toJson()
toJson
in interface JsonSerializable