/libcore/ojluni/src/main/java/java/net/ |
H A D | URLStreamHandlerFactory.java | 30 * protocol handlers. 33 * <code>URLStreamHandler</code> for a specific protocol. 43 * protocol. 45 * @param protocol the protocol ("<code>ftp</code>", 47 * @return a <code>URLStreamHandler</code> for the specific protocol. 50 URLStreamHandler createURLStreamHandler(String protocol); argument
|
H A D | URL.java | 51 * example of a URL indicates that the protocol to use is 56 * meaning of this name on the host machine is both protocol 64 * the protocol is used instead. For example, the default port for 109 * the protocol, host name, or port number is missing, the value is 142 * for protocol handlers. The value of this property (if any) should 144 * for a protocol handler to load. The policy of this class is that 145 * all protocol handlers will be in a class called <protocolname>.Handler, 148 * default package prefix, sun.net.www.protocol, is used. The search 152 private static final String protocolPathProp = "java.protocol.handler.pkgs"; 155 * The protocol t 158 private String protocol; field in class:URL 303 URL(String protocol, String host, int port, String file) argument 327 URL(String protocol, String host, String file) argument 371 URL(String protocol, String host, int port, String file, URLStreamHandler handler) argument 632 isValidProtocol(String protocol) argument 667 set(String protocol, String host, int port, String file, String ref) argument 704 set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument 1145 getURLStreamHandler(String protocol) argument [all...] |
H A D | Authenticator.java | 145 * @param protocol The protocol that's requesting the connection 163 String protocol, 182 a.requestingProtocol = protocol; 205 * @param protocol The protocol that's requesting the connection 225 String protocol, 245 a.requestingProtocol = protocol; 266 * @param protocol The protocol tha 160 requestPasswordAuthentication( InetAddress addr, int port, String protocol, String prompt, String scheme) argument 221 requestPasswordAuthentication( String host, InetAddress addr, int port, String protocol, String prompt, String scheme) argument 286 requestPasswordAuthentication( String host, InetAddress addr, int port, String protocol, String prompt, String scheme, URL url, RequestorType reqType) argument [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/ |
H A D | AuthScheme.java | 25 package sun.net.www.protocol.http;
|
H A D | HttpCallerInfo.java | 26 package sun.net.www.protocol.http; 48 final public String host, protocol, prompt, scheme; field in class:HttpCallerInfo 59 this.protocol = old.protocol; 90 protocol = url.getProtocol(); 104 protocol = url.getProtocol();
|
H A D | AuthCache.java | 26 package sun.net.www.protocol.http;
|
H A D | HttpAuthenticator.java | 26 package sun.net.www.protocol.http;
|
H A D | AuthCacheValue.java | 26 package sun.net.www.protocol.http;
|
H A D | AuthenticationInfo.java | 26 package sun.net.www.protocol.http; 104 return protocol; 160 //return ("{"+type+":"+authScheme+":"+protocol+":"+host+":"+port+":"+realm+":"+path+"}"); 172 /** The protocol/scheme (i.e. http or https ). Need to keep the caches 175 * For proxy authentication the protocol is not relevant. 177 String protocol; field in class:AuthenticationInfo 195 this.protocol = ""; 218 this.protocol = url.getProtocol().toLowerCase(); 307 * for preemptive header-setting. Note, the protocol field is always 318 * Used in response to a challenge. Note, the protocol fiel [all...] |
H A 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; 83 * Find out if the HttpCallerInfo supports Negotiate protocol. In order to
|
H A D | Handler.java | 30 package sun.net.www.protocol.http;
|
H A D | Negotiator.java | 26 package sun.net.www.protocol.http; 51 clazz = Class.forName("sun.net.www.protocol.http.spnego.NegotiatorImpl", true, null);
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
H A D | SSLContext.java | 34 * Instances of this class represent a secure socket protocol 80 * This protocol is described in the <a href= 92 private final String protocol; field in class:SSLContext 99 * @param protocol the protocol 102 String protocol) { 105 this.protocol = protocol; 160 * specified secure socket protocol. 166 * Provider that supports the specified protocol i 101 SSLContext(SSLContextSpi contextSpi, Provider provider, String protocol) argument 187 getInstance(String protocol) argument 230 getInstance(String protocol, String provider) argument 267 getInstance(String protocol, Provider provider) argument [all...] |
/libcore/ojluni/src/main/java/sun/net/util/ |
H A D | URLUtil.java | 47 String protocol = url.getProtocol(); 48 if (protocol != null) { 49 /* protocol is compared case-insensitive, so convert to lowercase */ 50 protocol = protocol.toLowerCase(); 51 strForm.append(protocol);
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
H A D | URLJarFileCallBack.java | 26 package sun.net.www.protocol.jar;
|
H A D | Handler.java | 26 package sun.net.www.protocol.jar; 99 String protocol = u.getProtocol(); 100 if (protocol != null) 101 h += protocol.hashCode();
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | SSLContextTest.java | 71 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { 74 SSLContext newContext = SSLContext.getInstance(protocol); 86 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { 87 SSLContext sslContext = SSLContext.getInstance(protocol); 88 if (!protocol.equals(StandardNames.SSL_CONTEXT_PROTOCOLS_DEFAULT)) { 210 for (String protocol : StandardNames.SSL_CONTEXT_PROTOCOLS) { 211 assertNotNull(SSLContext.getInstance(protocol)); 212 assertNotSame(SSLContext.getInstance(protocol), 213 SSLContext.getInstance(protocol)); 226 for (String protocol [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/https/ |
H A D | DelegateHttpsURLConnection.java | 26 package sun.net.www.protocol.https; 38 * of protocol implementation (this one) 47 // from sun.net.www.protocol.http.HttpURLConnection 54 sun.net.www.protocol.http.Handler handler, 61 sun.net.www.protocol.http.Handler handler,
|
H A D | Handler.java | 30 package sun.net.www.protocol.https; 37 public class Handler extends sun.net.www.protocol.http.Handler {
|
H A D | AbstractDelegateHttpsURLConnection.java | 26 package sun.net.www.protocol.https; 36 import sun.net.www.protocol.http.HttpURLConnection; 42 * sun.net.www.protocol.http.HttpURLConnection by having this class 49 sun.net.www.protocol.http.Handler handler) throws IOException { 54 sun.net.www.protocol.http.Handler handler) throws IOException { 73 * the com.sun.ssl.internal.www.protocol.https handler reuses this 87 * the com.sun.ssl.internal.www.protocol.https handler reuses this 109 * the com.sun.ssl.internal.www.protocol.https handler reuses this 127 * the com.sun.ssl.internal.www.protocol.https handler reuses this 171 * Implements the HTTP protocol handle [all...] |
/libcore/ojluni/src/main/java/sun/net/spi/ |
H A D | DefaultProxySelector.java | 46 * provides backward compatibility with the old http protocol handler 49 * Most of the implementation copied from the old http protocol handler 59 * support for each given protocol. 61 * - 1 row per protocol (http, ftp, ...) 62 * - 1st element of each row is the protocol name 77 * protocol, Property prefix 1, Property prefix 2, ... 93 * it's not necessary. Therefore we do cache the result, on a per-protocol 131 String protocol = uri.getScheme(); 157 if (protocol == null || host == null) { 158 throw new IllegalArgumentException("protocol 312 defaultPort(String protocol) argument [all...] |
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
H A D | Handler.java | 30 package sun.net.www.protocol.ftp; 38 import sun.net.www.protocol.http.HttpURLConnection;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/ |
H A D | FileURLConnectionTest.java | 17 package org.apache.harmony.tests.internal.net.www.protocol.file;
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/mailto/ |
H A D | Handler.java | 30 package sun.net.www.protocol.mailto; 37 //import sun.net.www.protocol.news.ArticlePoster; 108 * mailto protocol. 118 String protocol = u.getProtocol(); 142 setURL(u, protocol, host, port, file, null);
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/gopher/ |
H A D | Handler.java | 26 package sun.net.www.protocol.gopher; 37 import sun.net.www.protocol.http.HttpURLConnection; 40 * A class to handle the gopher protocol.
|