Interface MultipartRelatedHandler
-
- All Known Implementing Classes:
DefaultMultipartRelatedHandler
,MimicMultipartAlternativeRelatedHandler
,RFC2387MultipartRelatedHandler
public interface MultipartRelatedHandler
Interface for providing multipart/related stream processing logic for theMultipartRelatedWorker
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MultipartRelatedHandlerResult
handleMultipartRelated(Stream stream, javax.mail.Multipart m, NodeWorker nodeWorker)
Processes the multipart/related stream.
-
-
-
Method Detail
-
handleMultipartRelated
MultipartRelatedHandlerResult handleMultipartRelated(Stream stream, javax.mail.Multipart m, NodeWorker nodeWorker) throws javax.mail.MessagingException
Processes the multipart/related stream.- Parameters:
stream
- the provided multipart/related stream.m
- the mail multipart object that is extracted from the stream.nodeWorker
- the worker calling this handler. Used for executing functions in the context of the worker (e.g. warn())- Throws:
javax.mail.MessagingException
- if a mail object related exception occurs.
-
-