Class MultipartEntityBuilder

java.lang.Object
org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder

public class MultipartEntityBuilder extends Object
Builder for multipart HttpEntitys.
Since:
5.0
  • Field Details

    • MULTIPART_CHARS

      private static final char[] MULTIPART_CHARS
      The pool of ASCII chars to be used for generating a multipart boundary.
    • contentType

      private org.apache.hc.core5.http.ContentType contentType
    • mode

      private HttpMultipartMode mode
    • boundary

      private String boundary
    • charset

      private Charset charset
    • multipartParts

      private List<MultipartPart> multipartParts
    • preamble

      private String preamble
      The preamble of the multipart message. This field stores the optional preamble that should be added at the beginning of the multipart message. It can be null if no preamble is needed.
    • epilogue

      private String epilogue
      The epilogue of the multipart message. This field stores the optional epilogue that should be added at the end of the multipart message. It can be null if no epilogue is needed.
    • EMPTY_NAME_VALUE_ARRAY

      private static final org.apache.hc.core5.http.NameValuePair[] EMPTY_NAME_VALUE_ARRAY
      An empty immutable NameValuePair array.
  • Constructor Details

    • MultipartEntityBuilder

      MultipartEntityBuilder()
  • Method Details