Class MultipartEntityBuilder


  • public class MultipartEntityBuilder
    extends java.lang.Object
    Builder for multipart HttpEntitys.
    Since:
    5.0
    • Field Detail

      • 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
      • boundary

        private java.lang.String boundary
      • charset

        private java.nio.charset.Charset charset
      • multipartParts

        private java.util.List<MultipartPart> multipartParts
      • EMPTY_NAME_VALUE_ARRAY

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

      • MultipartEntityBuilder

        MultipartEntityBuilder()