
hudson.tasks.HudsonMimeMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hudson-core Show documentation
Show all versions of hudson-core Show documentation
Contains the core Hudson code and view files to render HTML.
The newest version!
package hudson.tasks;
import java.io.InputStream;
import javax.mail.MessagingException;
import javax.mail.Session;
import javax.mail.internet.MimeMessage;
/**
* Class extends MimeMessage from javax.mail, because parent doesn't provide with appropriate getters.
*
* Date: 7/25/11
*
* @author Nikita Levyankov
*/
public class HudsonMimeMessage extends MimeMessage {
public HudsonMimeMessage(Session session) {
super(session);
}
public HudsonMimeMessage(Session session, InputStream is) throws MessagingException {
super(session, is);
}
/**
* Returns {@link Session} instance
* @return session.
*/
public Session getSession() {
return session;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy