Searched refs:host (Results 1 - 25 of 47) sorted by relevance

12

/javamail/mail/src/main/java/com/sun/mail/util/
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 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 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/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...]
H A DInternetAddress.java56 * Typical address syntax is of the form "user@host.domain" or
57 * "Personal Name <user@host.domain>".
516 * property. If not set, the "mail.user" and "mail.host" properties
543 String user = null, host = null, address = null;
546 host = getLocalHostName();
555 host = session.getProperty("mail.host");
556 if (host == null || host.length() == 0)
557 host
[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/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/javax/mail/
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...]
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 DMailSessionDefinition.java97 * @return the host name
99 String host() default "";
/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/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/client/src/main/java/
H A DSimpleAuthenticator.java66 // get the host
67 String host = null;
70 host = inet.getHostName();
71 if (host == null)
72 host = "Unknown host";
81 String info = "Connecting to " + protocol + " mail service on host " +
82 host + port;
/javamail/demo/src/main/java/
H A Dmsgmultisendsample.java63 String host = args[2];
68 props.put("mail.smtp.host", host);
H A Dsendfile.java64 String host = args[2];
72 props.put("mail.smtp.host", host);
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 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 Dmsgsendsample.java63 String host = args[2];
68 props.put("mail.smtp.host", host);
/javamail/mail/src/main/java/com/sun/mail/pop3/
H A DPOP3Store.java78 private String host = null; // host field in class:POP3Store
190 protected synchronized boolean protocolConnect(String host, int portNum, argument
193 // check for non-null values of host, password, user
194 if (host == null || passwd == null || user == null)
206 this.host = host;
268 p = new Protocol(host, portNum, logger,
/javamail/mail/src/main/java/com/sun/mail/smtp/
H A DSMTPTransport.java94 private String host; // host we're connected to field in class:SMTPTransport
120 private boolean useCanonicalHostName = false; // use canonical host name?
133 private String localHostName; // our own host name
226 logger.config("use canonical host name");
245 * Get the name of the local host, for use in the EHLO and HELO commands.
249 * @return the local host name
286 * Set the name of the local host, for use in the EHLO and HELO commands.
288 * @param localhost the local host name
388 * Should SASL use the canonical host nam
659 protocolConnect(String host, int port, String user, String password) argument
881 authenticate(String host, String authzid, String user, String passwd) argument
943 getInitialResponse(String host, String authzid, String user, String passwd) argument
948 doAuth(String host, String authzid, String user, String passwd) argument
960 doAuth(String host, String authzid, String user, String passwd) argument
981 getInitialResponse(String host, String authzid, String user, String passwd) argument
998 doAuth(String host, String authzid, String user, String passwd) argument
1021 doAuth(String host, String authzid, String user, String passwd) argument
1052 getInitialResponse(String host, String authzid, String user, String passwd) argument
1065 doAuth(String host, String authzid, String user, String passwd) argument
1084 getInitialResponse(String host, String authzid, String user, String passwd) argument
1092 doAuth(String host, String authzid, String user, String passwd) argument
2074 openServer(String host, int port) argument
[all...]
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
/javamail/mail/src/main/java/com/sun/mail/iap/
H A DProtocol.java71 protected String host; field in class:Protocol
100 * Opens a connection to the given host at given port.
102 * @param host host to connect to
111 public Protocol(String host, int port, argument
117 this.host = host;
123 socket = SocketFetcher.getSocket(host, port, props, prefix, isSSL);
169 this.host = "localhost";
441 socket = SocketFetcher.startTLS(socket, host, prop
[all...]
/javamail/mail/src/main/java/com/sun/mail/imap/protocol/
H A DENVELOPE.java196 String host = r.readString();
203 if (host == null) {
229 address = host;
230 else if (host.length() == 0)
233 address = mb + "@" + host;
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

Completed in 103 milliseconds

12