public class HttpMultipartEncoder extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AMBIGUOUS_TYPE_ERROR_MESSAGE |
static String |
MANDATORY_TYPE_ERROR_MESSAGE |
Modifier and Type | Method and Description |
---|---|
static MimeMultipart |
createContent(MultipartHttpEntity body,
String contentType) |
static byte[] |
createMultipartContent(MultipartHttpEntity multipartEntity,
String contentType) |
public static final String MANDATORY_TYPE_ERROR_MESSAGE
public static final String AMBIGUOUS_TYPE_ERROR_MESSAGE
public static MimeMultipart createContent(MultipartHttpEntity body, String contentType)
public static byte[] createMultipartContent(MultipartHttpEntity multipartEntity, String contentType) throws IOException, MessagingException
IOException
MessagingException
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.