- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 592 for protocol (0.04 sec)
-
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt
} else { super.configureTlsExtensions(sslSocket, hostname, protocols) } } override fun getSelectedProtocol(sslSocket: SSLSocket): String? = if (sslSocket is org.openjsse.javax.net.ssl.SSLSocket) { when (val protocol = sslSocket.applicationProtocol) { // Handles both un-configured and none selected. null, "" -> null else -> protocol } } else {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/CrawlerContainer.java
final String value = System.getProperty("java.protocol.handler.pkgs"); if (StringUtil.isEmpty(value)) { buf.append("org.codelibs.fess.net.protocol"); } else if (!value.contains("org.codelibs.fess.net.protocol")) { buf.append("|org.codelibs.fess.net.protocol"); } if (buf.length() > 0) { System.setProperty("java.protocol.handler.pkgs", buf.toString()); } }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.6K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java
} /** * Get the protocol of the proxy server. * * @return the protocol of the proxy server */ public String getProtocol() { return protocol; } /** * @param protocol the protocol of the proxy server like <i>SOCKSv4</i> */ public void setProtocol(String protocol) { this.protocol = protocol; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
else -> Protocol.HTTP_1_1 } Platform.get().afterHandshake(sslSocket) } else { protocol = Protocol.HTTP_1_1 } openClientSockets.remove(raw) } else -> { protocol = when { Protocol.H2_PRIOR_KNOWLEDGE in protocols -> Protocol.H2_PRIOR_KNOWLEDGERegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
val sslSocket = doSsl(socket) val protocolString = Platform.get().getSelectedProtocol(sslSocket) val protocol = if (protocolString != null) get(protocolString) else null if (protocol != Protocol.HTTP_2) { throw ProtocolException("Protocol $protocol unsupported") } val connection = Http2Connection .Builder(false, TaskRunner.INSTANCE)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
// Test registerSmbURLHandler when java.protocol.handler.pkgs is null System.clearProperty("java.protocol.handler.pkgs"); SingletonContext.registerSmbURLHandler(); assertEquals("jcifs", System.getProperty("java.protocol.handler.pkgs")); } @Test void testRegisterSmbURLHandlerWhenPkgsDoesNotContainJcifs() { // Test registerSmbURLHandler when java.protocol.handler.pkgs does not contain "jcifs"Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt
assertThat(Protocol.SPDY_3.toString()).isEqualTo("spdy/3.1") assertThat(Protocol.HTTP_2.toString()).isEqualTo("h2") assertThat(Protocol.H2_PRIOR_KNOWLEDGE.toString()) .isEqualTo("h2_prior_knowledge") assertThat(Protocol.QUIC.toString()).isEqualTo("quic") assertThat(Protocol.HTTP_3.toString()).isEqualTo("h3") }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
} } /** * Returns the normalized protocol. * * @param protocol * The protocol. Must not be {@literal null} or empty. * @return The normalized protocol. */ public static String toCanonicalProtocol(final String protocol) { assertArgumentNotEmpty("protocol", protocol); final String canonicalProtocol = CANONICAL_PROTOCOLS.get(protocol);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun response() { val response: Response = Response.Builder().build() val request: Request = response.request() val protocol: Protocol = response.protocol() val code: Int = response.code() val message: String = response.message() val handshake: Handshake? = response.handshake() val headers: Headers = response.headers()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
.assertSuccessful() .assertCode(200) } private fun enableProtocol(protocol: Protocol) { enableTls() client = client .newBuilder() .protocols(listOf(protocol, Protocol.HTTP_1_1)) .build() server1.protocols = client.protocols server2.protocols = client.protocols } private fun enableTls() { client = client
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 11.6K bytes - Viewed (0)