类 WechatResponseEntity<T>

  • 类型参数:
    T - the type parameter

    public class WechatResponseEntity<T>
    extends Object
    The type Wechat response entity.
    作者:
    youta
    • 字段详细资料

      • httpStatus

        private int httpStatus
        The Http status.
      • body

        private T body
        The Body.
    • 构造器详细资料

      • WechatResponseEntity

        public WechatResponseEntity()
    • 方法详细资料

      • convert

        public void convert​(org.springframework.http.ResponseEntity<T> responseEntity)
        Convert ResponseEntity to WechatResponseEntity.
        参数:
        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