cn.felord.payment.wechat.v3

## 类 WechatRequestEntity<T>

- java.lang.Object
- - org.springframework.http.HttpEntity<T>
  - - org.springframework.http.RequestEntity<T>
    - - cn.felord.payment.wechat.v3.WechatRequestEntity<T>

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

      public class WechatRequestEntity<T>
      extends org.springframework.http.RequestEntity<T>

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

- - ### 嵌套类概要

    - ### 从类继承的嵌套类/接口 org.springframework.http.RequestEntity

      `org.springframework.http.RequestEntity.BodyBuilder, org.springframework.http.RequestEntity.HeadersBuilder<B extends org.springframework.http.RequestEntity.HeadersBuilder<B>>, org.springframework.http.RequestEntity.UriTemplateRequestEntity<T>`

  - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `private Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>>` | `responseBodyConsumer` The Response body consumer.

    - ### 从类继承的字段 org.springframework.http.HttpEntity

      `EMPTY`

  - ### 构造器概要

    构造器
    构造器和说明
    `WechatRequestEntity(T body, org.springframework.util.MultiValueMap<String,String> headers, org.springframework.http.HttpMethod method, URI url, Type type, Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)` Instantiates a new Wechat request entity.

  - ### 方法概要

    所有方法 静态方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `WechatRequestEntity<T>` | `headers(org.springframework.http.HttpHeaders httpHeaders)` Headers wechat request entity.
    `static WechatRequestEntity<?>` | `of(org.springframework.http.RequestEntity<?> requestEntity, Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)` Of wechat request entity.

    - ### 从类继承的方法 org.springframework.http.RequestEntity

      `delete, delete, equals, get, get, getMethod, getType, getUrl, hashCode, head, head, method, method, method, options, options, patch, patch, post, post, put, put, toString`

    - ### 从类继承的方法 org.springframework.http.HttpEntity

      `getBody, getHeaders, hasBody`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### 字段详细资料

    - #### responseBodyConsumer

          private final Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer

      The Response body consumer.

  - ### 构造器详细资料

    - #### WechatRequestEntity

          public WechatRequestEntity(T body,
                                     org.springframework.util.MultiValueMap<String,String> headers,
                                     org.springframework.http.HttpMethod method,
                                     URI url,
                                     Type type,
                                     Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)

      Instantiates a new Wechat request entity.
      参数:
        `body` - the body
        `headers` - the headers
        `method` - the method
        `url` - the url
        `type` - the type
        `responseBodyConsumer` - the response body consumer

  - ### 方法详细资料

    - #### headers

          public WechatRequestEntity<T> headers(org.springframework.http.HttpHeaders httpHeaders)

      Headers wechat request entity.
      参数:
        `httpHeaders` - the http headers
      返回:
        the wechat request entity

    - #### of

          public static WechatRequestEntity<?> of(org.springframework.http.RequestEntity<?> requestEntity,
                                                  Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)

      Of wechat request entity.
      参数:
        `requestEntity` - the request entity
        `responseBodyConsumer` - the response body consumer
      返回:
        the wechat request entity

Copyright © 2022. All rights reserved.