Package org.frankframework.http.mime
Class MultipartUtils
java.lang.Object
org.frankframework.http.mime.MultipartUtils
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MessageContext
getContext
(jakarta.mail.Part part) static String
getFieldName
(jakarta.mail.Part part) static String
getFieldName
(jakarta.xml.soap.AttachmentPart part) static String
getFileName
(jakarta.mail.Part part) static String
getFileName
(jakarta.xml.soap.AttachmentPart attachmentPart) static boolean
isBinary
(jakarta.mail.Part part) static boolean
isMultipart
(jakarta.servlet.http.HttpServletRequest request) parseMultipart
(InputStream inputStream, String contentType) parseMultipart
(Iterator<jakarta.xml.soap.AttachmentPart> attachmentParts)
-
Field Details
-
FORM_DATA
- See Also:
-
MULTIPART
- See Also:
-
ATTACHMENT
- See Also:
-
METADATA_PARTNAME
- See Also:
-
MULTIPART_ATTACHMENTS_SESSION_KEY
- See Also:
-
-
Method Details
-
isMultipart
public static boolean isMultipart(jakarta.servlet.http.HttpServletRequest request) -
getFieldName
-
getFieldName
-
getFileName
@Nullable public static String getFileName(jakarta.mail.Part part) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-
getFileName
-
getContext
public static MessageContext getContext(jakarta.mail.Part part) throws jakarta.mail.MessagingException - Throws:
jakarta.mail.MessagingException
-
isBinary
public static boolean isBinary(jakarta.mail.Part part) -
parseMultipart
public static MultipartUtils.MultipartMessages parseMultipart(InputStream inputStream, String contentType) throws IOException - Throws:
IOException
-
parseMultipart
public static MultipartUtils.MultipartMessages parseMultipart(Iterator<jakarta.xml.soap.AttachmentPart> attachmentParts)
-