public class JsTicket extends Object implements RetryUtils.ResultCheck, Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCacheJson() |
Integer |
getErrorCode() |
String |
getErrorMsg() |
Long |
getExpiredTime() |
Integer |
getExpiresIn() |
String |
getJson() |
String |
getTicket() |
boolean |
isAvailable() |
boolean |
isSucceed()
APi 请求是否成功返回
|
boolean |
matching() |
public JsTicket(String jsonStr)
public String getJson()
getJson 在接口中 RetryUtils.ResultCheckpublic String getCacheJson()
public boolean isAvailable()
public String getTicket()
public Integer getExpiresIn()
public Integer getErrorCode()
public String getErrorMsg()
public Long getExpiredTime()
public boolean isSucceed()
public boolean matching()
matching 在接口中 RetryUtils.ResultCheckCopyright © 2017. All rights reserved.