/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLContextTest.java | 71 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_setDefault() 74 SSLContext newContext = SSLContext.getInstance(protocol); in test_SSLContext_setDefault() 86 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_defaultConfiguration() 87 SSLContext sslContext = SSLContext.getInstance(protocol); in test_SSLContext_defaultConfiguration() 88 if (!protocol.equals(StandardNames.SSL_CONTEXT_PROTOCOLS_DEFAULT)) { in test_SSLContext_defaultConfiguration() 210 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_getInstance() 211 assertNotNull(SSLContext.getInstance(protocol)); in test_SSLContext_getInstance() 212 assertNotSame(SSLContext.getInstance(protocol), in test_SSLContext_getInstance() 213 SSLContext.getInstance(protocol)); in test_SSLContext_getInstance() 226 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { in test_SSLContext_getInstance() [all …]
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLContext.java | 92 private final String protocol; field in SSLContext 102 String protocol) { in SSLContext() argument 105 this.protocol = protocol; in SSLContext() 187 public static SSLContext getInstance(String protocol) in getInstance() argument 190 ("SSLContext", SSLContextSpi.class, protocol); in getInstance() 192 protocol); in getInstance() 230 public static SSLContext getInstance(String protocol, String provider) in getInstance() argument 233 ("SSLContext", SSLContextSpi.class, protocol, provider); in getInstance() 235 protocol); in getInstance() 267 public static SSLContext getInstance(String protocol, Provider provider) in getInstance() argument [all …]
|
/libcore/ojluni/src/main/java/java/net/ |
D | URL.java | 158 private String protocol; field in URL 303 public URL(String protocol, String host, int port, String file) in URL() argument 306 this(protocol, host, port, file, null); in URL() 327 public URL(String protocol, String host, String file) in URL() argument 329 this(protocol, host, -1, file); in URL() 371 public URL(String protocol, String host, int port, String file, in URL() argument 381 protocol = protocol.toLowerCase(); in URL() 382 this.protocol = protocol; in URL() 416 (handler = getURLStreamHandler(protocol)) == null) { in URL() 417 throw new MalformedURLException("unknown protocol: " + protocol); in URL() [all …]
|
D | Authenticator.java | 163 String protocol, in requestPasswordAuthentication() argument 182 a.requestingProtocol = protocol; in requestPasswordAuthentication() 225 String protocol, in requestPasswordAuthentication() argument 245 a.requestingProtocol = protocol; in requestPasswordAuthentication() 290 String protocol, in requestPasswordAuthentication() argument 312 a.requestingProtocol = protocol; in requestPasswordAuthentication()
|
D | URLStreamHandlerFactory.java | 50 URLStreamHandler createURLStreamHandler(String protocol); in createURLStreamHandler() argument
|
/libcore/ojluni/src/main/java/sun/net/util/ |
D | URLUtil.java | 47 String protocol = url.getProtocol(); in urlNoFragString() local 48 if (protocol != null) { in urlNoFragString() 50 protocol = protocol.toLowerCase(); in urlNoFragString() 51 strForm.append(protocol); in urlNoFragString()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
D | HttpCallerInfo.java | 26 package sun.net.www.protocol.http; 48 final public String host, protocol, prompt, scheme; field in HttpCallerInfo 59 this.protocol = old.protocol; in HttpCallerInfo() 90 protocol = url.getProtocol(); in HttpCallerInfo() 104 protocol = url.getProtocol(); in HttpCallerInfo()
|
D | AuthenticationInfo.java | 26 package sun.net.www.protocol.http; 104 return protocol; in getProtocolScheme() 177 String protocol; field in AuthenticationInfo 195 this.protocol = ""; in AuthenticationInfo() 218 this.protocol = url.getProtocol().toLowerCase(); in AuthenticationInfo() 426 return type + ":" + authScheme + ":" + protocol + ":" in cacheKey() 429 return type + ":" + protocol + ":" + host + ":" + port; in cacheKey()
|
D | NegotiateAuthentication.java | 26 package sun.net.www.protocol.http; 35 import static sun.net.www.protocol.http.AuthScheme.NEGOTIATE; 36 import static sun.net.www.protocol.http.AuthScheme.KERBEROS;
|
D | AuthScheme.java | 25 package sun.net.www.protocol.http;
|
D | HttpAuthenticator.java | 26 package sun.net.www.protocol.http;
|
D | AuthCache.java | 26 package sun.net.www.protocol.http;
|
D | AuthCacheValue.java | 26 package sun.net.www.protocol.http;
|
/libcore/ojluni/src/main/java/sun/net/spi/ |
D | DefaultProxySelector.java | 131 String protocol = uri.getScheme(); in select() local 157 if (protocol == null || host == null) { in select() 158 throw new IllegalArgumentException("protocol = "+protocol+" host = "+host); in select() 164 if ("http".equalsIgnoreCase(protocol)) { in select() 166 } else if ("https".equalsIgnoreCase(protocol)) { in select() 172 } else if ("ftp".equalsIgnoreCase(protocol)) { in select() 179 final String proto = protocol; in select() 312 private int defaultPort(String protocol) { in defaultPort() argument 313 if ("http".equalsIgnoreCase(protocol)) { in defaultPort() 315 } else if ("https".equalsIgnoreCase(protocol)) { in defaultPort() [all …]
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/https/ |
D | DelegateHttpsURLConnection.java | 26 package sun.net.www.protocol.https; 54 sun.net.www.protocol.http.Handler handler, in DelegateHttpsURLConnection() 61 sun.net.www.protocol.http.Handler handler, in DelegateHttpsURLConnection()
|
D | Handler.java | 30 package sun.net.www.protocol.https; 37 public class Handler extends sun.net.www.protocol.http.Handler {
|
D | AbstractDelegateHttpsURLConnection.java | 26 package sun.net.www.protocol.https; 36 import sun.net.www.protocol.http.HttpURLConnection; 49 sun.net.www.protocol.http.Handler handler) throws IOException { in AbstractDelegateHttpsURLConnection() 54 sun.net.www.protocol.http.Handler handler) throws IOException { in AbstractDelegateHttpsURLConnection()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/mailto/ |
D | Handler.java | 30 package sun.net.www.protocol.mailto; 118 String protocol = u.getProtocol(); in parseURL() local 142 setURL(u, protocol, host, port, file, null); in parseURL()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | Handler.java | 30 package sun.net.www.protocol.ftp; 38 import sun.net.www.protocol.http.HttpURLConnection;
|
/libcore/ojluni/src/main/java/sun/net/www/http/ |
D | KeepAliveCache.java | 296 private String protocol = null; field in KeepAliveKey 307 this.protocol = url.getProtocol(); in KeepAliveKey() 323 && protocol.equals(kae.protocol) in equals() 333 String str = protocol+host+port; in hashCode()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | Handler.java | 26 package sun.net.www.protocol.jar; 99 String protocol = u.getProtocol(); in hashCode() local 100 if (protocol != null) in hashCode() 101 h += protocol.hashCode(); in hashCode()
|
D | URLJarFileCallBack.java | 26 package sun.net.www.protocol.jar;
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/gopher/ |
D | Handler.java | 26 package sun.net.www.protocol.gopher; 37 import sun.net.www.protocol.http.HttpURLConnection;
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLStreamHandlerTest.java | 213 String protocol, in setURL() argument 218 super.setURL(u, protocol, host, port, file, ref); in setURL() 222 String protocol, in setURL() argument 230 super.setURL(u, protocol, host, port, authority, in setURL()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/ |
D | FileURLConnectionTest.java | 17 package org.apache.harmony.tests.internal.net.www.protocol.file;
|