cn.felord.payment.wechat.v3

## 类 ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage

- java.lang.Object
- - cn.felord.payment.wechat.v3.ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage

- 所有已实现的接口:
    org.springframework.http.HttpMessage, org.springframework.http.HttpOutputMessage
  封闭类:
    ExtensionFormHttpMessageConverter

      private static class ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage
      extends Object
      implements org.springframework.http.HttpOutputMessage

  The type Multipart http output message.

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `private Charset` | `charset` The Charset.
    `private org.springframework.http.HttpHeaders` | `headers` The Headers.
    `private boolean` | `headersWritten` The Headers written.
    `private OutputStream` | `outputStream` The Output stream.

  - ### 构造器概要

    构造器
    构造器和说明
    `MultipartHttpOutputMessage(OutputStream outputStream, Charset charset)` Instantiates a new Multipart http output message.

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `OutputStream` | `getBody()`
    `private byte[]` | `getBytes(String name)` Get bytes byte [ ].
    `org.springframework.http.HttpHeaders` | `getHeaders()`
    `private void` | `writeHeaders()` Write headers.

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

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

- - ### 字段详细资料

    - #### outputStream

          private final OutputStream outputStream

      The Output stream.

    - #### charset

          private final Charset charset

      The Charset.

    - #### headers

          private final org.springframework.http.HttpHeaders headers

      The Headers.

    - #### headersWritten

          private boolean headersWritten

      The Headers written.

  - ### 构造器详细资料

    - #### MultipartHttpOutputMessage

          public MultipartHttpOutputMessage(OutputStream outputStream,
                                            Charset charset)

      Instantiates a new Multipart http output message.
      参数:
        `outputStream` - the output stream
        `charset` - the charset

  - ### 方法详细资料

    - #### getHeaders

          public org.springframework.http.HttpHeaders getHeaders()

      指定者:
        `getHeaders` 在接口中 `org.springframework.http.HttpMessage`

    - #### getBody

          public OutputStream getBody()
                               throws IOException

      指定者:
        `getBody` 在接口中 `org.springframework.http.HttpOutputMessage`
      抛出:
        `IOException`

    - #### writeHeaders

          private void writeHeaders()
                             throws IOException

      Write headers.
      抛出:
        `IOException` - the io exception

    - #### getBytes

          private byte[] getBytes(String name)

      Get bytes byte [ ].
      参数:
        `name` - the name
      返回:
        the byte [ ]

Copyright © 2021. All rights reserved.