| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
protected static long |
RESPONSE_EXPIRED_MINUTES
应答超时时间,单位为分钟
|
protected Verifier |
verifier |
| Constructor and Description |
|---|
WechatPay2Validator(Verifier verifier) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
buildMessage(org.apache.http.client.methods.CloseableHttpResponse response) |
protected java.lang.String |
getResponseBody(org.apache.http.client.methods.CloseableHttpResponse response) |
protected static java.lang.IllegalArgumentException |
parameterError(java.lang.String message,
java.lang.Object... args) |
boolean |
validate(org.apache.http.client.methods.CloseableHttpResponse response) |
protected void |
validateParameters(org.apache.http.client.methods.CloseableHttpResponse response) |
protected static java.lang.IllegalArgumentException |
verifyFail(java.lang.String message,
java.lang.Object... args) |
protected static final org.slf4j.Logger log
protected static final long RESPONSE_EXPIRED_MINUTES
protected final Verifier verifier
public WechatPay2Validator(Verifier verifier)
protected static java.lang.IllegalArgumentException parameterError(java.lang.String message,
java.lang.Object... args)
protected static java.lang.IllegalArgumentException verifyFail(java.lang.String message,
java.lang.Object... args)
public final boolean validate(org.apache.http.client.methods.CloseableHttpResponse response)
throws java.io.IOException
protected final void validateParameters(org.apache.http.client.methods.CloseableHttpResponse response)
protected final java.lang.String buildMessage(org.apache.http.client.methods.CloseableHttpResponse response)
throws java.io.IOException
java.io.IOExceptionprotected final java.lang.String getResponseBody(org.apache.http.client.methods.CloseableHttpResponse response)
throws java.io.IOException
java.io.IOException