- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 450 for Protocols (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt
OkHttpClient .Builder() .protocols(protocols as List<Protocol>) }.also { expected -> assertThat(expected.message).isEqualTo("protocols must not contain null") } } @Test fun spdy3IsRemovedFromProtocols() { val protocols = mutableListOf( Protocol.HTTP_1_1, Protocol.SPDY_3, ) val client = OkHttpClientCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 13.4K bytes - Click Count (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt
.host(uriHost) .port(uriPort) .build() /** * The protocols the client supports. This method always returns a non-null list that * contains minimally [Protocol.HTTP_1_1]. */ @get:JvmName("protocols") val protocols: List<Protocol> = protocols.toImmutableList() @get:JvmName("connectionSpecs") val connectionSpecs: List<ConnectionSpec> =
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
if (StringUtil.isNotBlank(value)) { return check(protocols, value); } return true; } /** * Checks if the given value matches any of the specified protocols. * * @param protocols the allowed protocols * @param value the URI string to validate * @return true if the value matches allowed protocols, false otherwise */
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sun Nov 23 12:34:02 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
} /** * Adds a new file protocol to the supported protocols list. * If the protocol already exists, it will not be added again. * * @param protocol the protocol name to add (without colon suffix) */ public void addFileProtocol(final String protocol) { final String prefix = protocol + ":";Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Dec 12 13:58:40 GMT 2025 - 12.4K bytes - Click Count (1) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
delegate.protocolNegotiationEnabled = protocolNegotiationEnabled } @JvmName("-deprecated_protocols") fun setProtocols(protocols: List<Protocol>) { delegate.protocols = protocols } @JvmName("-deprecated_protocols") fun protocols(): List<Protocol> = delegate.protocols fun useHttps( sslSocketFactory: SSLSocketFactory, tunnelProxy: Boolean, ) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 00:19:42 GMT 2025 - 4.6K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt
override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<Protocol>, ) { try { SSLSockets.setUseSessionTickets(sslSocket, true) val sslParameters = sslSocket.sslParameters // Enable ALPN. sslParameters.applicationProtocols = Platform.alpnProtocolNames(protocols).toTypedArray() sslSocket.sslParameters = sslParameters
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
) override fun configureTlsExtensions( sslSocket: SSLSocket, hostname: String?, protocols: List<@JvmSuppressWildcards Protocol>, ) { if (sslSocket is BCSSLSocket) { val sslParameters = sslSocket.parameters // Enable ALPN. val names = alpnProtocolNames(protocols) sslParameters.applicationProtocols = names.toTypedArray() sslSocket.parameters = sslParameters
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
RequestBodyEnd::class, ConnectionReleased::class, CallEnd::class, ) } private fun enableTls(vararg protocols: Protocol) { client = client .newBuilder() .protocols(protocols.toList()) .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager,Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 9.6K bytes - Click Count (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
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 11.6K bytes - Click Count (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt
sslSocket: SSLSocket, hostname: String?, protocols: List<@JvmSuppressWildcards Protocol>, ) { if (sslSocket is org.openjsse.javax.net.ssl.SSLSocket) { val sslParameters = sslSocket.sslParameters if (sslParameters is org.openjsse.javax.net.ssl.SSLParameters) { // Enable ALPN. val names = alpnProtocolNames(protocols) sslParameters.applicationProtocols = names.toTypedArray()Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.6K bytes - Click Count (0)