Class HttpRFC7578Multipart

java.lang.Object
org.apache.hc.client5.http.entity.mime.AbstractMultipartFormat
org.apache.hc.client5.http.entity.mime.HttpRFC7578Multipart

class HttpRFC7578Multipart extends AbstractMultipartFormat
  • Field Details

  • Constructor Details

    • HttpRFC7578Multipart

      public HttpRFC7578Multipart(Charset charset, String boundary, List<MultipartPart> parts, String preamble, String epilogue)
      Constructs a new instance of HttpRFC7578Multipart with the given charset, boundary, parts, preamble, and epilogue.
      Parameters:
      charset - the charset to use.
      boundary - the boundary string to use.
      parts - the list of parts to include in the multipart message.
      preamble - the optional preamble string to include before the first part. May be null.
      epilogue - the optional epilogue string to include after the last part. May be null.
    • HttpRFC7578Multipart

      public HttpRFC7578Multipart(Charset charset, String boundary, List<MultipartPart> parts)
      Constructs a new instance of HttpRFC7578Multipart with the given charset, boundary, and parts.
      Parameters:
      charset - the charset to use.
      boundary - the boundary string to use.
      parts - the list of parts to include in the multipart message.
  • Method Details