cn.felord.payment.wechat.v3

## 类 WechatResponseEntity<T>

- java.lang.Object
- - cn.felord.payment.wechat.v3.WechatResponseEntity<T>

- 类型参数:
    `T` - the type parameter

      public class WechatResponseEntity<T>
      extends Object

  The type Wechat response entity.
  从以下版本开始:
    1.0.0.RELEASE
  作者:
    felord.cn

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `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.

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### 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

Copyright © 2022. All rights reserved.