public class Token extends Object implements Serializable
Constructor and Description |
---|
Token(String id) |
Token(String id,
long expirationTime) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
long |
getExpirationTime() |
String |
getId()
Returns a string containing the unique identifier assigned to this token.
|
int |
hashCode()
expirationTime 不予考虑, 因为就算 expirationTime 不同也认为是相同的 token.
|
public String getId()
public long getExpirationTime()
public int hashCode()
Copyright © 2018. All rights reserved.