Class MimeMessage.RecipientType

    • Constructor Detail

      • RecipientType

        protected RecipientType​(String type)
    • Method Detail

      • readResolve

        protected Object readResolve()
                              throws ObjectStreamException
        Description copied from class: Message.RecipientType
        When deserializing a RecipientType, we need to make sure to return only one of the known static final instances defined in this class. Subclasses must implement their own readResolve method that checks for their known instances before calling this super method.
        readResolve in class Message.RecipientType
        the RecipientType object instance
        ObjectStreamException - for object stream errors