T - the type parameterpublic class WechatResponseEntity<T> extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private T |
body
The Body.
|
private int |
httpStatus
The Http status.
|
| 构造器和说明 |
|---|
WechatResponseEntity() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
convert(org.springframework.http.ResponseEntity<T> responseEntity)
Convert
ResponseEntity to WechatResponseEntity. |
boolean |
is1xxInformational()
Is 1 xx informational boolean.
|
boolean |
is2xxSuccessful()
Is 2xx successful boolean.
|
boolean |
is3xxRedirection()
Is 3xx redirection boolean.
|
boolean |
is4xxClientError()
Is 4xx client error boolean.
|
boolean |
is5xxServerError()
Is 5xx server error boolean.
|
private int httpStatus
private T body
public void convert(org.springframework.http.ResponseEntity<T> responseEntity)
ResponseEntity to WechatResponseEntity.responseEntity - the response entitypublic boolean is1xxInformational()
public boolean is2xxSuccessful()
public boolean is3xxRedirection()
public boolean is4xxClientError()
public boolean is5xxServerError()
Copyright © 2021. All rights reserved.