- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for getProtocol (0.04 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt
override fun getPeerPort(): Int = throw UnsupportedOperationException() @Throws(SSLPeerUnverifiedException::class) override fun getPeerPrincipal(): Principal = throw UnsupportedOperationException() override fun getProtocol(): String = throw UnsupportedOperationException() override fun getSessionContext(): SSLSessionContext = throw UnsupportedOperationException() override fun putValue( s: String, obj: Any,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HandshakeTest.kt
private val cipherSuite: String, private val peerCertificates: Array<Certificate>?, private val localCertificates: Array<Certificate>?, ) : DelegatingSSLSession(null) { override fun getProtocol() = protocol override fun getCipherSuite() = cipherSuite override fun getPeerCertificates() = peerCertificates override fun getLocalCertificates() = localCertificates }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Sep 11 17:20:46 UTC 2025 - 5.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java
* @see ModelBase#getPluginRepositories() */ @Experimental @Immutable public interface RemoteRepository extends Repository { @Nonnull String getUrl(); @Nonnull String getProtocol();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Aug 27 21:13:34 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/Handler.java
return DEFAULT_HTTP_PORT; } @Override protected URLConnection openConnection(URL url) throws IOException { url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol())); return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection()); } private static URLStreamHandler getDefaultStreamHandler(final String protocol) throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.1K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java
String getUrl(); void setUrl(String url); String getBasedir(); default Path getBasedirPath() { return Paths.get(getBasedir()); } String getProtocol(); String getId(); void setId(String id); ArtifactRepositoryPolicy getSnapshots(); void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4.3K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
*/ package okhttp3 import okio.IOException /** * Protocols that OkHttp implements for [ALPN][ietf_alpn] selection. * * ## Protocol vs Scheme * * Despite its name, [java.net.URL.getProtocol] returns the [scheme][java.net.URI.getScheme] (http, * https, etc.) of the URL, not the protocol (http/1.1, spdy/3.1, etc.). OkHttp uses the word * *protocol* to identify how HTTP messages are framed. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jun 23 18:58:57 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
return DEFAULT_HTTP_PORT; } @Override protected URLConnection openConnection(URL url) throws IOException { url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol())); return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection(), this.transportContext); } private static URLStreamHandler getDefaultStreamHandler(final String protocol) throws IOException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
} URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt"); if (testFileUrl == null) { throw new RuntimeException("unable to locate testdata directory"); } if (testFileUrl.getProtocol().equals("file")) { try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
} /** * Test that the gcs protocol is correctly recognized. */ public void test_protocol() throws Exception { URL url = new URL("gcs://bucket/object"); assertEquals("gcs", url.getProtocol()); } /** * Test URL parsing with bucket and object path. */ public void test_urlParsing_bucketAndObject() throws Exception { URL url = new URL("gcs://mybucket/path/to/object.txt");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0)