Class HttpStrictMultipart

    • Constructor Detail

      • HttpStrictMultipart

        public HttpStrictMultipart​(java.nio.charset.Charset charset,
                                   java.lang.String boundary,
                                   java.util.List<MultipartPart> parts)
        Constructs a new instance of HttpStrictMultipart 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.
      • HttpStrictMultipart

        public HttpStrictMultipart​(java.nio.charset.Charset charset,
                                   java.lang.String boundary,
                                   java.util.List<MultipartPart> parts,
                                   java.lang.String preamble,
                                   java.lang.String epilogue)
        Constructs a new instance of HttpStrictMultipart 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 preamble string to use.
        epilogue - the epilogue string to use.