/libcore/luni/src/main/java/java/net/ |
H A D | URLStreamHandlerFactory.java | 22 * protocol. It is used by the class {@code URL}. 28 * protocol}. 30 * @param protocol 31 * the protocol for which a handler is needed. 34 URLStreamHandler createURLStreamHandler(String protocol); argument
|
H A D | Authenticator.java | 39 private String protocol; field in class:Authenticator 88 * Returns the protocol of the connection that requests authorization. 90 * @return protocol of the connection. 93 return this.protocol; 117 * protocol of the connection that requests authentication. 133 thisAuthenticator.protocol = rProtocol; 167 * protocol of the connection that requests authentication. 184 thisAuthenticator.protocol = rProtocol; 217 * protocol of the connection that requests authentication. 239 thisAuthenticator.protocol [all...] |
H A D | URLStreamHandler.java | 26 * can handle the communication with a URL object over a particular protocol 59 * if the protocol handler doesn't support this method. 71 * The string is parsed in HTTP format. If the protocol has a different URL 215 * @param protocol 216 * the protocol. 229 protected void setURL(URL u, String protocol, String host, int port, argument 234 u.set(protocol, host, port, file, ref); 241 protected void setURL(URL u, String protocol, String host, int port, argument 247 u.set(protocol, host, port, authority, userInfo, path, query, ref); 301 * Returns true if {@code a} and {@code b} have the same protocol, hos [all...] |
H A D | URL.java | 68 * In general, attempts to create URLs with any other protocol will fail with a 71 * java.protocol.handler.pkgs} system property. 73 * <p>The {@link URI} class can be used to manipulate URLs of any protocol. 84 private String protocol; field in class:URL 134 * URL or has an unsupported protocol. 146 * protocol's default stream handler. 148 * be parsed as a URL or an invalid protocol has been found. 159 protocol = UrlUtils.getSchemePrefix(spec); 160 int schemeSpecificPartStart = protocol != null ? (protocol 201 URL(String protocol, String host, String file) argument 215 URL(String protocol, String host, int port, String file) argument 231 URL(String protocol, String host, int port, String file, URLStreamHandler handler) argument 305 set(String protocol, String host, int port, String file, String ref) argument 663 set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | URLStreamHandlerFactoryTest.java | 75 // clear cached protocol handlers if they exist 80 System.setProperty("java.protocol.handler.pkgs", getHandlerPackageName()); 84 System.clearProperty("java.protocol.handler.pkgs"); 89 // clear cached protocol handlers if they exist 99 System.setProperty("java.protocol.handler.pkgs", getHandlerPackageName()); 103 System.clearProperty("java.protocol.handler.pkgs"); 113 @Override public URLStreamHandler createURLStreamHandler(String protocol) { argument
|
H A D | OldURLStreamHandlerTest.java | 213 String protocol, 218 super.setURL(u, protocol, host, port, file, ref); 222 String protocol, 230 super.setURL(u, protocol, host, port, authority, 212 setURL(URL u, String protocol, String host, int port, String file, String ref) argument 221 setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument
|
/libcore/luni/src/main/java/javax/net/ssl/ |
H A D | SSLContext.java | 30 * The public API for secure socket protocol implementations. It acts as factory 83 * Creates a new {@code SSLContext} instance for the specified protocol. 85 * @param protocol 86 * the requested protocol to create a context for. 89 * if no installed provider can provide the requested protocol 91 * if {@code protocol} is {@code null} (instead of 94 public static SSLContext getInstance(String protocol) throws NoSuchAlgorithmException { argument 95 if (protocol == null) { 96 throw new NullPointerException("protocol == null"); 98 Engine.SpiAndProvider sap = ENGINE.getInstance(protocol, nul 120 getInstance(String protocol, String provider) argument 151 getInstance(String protocol, Provider provider) argument 167 private final String protocol; field in class:SSLContext 179 SSLContext(SSLContextSpi contextSpi, Provider provider, String protocol) argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
H A D | HttpURLConnectionTest.java | 18 package org.apache.harmony.luni.tests.internal.net.www.protocol.http;
|
/libcore/crypto/src/main/java/org/conscrypt/ |
H A D | OpenSSLSessionImpl.java | 51 private String protocol; field in class:OpenSSLSessionImpl 318 * Returns the standard version name of the SSL protocol used in all 322 if (protocol == null) { 323 protocol = NativeCrypto.SSL_SESSION_get_version(sslSessionNativePointer); 325 return protocol; 331 * protocol.
|
H A D | SSLSessionImpl.java | 50 ProtocolVersion protocol; field in class:SSLSessionImpl 167 return (protocol == null) ? "NONE" : protocol.name;
|
/libcore/luni/src/main/java/libcore/io/ |
H A D | BlockGuardOs.java | 180 @Override public FileDescriptor socket(int domain, int type, int protocol) throws ErrnoException { argument 181 return tagSocket(os.socket(domain, type, protocol)); 184 @Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { argument 185 os.socketpair(domain, type, protocol, fd1, fd2);
|
H A D | ForwardingOs.java | 129 public FileDescriptor socket(int domain, int type, int protocol) throws ErrnoException { return os.socket(domain, type, protocol); } argument 130 public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.socketpair(domain, type, protocol, fd1, fd2); } argument
|
H A D | Os.java | 122 public FileDescriptor socket(int domain, int type, int protocol) throws ErrnoException; argument 123 public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException; argument
|
H A D | Posix.java | 173 public native FileDescriptor socket(int domain, int type, int protocol) throws ErrnoException; argument 174 public native void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException; argument
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestSSLContext.java | 149 String protocol = "TLS"; 150 SSLContext clientContext = createSSLContext(protocol, clientProvider, 152 SSLContext serverContext = createSSLContext(protocol, serverProvider, 201 public static final SSLContext createSSLContext(final String protocol, argument 207 SSLContext context = SSLContext.getInstance(protocol, provider);
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
H A D | HttpsURLConnectionTest.java | 18 package org.apache.harmony.luni.tests.internal.net.www.protocol.https;
|
/libcore/luni/src/main/native/ |
H A D | libcore_io_Posix.cpp | 1245 static jobject Posix_socket(JNIEnv* env, jobject, jint domain, jint type, jint protocol) { argument 1246 int fd = throwIfMinusOne(env, "socket", TEMP_FAILURE_RETRY(socket(domain, type, protocol))); 1250 static void Posix_socketpair(JNIEnv* env, jobject, jint domain, jint type, jint protocol, jobject javaFd1, jobject javaFd2) { argument 1252 int rc = throwIfMinusOne(env, "socketpair", TEMP_FAILURE_RETRY(socketpair(domain, type, protocol, fds)));
|
/libcore/crypto/src/main/native/ |
H A D | org_conscrypt_NativeCrypto.cpp | 584 sslErrorStr = "Failure in SSL library, usually a protocol error"; 623 // For protocol errors, SSL might have more information. 5555 * select a protocol (on the client). We eagerly acquire a pointer to the array 6782 * same protocol. The list of protocols in "primary" is considered the order 6812 * Callback for the server to select an ALPN protocol. 6827 * Callback for the client to select an NPN protocol. 7159 * completed, but everything is within the bounds of the TLS protocol. 7863 * Gets and returns in a string the version of the SSL protocol. If it 7872 const char* protocol = SSL_SESSION_get_version(ssl_session); local 7873 JNI_TRACE("ssl_session=%p NativeCrypto_SSL_SESSION_get_version => %s", ssl_session, protocol); [all...] |