- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for setProtocol (0.26 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
ArtifactRepository repository, List<org.apache.maven.settings.Proxy> proxies) { if (proxies != null && repository.getProtocol() != null) { for (org.apache.maven.settings.Proxy proxy : proxies) { if (proxy.isActive() && repository.getProtocol().equalsIgnoreCase(proxy.getProtocol())) { if (proxy.getNonProxyHosts() != null && !proxy.getNonProxyHosts().isEmpty()) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 31.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
// Both should use the same handler instance assertNotNull(url1); assertNotNull(url2); // Protocol should be consistent assertEquals(url1.getProtocol(), url2.getProtocol()); assertEquals("smb", url1.getProtocol()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java
URL url = new URL(originalRepository.getUrl()); return ("http".equalsIgnoreCase(url.getProtocol()) || "dav".equalsIgnoreCase(url.getProtocol()) || "dav:http".equalsIgnoreCase(url.getProtocol()) || "dav+http".equalsIgnoreCase(url.getProtocol())) && !isLocal(url.getHost()); } catch (MalformedURLException e) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/manager/DefaultWagonManager.java
if (proxies != null) { for (Proxy proxy : proxies) { if (proxy.isActive() && protocol.equalsIgnoreCase(proxy.getProtocol())) { SettingsDecryptionResult result = settingsDecrypter.decrypt(new DefaultSettingsDecryptionRequest(proxy));
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
Handler handler = newHandler(); URL url = new URL(null, "smb://", handler); // Assert assertEquals("smb", url.getProtocol()); assertEquals(SmbConstants.DEFAULT_PORT, url.getPort(), "Default port applied for root smb URL"); assertNull(url.getRef(), "Ref should remain null for root URL"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
override fun getLocalPrincipal(): Principal = delegate!!.localPrincipal override fun getCipherSuite(): String = delegate!!.cipherSuite override fun getProtocol(): String = delegate!!.protocol override fun getPeerHost(): String = delegate!!.peerHost override fun getPeerPort(): Int = delegate!!.peerPort
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.6K bytes - Viewed (0) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jun 23 18:58:57 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
while (resources.hasMoreElements()) { final URL resource = resources.nextElement(); logger.debug("loading {}", resource); if ("file".equals(resource.getProtocol())) { final File directory = new File(resource.getFile()); if (directory.exists() && directory.isDirectory()) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (0)