类 WechatResponseEntity<T>
- java.lang.Object
-
- cn.crushes.cloud.core.pay.wechat.v3.WechatResponseEntity<T>
-
- 类型参数:
T- the type parameter
public class WechatResponseEntity<T> extends Object
The type Wechat response entity.- 作者:
- youta
-
-
字段概要
字段 修饰符和类型 字段 说明 private TbodyThe Body.private inthttpStatusThe Http status.
-
构造器概要
构造器 构造器 说明 WechatResponseEntity()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidconvert(org.springframework.http.ResponseEntity<T> responseEntity)ConvertResponseEntitytoWechatResponseEntity.booleanis1xxInformational()Is 1 xx informational boolean.booleanis2xxSuccessful()Is 2xx successful boolean.booleanis3xxRedirection()Is 3xx redirection boolean.booleanis4xxClientError()Is 4xx client error boolean.booleanis5xxServerError()Is 5xx server error boolean.
-
-
-
字段详细资料
-
httpStatus
private int httpStatus
The Http status.
-
body
private T body
The Body.
-
-
方法详细资料
-
convert
public void convert(org.springframework.http.ResponseEntity<T> responseEntity)
ConvertResponseEntitytoWechatResponseEntity.- 参数:
responseEntity- the response entity
-
is1xxInformational
public boolean is1xxInformational()
Is 1 xx informational boolean.- 返回:
- the boolean
-
is2xxSuccessful
public boolean is2xxSuccessful()
Is 2xx successful boolean.- 返回:
- the boolean
-
is3xxRedirection
public boolean is3xxRedirection()
Is 3xx redirection boolean.- 返回:
- the boolean
-
is4xxClientError
public boolean is4xxClientError()
Is 4xx client error boolean.- 返回:
- the boolean
-
is5xxServerError
public boolean is5xxServerError()
Is 5xx server error boolean.- 返回:
- the boolean
-
-