Searched refs:session (Results 1 - 25 of 96) sorted by relevance

1234

/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/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 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
/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);
H A DPOP3Store.java100 public POP3Store(Session session, URLName url) { argument
101 this(session, url, "pop3", false);
104 public POP3Store(Session session, URLName url, argument
106 super(session, url);
111 "DEBUG POP3", session);
114 isSSL = PropUtil.getBooleanSessionProperty(session,
127 String dir = session.getProperty("mail." + name + ".filecache.dir");
143 String s = session.getProperty("mail." + name + ".message.class");
177 boolean val = PropUtil.getBooleanSessionProperty(session, prop, false);
184 * Get a reference to the session
[all...]
/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);
H A DSMTPMessage.java93 * @param session the Session
95 public SMTPMessage(Session session) { argument
96 super(session);
105 * @param session Session object for this message
109 public SMTPMessage(Session session, InputStream is) argument
111 super(session, is);
/javamail/taglib/src/main/java/demo/
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;
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;
/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...]
H A DFilterServlet.java68 HttpSession session = request.getSession();
69 MailUserBean mailuser = (MailUserBean)session.getAttribute("mailuser");
/javamail/demo/src/main/java/
H A Dregistry.java63 Session session = Session.getInstance(props, null);
64 //session.setDebug(true);
68 Provider[] providers = session.getProviders();
105 System.out.println("imap: " + session.getProvider("imap"));
106 System.out.println("smtp: " + session.getProvider("smtp"));
108 System.out.println("nntp: " + session.getProvider("nntp"));
118 session.setProvider(_aProvider); // will fail
125 session.setProvider(_sunIMAP);
128 System.out.println("imap: " + session.getProvider("imap"));
129 System.out.println("smtp: " + session
[all...]
H A Dmsgmultisendsample.java70 Session session = Session.getInstance(props, null);
71 session.setDebug(debug);
75 MimeMessage msg = new MimeMessage(session);
H A Dsendfile.java74 Session session = Session.getInstance(props, null);
75 session.setDebug(debug);
79 MimeMessage msg = new MimeMessage(session);
/javamail/mail/src/oldtest/java/javax/mail/internet/socketfactory/
H A Dsocketfactorytest.java87 Session session = Session.getInstance(props, null);
89 session.setDebug(true);
91 Transport t = session.getTransport("smtp");
109 session = Session.getInstance(props, null);
111 session.setDebug(true);
113 t = session.getTransport("smtp");
130 session = Session.getInstance(props, null);
132 session.setDebug(true);
134 t = session.getTransport("smtp");
154 session
[all...]
/javamail/mail/src/main/java/javax/mail/
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...]
H A DMessage.java102 protected Session session = null; field in class:Message
119 session = folder.store.session;
126 * @param session A Session object
128 protected Message(Session session) { argument
129 this.session = session;
139 return session;
602 * number for a particular Message can change during a session
683 * The reply message will use the same session a
[all...]
/javamail/mail/src/main/java/com/sun/mail/handlers/
H A Dmessage_rfc822.java71 Session session;
74 session = mc.getSession();
80 session = Session.getDefaultInstance(new Properties(), null);
82 return new MimeMessage(session, ds.getInputStream());
/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/mail/src/test/java/com/sun/mail/smtp/
H A DSMTPSaslLoginTest.java75 Session session = Session.getInstance(properties);
76 //session.setDebug(true);
78 Transport t = session.getTransport("smtp");
112 Session session = Session.getInstance(properties);
113 //session.setDebug(true);
115 Transport t = session.getTransport("smtp");
155 Session session = Session.getInstance(properties);
156 //session.setDebug(true);
158 Transport t = session.getTransport("smtp");
195 Session session
[all...]
/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);
/javamail/mail/src/test/java/com/sun/mail/pop3/
H A DPOP3StoreTest.java78 final Session session = Session.getInstance(properties);
79 //session.setDebug(true);
81 final Store store = session.getStore("pop3");
118 final Session session = Session.getInstance(properties);
119 //session.setDebug(true);
121 final Store store = session.getStore("pop3");
/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);

Completed in 53 milliseconds

1234