Class RFC2387MultipartRelatedHandler
- java.lang.Object
-
- com.levigo.jadice.server.javamail.internal.multipart.related.RFC2387MultipartRelatedHandler
-
- All Implemented Interfaces:
MultipartRelatedHandler
public class RFC2387MultipartRelatedHandler extends Object implements MultipartRelatedHandler
The default implementation used to handle multipart/related messages. This logic is based on the RFC 2387 and the rules described in that particular RFC.
-
-
Constructor Summary
Constructors Constructor Description RFC2387MultipartRelatedHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultipartRelatedHandlerResult
handleMultipartRelated(Stream stream, javax.mail.Multipart m, NodeWorker nodeWorker)
Processes the multipart/related stream.
-
-
-
Method Detail
-
handleMultipartRelated
public MultipartRelatedHandlerResult handleMultipartRelated(Stream stream, javax.mail.Multipart m, NodeWorker nodeWorker) throws javax.mail.MessagingException
Description copied from interface:MultipartRelatedHandler
Processes the multipart/related stream.- Specified by:
handleMultipartRelated
in interfaceMultipartRelatedHandler
- 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.
-
-