Searched defs:host (Results 1 - 25 of 1032) sorted by path

1234567891011>>

/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
H A DSSLEngineTest.java40 * SSLEngine object with null host and -1 port
52 * Test for <code>SSLEngine(String host, int port)</code> constructor
66 * Test for <code>SSLEngine(String host, int port)</code> constructor
69 String host = "new host";
71 SSLEngine e = new mySSLEngine(host, port);
72 assertEquals(e.getPeerHost(), host);
92 String host = "new host";
96 SSLEngine e = new mySSLEngine(host, por
366 mySSLEngine(String host, int port) argument
513 mySSLEngine1(String host, int port) argument
[all...]
H A DSSLSocketTest.java110 public MySSLSocket(String host, int port) throws IOException, argument
112 super(host, port);
124 public MySSLSocket(String host, int port, InetAddress clientAddress, argument
126 super(host, port, clientAddress, clientPort);
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/
H A DSocketFactoryTest.java86 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { argument
91 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) argument
97 public Socket createSocket(InetAddress host, int port) throws IOException { argument
/external/apache-harmony/x-net/src/test/java/javax/net/ssl/
H A DMySSLContextSpi.java82 protected SSLEngine engineCreateSSLEngine(String host, int port) { argument
86 return new tmpSSLEngine(host, port);
106 public tmpSSLEngine(String host, int port) { argument
107 tmpHost = host;
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/
H A DMySSLContextSpi.java91 protected SSLEngine engineCreateSSLEngine(String host, int port) { argument
95 return new tmpSSLEngine(host, port);
115 public tmpSSLEngine(String host, int port) { argument
116 tmpHost = host;
/external/apache-http/src/org/apache/http/auth/
H A DAuthScope.java38 * The class represents an authentication scope consisting of a host name,
55 * The <tt>null</tt> value represents any host. In the future versions of
76 * Default scope matching any host, port, realm and authentication scheme.
88 /** The host the credentials apply to. */
89 private final String host; field in class:AuthScope
95 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and
98 * @param host the host the credentials apply to. May be set
100 * any host.
111 public AuthScope(final String host, in argument
134 AuthScope(final String host, int port, final String realm) argument
149 AuthScope(final String host, int port) argument
[all...]
/external/apache-http/src/org/apache/http/client/params/
H A DClientParamBean.java86 public void setVirtualHost (final HttpHost host) { argument
87 params.setParameter(ClientPNames.VIRTUAL_HOST, host);
94 public void setDefaultHost (final HttpHost host) { argument
95 params.setParameter(ClientPNames.DEFAULT_HOST, host);
/external/apache-http/src/org/apache/http/client/utils/
H A DURIUtils.java60 * @param host
80 final String host,
87 if (host != null) {
92 buffer.append(host);
116 * A convenience method for creating a new {@link URI} whose scheme, host
117 * and port are taken from the target host, but whose path, query and
124 * Contains the scheme, host and port to use.
78 createURI( final String scheme, final String host, int port, final String path, final String query, final String fragment) argument
/external/apache-http/src/org/apache/http/conn/
H A DHttpHostConnectException.java50 private final HttpHost host; field in class:HttpHostConnectException
52 public HttpHostConnectException(final HttpHost host, final ConnectException cause) { argument
53 super("Connection to " + host + " refused");
54 this.host = host;
59 return this.host;
H A DMultihomePlainSocketFactory.java92 * given host name resolves to. If connection to all addresses fail, the
96 * @param host Host name to connect to
105 public Socket connectSocket(Socket sock, String host, int port, argument
110 if (host == null) {
111 throw new IllegalArgumentException("Target host may not be null.");
133 InetAddress[] inetadrs = InetAddress.getAllByName(host);
/external/apache-http/src/org/apache/http/conn/scheme/
H A DLayeredSocketFactory.java54 * Returns a socket connected to the given host that is layered over an
59 * @param host the host name/IP
60 * @param port the port on the host
67 * @throws UnknownHostException if the IP address of the host cannot be
72 String host,
70 createSocket( Socket socket, String host, int port, boolean autoClose ) argument
H A DPlainSocketFactory.java89 public Socket connectSocket(Socket sock, String host, int port, argument
94 if (host == null) {
95 throw new IllegalArgumentException("Target host may not be null.");
119 remoteAddress = new InetSocketAddress(this.nameResolver.resolve(host), port);
121 remoteAddress = new InetSocketAddress(host, port);
H A DSchemeRegistry.java93 * Obtains the scheme for a host.
94 * Convenience method for <code>getScheme(host.getSchemeName())</pre>
96 * @param host the host for which to obtain the scheme
98 * @return the scheme for the given host, never <code>null</code>
103 public synchronized final Scheme getScheme(HttpHost host) { argument
104 if (host == null) {
107 return getScheme(host.getSchemeName());
H A DSocketFactory.java76 * Connects a socket to the given host.
82 * @param host the host to connect to
83 * @param port the port to connect to on the host
95 * @throws UnknownHostException if the IP address of the target host
102 String host,
120 * socket to a host in the same intranet ("trusted zone")
100 connectSocket( Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params ) argument
/external/apache-http/src/org/apache/http/conn/ssl/
H A DAbstractVerifier.java91 public final void verify(String host, SSLSocket ssl) argument
93 if(host == null) {
94 throw new NullPointerException("host to verify is null");
100 verify(host, x509);
103 public final boolean verify(String host, SSLSession session) { argument
107 verify(host, x509);
115 public final void verify(String host, X509Certificate cert) argument
119 verify(host, cns, subjectAlts);
122 public final void verify(final String host, final String[] cns, argument
144 String msg = "Certificate for <" + host
[all...]
H A DAllowAllHostnameVerifier.java48 final String host,
47 verify( final String host, final String[] cns, final String[] subjectAlts) argument
H A DBrowserCompatHostnameVerifier.java56 final String host,
59 verify(host, cns, subjectAlts, false);
55 verify( final String host, final String[] cns, final String[] subjectAlts) argument
H A DSSLSocketFactory.java291 final String host,
298 if (host == null) {
299 throw new IllegalArgumentException("Target host may not be null.");
324 remoteAddress = new InetSocketAddress(this.nameResolver.resolve(host), port);
326 remoteAddress = new InetSocketAddress(host, port);
333 hostnameVerifier.verify(host, sslsock);
383 final String host,
389 host,
393 hostnameVerifier.verify(host, sslSocket);
289 connectSocket( final Socket sock, final String host, final int port, final InetAddress localAddress, int localPort, final HttpParams params ) argument
381 createSocket( final Socket socket, final String host, final int port, final boolean autoClose ) argument
H A DStrictHostnameVerifier.java63 final String host,
66 verify(host, cns, subjectAlts, true);
62 verify( final String host, final String[] cns, final String[] subjectAlts) argument
H A DX509HostnameVerifier.java67 boolean verify(String host, SSLSession session); argument
69 void verify(String host, SSLSocket ssl) throws IOException; argument
71 void verify(String host, X509Certificate cert) throws SSLException; argument
84 * @param host The hostname to verify.
87 void verify(String host, String[] cns, String[] subjectAlts) argument
/external/apache-http/src/org/apache/http/cookie/
H A DCookieOrigin.java50 private final String host; field in class:CookieOrigin
55 public CookieOrigin(final String host, int port, final String path, boolean secure) { argument
57 if (host == null) {
61 if (host.trim().length() == 0) {
72 this.host = host.toLowerCase(Locale.ENGLISH);
83 return this.host;
105 buffer.append(this.host);
/external/apache-http/src/org/apache/http/impl/client/
H A DDefaultRequestDirector.java390 // Use virtual host if set
453 // If we have a direct route to the target host
562 * @param target the target host for the request.
585 // If the URI was malformed, make it obvious where there's no host component
587 String host = null;
593 host = uri.getHost();
596 throw new IllegalStateException( "Target host must not be null, or set in parameters."
597 + " scheme=" + scheme + ", host=" + host + ", path=" + path);
874 String host
1078 updateAuthState( final AuthState authState, final HttpHost host, final CredentialsProvider credsProvider) argument
[all...]
/external/apache-http/src/org/apache/http/impl/cookie/
H A DRFC2965DomainAttributeHandler.java83 // MAY NOT be an IP address of a host name
92 * Host A's name domain-matches host B's if
94 * <ul>their host name strings string-compare equal; or</ul>
100 * @param host host name where cookie is received from or being sent to.
102 * @return true if the specified host matches the given domain.
104 public boolean domainMatch(String host, String domain) { argument
105 boolean match = host.equals(domain)
106 || (domain.startsWith(".") && host.endsWith(domain));
122 String host
[all...]
/external/chromium-libpac/src/
H A Dproxy_resolver_js_bindings.cc36 // Handler for "dnsResolve(host)".
37 virtual bool DnsResolve(const std::string& host, argument
39 return DnsResolveImpl(host, first_ip_address);
42 // Handler for "dnsResolveEx(host)".
43 virtual bool DnsResolveEx(const std::string& host, argument
45 return DnsResolveExImpl(host, ip_address_list);
63 bool DnsResolveImpl(const std::string& host, argument
65 struct hostent* he = gethostbyname(host.c_str());
74 bool DnsResolveExImpl(const std::string& host, argument
76 struct hostent* he = gethostbyname(host
[all...]
H A Dproxy_resolver_v8.cc366 int ResolveProxy(const android::String16 url, const android::String16 host, argument
385 UTF16StringToV8String(isolate_, host) };
725 int ProxyResolverV8::GetProxyForURL(const android::String16 spec, const android::String16 host, argument
733 int rv = context_->ResolveProxy(spec, host, results);

Completed in 425 milliseconds

1234567891011>>