Searched defs:host (Results 1 - 25 of 34) sorted by relevance

12

/javamail/demo/src/main/java/internal/
H A Dfoldersplit.java46 static String host = null; field in class:foldersplit
64 host = argv[++optind];
86 "Usage: foldersplit [-L url] [-T protocol] [-H host] [-p port] [-U user]");
116 if (host != null || user != null || password != null)
117 store.connect(host, port, user, password);
H A Dmsgsperweek.java56 static String host = "anybodys.sfbay"; field in class:msgsperweek
73 host = argv[++optind];
91 "Usage: msgperweek [-L url] [-T protocol] [-H host] [-U user] [-P password]\n"+
127 if (host != null || user != null || password != null)
128 store.connect(host, user, password);
H A Danswer.java65 static String host = "anybodys.sfbay"; field in class:answer
82 host = argv[++optind];
103 "Usage: answer [-L url] [-T protocol] [-H host] [-U user] [-P password]\n" +
132 if (host != null || user != null || password != null)
133 store.connect(host, user, password);
/javamail/demo/src/main/java/
H A Dmover.java42 static String host = null; field in class:mover
57 } else if (argv[optind].equals("-H")) { // host
58 host = argv[++optind];
76 "Usage: mover [-T protocol] [-H host] [-U user] [-P password] [-L url] [-v]");
115 if (host != null || user != null || password != null)
116 store.connect(host, user, password);
H A Dnamespace.java46 static String host = null; field in class:namespace
62 host = argv[++optind];
80 "Usage: namespace [-L url] [-T protocol] [-H host] [-p port] [-U user]");
110 if (host != null || user != null || password != null)
111 store.connect(host, port, user, password);
H A Dsearch.java49 static String host = null; field in class:search
69 host = argv[++optind];
95 "Usage: search [-D] [-L url] [-T protocol] [-H host] " +
132 if (host != null || user != null || password != null)
133 store.connect(host, user, password);
H A Duidmsgshow.java50 static String host = null; field in class:uidmsgshow
65 host = argv[++optind];
80 System.out.println("Usage: uidmsgshow [-L url] [-T protocol] [-H host] [-U user] [-P password] [-f mailbox] [uid] [-v]");
111 if (host != null || user != null || password != null)
112 store.connect(host, user, password);
H A Dfolderlist.java47 static String host = null; field in class:folderlist
63 host = argv[++optind];
83 "Usage: folderlist [-T protocol] [-H host] [-U user] [-P password] [-L url]");
115 if (host != null || user != null || password != null)
116 store.connect(host, user, password);
H A Dmsgshow.java49 static String host = null; field in class:msgshow
71 host = argv[++optind];
99 "Usage: msgshow [-L url] [-T protocol] [-H host] [-p port] [-U user]");
154 if (host != null || user != null || password != null)
155 store.connect(host, port, user, password);
/javamail/mail/src/main/java/com/sun/mail/util/
H A DMailConnectException.java57 private String host; field in class:MailConnectException
70 "Couldn't connect to host, port: " +
75 this.host = cex.getHost();
82 * The host we were trying to connect to.
84 * @return the host
87 return host;
H A DSocketConnectException.java57 * The socket host name.
59 private String host; field in class:SocketConnectException
78 * @param host the host we were trying to connect to
83 String host, int port, int cto) {
86 this.host = host;
104 * The host we were trying to connect to.
106 * @return the host
109 return host;
82 SocketConnectException(String msg, Exception cause, String host, int port, int cto) argument
[all...]
H A DSocketFetcher.java109 * given host and port. If the socketFactory.class property is set,
137 * @param host The host to connect to
138 * @param port The port to connect to at the host
145 public static Socket getSocket(String host, int port, Properties props, argument
150 logger.finer("getSocket" + ", host " + host + ", port " + port +
218 host, sfPort, cto, to, props, prefix, sf, useSSL);
233 host, sfPort, cto);
239 host, por
252 getSocket(String host, int port, Properties props, String prefix) argument
264 createSocket(InetAddress localaddr, int localport, String host, int port, int cto, int to, Properties props, String prefix, SocketFactory sf, boolean useSSL) argument
455 startTLS(Socket socket, String host, Properties props, String prefix) argument
554 configureSSLSocket(Socket socket, String host, Properties props, String prefix, SocketFactory sf) argument
[all...]
/javamail/taglib/src/main/java/demo/
H A DSendTag.java47 private String host; field in class:SendTag
53 * host attribute setter method.
55 public void setHost(String host) { argument
56 this.host = host;
94 if (host != null)
95 props.put("mail.smtp.host", host);
96 else if (props.getProperty("mail.smtp.host") == null)
97 props.put("mail.smtp.host", InetAddres
[all...]
/javamail/mail/src/test/java/com/sun/mail/test/
H A DSavedSocketFactory.java69 public Socket createSocket(InetAddress host, int port) argument
71 return save(factory.createSocket(host, port));
81 public Socket createSocket(String host, int port) throws IOException { argument
82 return save(factory.createSocket(host, port));
85 public Socket createSocket(String host, int port, argument
88 return save(factory.createSocket(host, port, localHost, localPort));
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DIMAPSaslAuthenticator.java65 private String host; field in class:IMAPSaslAuthenticator
80 MailLogger logger, String host) {
85 this.host = host;
145 sc = Sasl.createSaslClient(mechs, authzid, name, host,
79 IMAPSaslAuthenticator(IMAPProtocol pr, String name, Properties props, MailLogger logger, String host) argument
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPSaslAuthenticator.java64 private String host; field in class:SMTPSaslAuthenticator
79 Properties props, MailLogger logger, String host) {
84 this.host = host;
140 sc = Sasl.createSaslClient(mechs, authzid, name, host,
78 SMTPSaslAuthenticator(SMTPTransport pr, String name, Properties props, MailLogger logger, String host) argument
H A DDigestMD5.java72 * @param host the host name
80 public byte[] authClient(String host, String user, String passwd, argument
96 uri = "smtp/" + host;
110 : host;
/javamail/mail/src/main/java/javax/mail/internet/
H A DNewsAddress.java59 protected String host; // may be null field in class:NewsAddress
78 * Construct a NewsAddress with the given newsgroup and host.
81 * @param host the host
83 public NewsAddress(String newsgroup, String host) { argument
87 this.host = host;
117 * Set the host.
119 * @param host the host
121 setHost(String host) argument
[all...]
/javamail/gimap/src/main/java/com/sun/mail/gimap/
H A DGmailStore.java87 protected boolean protocolConnect(String host, int pport, argument
90 if (host == null)
91 host = "imap.gmail.com"; // default to Gmail host
92 return super.protocolConnect(host, pport, user, password);
95 protected IMAPProtocol newIMAPProtocol(String host, int port) argument
97 return new GmailProtocol(name, host, port,
/javamail/mail/src/oldtest/java/javax/mail/internet/
H A Dmessagecachetest.java57 static String host = null; field in class:messagecachetest
75 host = argv[++optind];
95 "Usage: messagecachetest [-L url] [-T protocol] [-H host] [-p port] [-U user]");
128 if (host != null || user != null || password != null)
129 store.connect(host, port, user, password);
/javamail/mbox/src/main/java/com/sun/mail/mbox/
H A DMboxStore.java87 protected boolean protocolConnect(String host, int port, String user, argument
98 // host, user, password, and file don't matter so we strip them out
/javamail/mbox/src/main/java/com/sun/mail/remote/
H A DRemoteStore.java56 protected String host, user, password; field in class:RemoteStore
75 public void connect(String host, int port, String user, String password) argument
77 this.host = host;
97 remoteStore.connect(host, port, user, password);
104 super.connect(host, port, user, password);
/javamail/gimap/src/main/java/com/sun/mail/gimap/protocol/
H A DGmailProtocol.java95 * @param host host to connect to
103 public GmailProtocol(String name, String host, int port, argument
106 super(name, host, port, props, isSSL, logger);
/javamail/mail/src/main/java/javax/mail/
H A DURLName.java89 * The host name to which to connect.
91 private String host; field in class:URLName
94 * The host's IP address, used in equals and hashCode.
106 * The specified file name on that host.
135 * host, port number, file, username, and password. Specifying a port
140 * @param host the host name
148 String host,
156 this.host = host;
146 URLName( String protocol, String host, int port, String file, String username, String password ) argument
[all...]
H A DService.java113 String host = null;
124 host = url.getHost();
133 if (host == null)
134 host = session.getProperty("mail." + protocol + ".host");
140 if (host == null)
141 host = session.getProperty("mail.host");
156 url = new URLName(protocol, host, port, file, user, password);
208 * for the host, use
244 connect(String host, String user, String password) argument
284 connect(String host, int port, String user, String password) argument
451 protocolConnect(String host, int port, String user, String password) argument
[all...]

Completed in 41 milliseconds

12