Searched defs:protocol (Results 1 - 25 of 31) sorted by relevance

12

/dalvik/libcore/luni/src/main/java/java/net/
H A DURLStreamHandlerFactory.java22 * 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 DAuthenticator.java49 private String protocol; field in class:Authenticator
102 * Returns the protocol of the connection that requests authorization.
104 * @return protocol of the connection.
107 return this.protocol;
132 * protocol of the connection that requests authentication.
155 thisAuthenticator.protocol = rProtocol;
199 * protocol of the connection that requests authentication.
223 thisAuthenticator.protocol = rProtocol;
257 * protocol of the connection that requests authentication.
286 thisAuthenticator.protocol
[all...]
H A DURLStreamHandler.java27 * can handle the communication with a URL object over a particular protocol
60 * if the protocol handler doesn't support this method.
73 * The string is parsed in HTTP format. If the protocol has a different URL
244 * @param protocol
245 * the protocol.
258 protected void setURL(URL u, String protocol, String host, int port, argument
263 u.set(protocol, host, port, file, ref);
272 * @param protocol
273 * the protocol.
289 protected void setURL(URL u, String protocol, Strin argument
[all...]
H A DURL.java35 * protocol, host name, port, path, file, user-info, query, reference and
55 * The receiver's protocol identifier.
57 * @serial the protocol of this URL (http, file)
60 private String protocol = null; field in class:URL
110 * Cache for storing protocol handler
115 * The URL Stream (protocol) Handler
120 * The factory responsible for producing URL Stream (protocol) Handler
125 * Sets the {@code URLStreamHandlerFactory} which creates protocol specific
134 * the factory to be used for creating stream protocol handlers.
164 * relative to the given {@code context}. If the protocol o
332 URL(String protocol, String host, String file) argument
354 URL(String protocol, String host, int port, String file) argument
382 URL(String protocol, String host, int port, String file, URLStreamHandler handler) argument
471 set(String protocol, String host, int port, String file, String ref) argument
899 set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument
[all...]
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/
H A DHandler.java18 package org.apache.harmony.luni.internal.net.www.protocol.ftp;
54 * if the protocol handler doesn't support this method.
H A DFtpURLInputStream.java18 package org.apache.harmony.luni.internal.net.www.protocol.ftp;
H A DFtpURLConnection.java18 package org.apache.harmony.luni.internal.net.www.protocol.ftp;
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/
H A DHandler.java18 package org.apache.harmony.luni.internal.net.www.protocol.http;
67 * if the protocol handler doesn't support this method.
H A DHttpConnectionPool.java18 package org.apache.harmony.luni.internal.net.www.protocol.http;
H A DHeader.java18 package org.apache.harmony.luni.internal.net.www.protocol.http;
234 * org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHeaderField(0)
H A DHttpConfiguration.java17 package org.apache.harmony.luni.internal.net.www.protocol.http;
H A DHttpConnection.java17 package org.apache.harmony.luni.internal.net.www.protocol.http;
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/https/
H A DHandler.java18 package org.apache.harmony.luni.internal.net.www.protocol.https;
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
H A DAllTests.java17 package org.apache.harmony.luni.tests.internal.net.www.protocol.http;
H A DHttpURLConnectionTest.java18 package org.apache.harmony.luni.tests.internal.net.www.protocol.http;
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
H A DAllTests.java17 package org.apache.harmony.luni.tests.internal.net.www.protocol.https;
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/file/
H A DHandler.java18 package org.apache.harmony.luni.internal.net.www.protocol.file;
63 * if the protocol handler doesn't support this method.
H A DFileURLConnection.java18 package org.apache.harmony.luni.internal.net.www.protocol.file;
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/
H A DHandler.java18 package org.apache.harmony.luni.internal.net.www.protocol.jar;
H A DJarURLConnectionImpl.java18 package org.apache.harmony.luni.internal.net.www.protocol.jar;
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
H A DURLStreamHandlerFactoryTest.java119 public URLStreamHandler createURLStreamHandler(String protocol) { argument
H A DURLStreamHandlerTest.java303 String protocol,
308 super.setURL(u, protocol, host, port, file, ref);
312 String protocol,
320 super.setURL(u, protocol, host, port, authority,
302 setURL(URL u, String protocol, String host, int port, String file, String ref) argument
311 setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) argument
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/
H A DSSLContext.java31 * The public API for secure socket protocol implementations. It acts as factory
42 * Creates a new {@code SSLContext} instance for the specified protocol.
44 * @param protocol
45 * the requested protocol to create a context for.
48 * if no installed provider can provide the requested protocol
50 * if {@code protocol} is {@code null} (instead of
53 public static SSLContext getInstance(String protocol) throws NoSuchAlgorithmException { argument
54 if (protocol == null) {
55 throw new NullPointerException("protocol is null");
58 engine.getInstance(protocol, nul
81 getInstance(String protocol, String provider) argument
112 getInstance(String protocol, Provider provider) argument
130 private final String protocol; field in class:SSLContext
142 SSLContext(SSLContextSpi contextSpi, Provider provider, String protocol) argument
[all...]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/fortress/
H A DDefaultPolicyParser.java326 * @throws ExpansionFailedException - if protocol is other than
329 public String resolve(String protocol, String data) argument
332 if ("self".equals(protocol)) { //$NON-NLS-1$
361 if ("alias".equals(protocol)) { //$NON-NLS-1$
371 Messages.getString("security.145", protocol)); //$NON-NLS-1$
H A DPolicyUtils.java341 * generalized expansion expressions, of the form ${{protocol:data}}.
348 * Resolves general expansion expressions of the form ${{protocol:data}}.
349 * @param protocol denotes type of resolution
354 String resolve(String protocol, String data) argument
359 * Substitutes all entries like ${{protocol:data}}, found in specified string,
362 * may have simplified form, as ${{protocol}}.
365 * @param handler the handler to resolve data denoted by protocol
383 String protocol = (separator >= 0) ? key
387 String value = handler.resolve(protocol, data);

Completed in 195 milliseconds

12