Searched defs:session (Results 1 - 25 of 38) sorted by relevance

12

/javamail/dsn/src/test/java/com/sun/mail/dsn/
H A DMultipartReportTest.java56 private static Session session = Session.getInstance(new Properties()); field in class:MultipartReportTest
60 MimeMessage msg = new MimeMessage(session);
/javamail/gimap/src/main/java/com/sun/mail/gimap/
H A DGmailSSLStore.java59 * @param session the Session
62 public GmailSSLStore(Session session, URLName url) { argument
63 super(session, url, "gimaps", true);
H A DGmailMessage.java75 * @param session the Session
77 protected GmailMessage(Session session) { argument
78 super(session);
H A DGmailStore.java67 * @param session the Session
70 public GmailStore(Session session, URLName url) { argument
71 this(session, url, "gimap", true);
77 * @param session the Session
82 protected GmailStore(Session session, URLName url, argument
84 super(session, url, name, true); // Gmail requires SSL
98 session.getProperties(),
/javamail/mail/src/main/java/com/sun/mail/imap/
H A DIMAPSSLStore.java55 * @param session the Session
58 public IMAPSSLStore(Session session, URLName url) { argument
59 super(session, url, "imaps", true); // call super constructor
H A DIdleManager.java67 * final IdleManager idleManager = new IdleManager(session, es);
73 * final IdleManager idleManager = new IdleManager(session, es);
102 * Properties props = session.getProperties();
103 * props.put("mail.event.scope", "session"); // or "application"
151 * @param session the Session containing configuration information
155 public IdleManager(Session session, Executor es) throws IOException { argument
157 logger = new MailLogger(this.getClass(), "DEBUG IMAP", session);
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DPOP3SSLStore.java52 public POP3SSLStore(Session session, URLName url) { argument
53 super(session, url, "pop3s", true);
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPSSLTransport.java57 * @param session the Session
60 public SMTPSSLTransport(Session session, URLName urlname) { argument
61 super(session, urlname, "smtps", true);
/javamail/mail/src/test/java/javax/mail/internet/
H A DMimeMultipartParseTest.java60 private static Session session = field in class:MimeMultipartParseTest
103 MimeMessage msg = new MimeMessage(session);
143 msg = new MimeMessage(session, shared ?
H A DReferencesTest.java56 private static Session session = Session.getInstance(new Properties()); field in class:ReferencesTest
106 MimeMessage msg = new MimeMessage(session);
/javamail/mbox/src/main/java/com/sun/mail/remote/
H A DPOP3RemoteStore.java53 public POP3RemoteStore(Session session, URLName url) { argument
54 super(session, url);
57 protected Store getRemoteStore(Session session, URLName url) { argument
58 return new POP3Store(session, url);
H A DRemoteStore.java60 public RemoteStore(Session session, URLName url) { argument
61 super(session, url);
62 remoteStore = getRemoteStore(session, url);
70 protected abstract Store getRemoteStore(Session session, URLName url); argument
/javamail/demo/src/main/java/internal/
H A Dfpopulate.java51 static Session session; field in class:fpopulate
91 session = Session.getDefaultInstance(
93 session.setDebug(debug);
108 Store s = session.getStore(dstURLName);
112 dstFolder = session.getFolder(new URLName(dstURL));
211 MimeMessage msg = new MimeMessage(session, is);
/javamail/outlook/src/main/java/
H A DMSMessage.java62 public MSMessage(Session session, MimeMessage msg) argument
64 super(session);
92 public MSMessage(Session session, InputStream is) argument
94 super(session); // setup headerstore etc
/javamail/taglib/src/main/java/demo/
H A DListMessagesTag.java48 private String session; field in class:ListMessagesTag
63 * session attribute getter method.
66 return session;
77 * session attribute setter method.
79 public void setSession(String session) { argument
80 this.session = session;
H A DMessageTag.java45 private String session; field in class:MessageTag
63 * session attribute getter method.
66 return session;
84 * session attribute setter method.
86 public void setSession(String session) { argument
87 this.session = session;
/javamail/demo/src/main/java/
H A Dtransport.java40 * retrieves a Transport from the session based on the type of the
92 Session session = Session.getInstance(props, null);
93 session.setDebug(debug);
96 t.go(session, addrs, from);
101 public void go(Session session, InternetAddress[] toAddr, argument
107 Message msg = new MimeMessage(session);
116 trans = session.getTransport(toAddr[0]);
/javamail/mail/src/main/java/com/sun/mail/util/
H A DPropUtil.java86 * @param session the Session
91 public static int getIntSessionProperty(Session session, argument
93 return getInt(getProp(session.getProperties(), name), def);
99 * @param session the Session
104 public static boolean getBooleanSessionProperty(Session session, argument
106 return getBoolean(getProp(session.getProperties(), name), def);
H A DMailLogger.java148 * @param session where to get the debug flag and PrintStream
150 public MailLogger(String name, String prefix, Session session) { argument
151 this(name, prefix, session.getDebug(), session.getDebugOut());
162 * @param session where to get the debug flag and PrintStream
164 public MailLogger(Class<?> clazz, String prefix, Session session) { argument
165 this(clazz, prefix, session.getDebug(), session.getDebugOut());
/javamail/mail/src/oldtest/java/javax/mail/internet/
H A Dmessagecachetest.java65 static Session session; field in class:messagecachetest
112 session = Session.getInstance(props, null);
113 session.setDebug(debug);
119 store = session.getStore(urln);
123 store = session.getStore(protocol);
125 store = session.getStore();
211 MimeMessage msg = new MimeMessage(session);
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMboxStore.java65 public MboxStore(Session session, URLName url) { argument
66 super(session, url);
134 return session;
/javamail/webapp/src/main/java/demo/
H A DMailUserBean.java46 private Session session; field in class:MailUserBean
111 * session getter method.
114 return session;
118 * session setter method.
120 public void setSession(Session session) { argument
121 this.session = session;
159 * First, try to get the session from JNDI,
165 session = (Session)ctx.lookup("MySession");
171 if (session
[all...]
/javamail/mail/src/main/java/javax/mail/
H A DStore.java70 * @param session Session object for this Store.
73 protected Store(Session session, URLName urlname) { argument
74 super(session, urlname);
H A DTransport.java72 * @param session Session object for this Transport.
75 public Transport(Session session, URLName urlname) { argument
76 super(session, urlname);
241 Session s = (msg.session != null) ? msg.session :
H A DService.java65 * The session from which this service was created.
67 protected Session session; field in class:Service
75 * Debug flag for this service. Set from the session's debug
100 * @param session Session object for this service
103 protected Service(Session session, URLName urlname) { argument
104 this.session = session;
105 debug = session.getDebug();
134 host = session.getProperty("mail." + protocol + ".host");
136 user = session
[all...]

Completed in 337 milliseconds

12