- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 442 for protocolo (0.05 sec)
-
okhttp/src/test/java/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 = OkHttpClient.Builder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
val protocol = peerProtocols[i] as String if (protocol in protocols) { selected = protocol return selected } } selected = protocols[0] // On no intersection, try peer's first protocol. return selected } else if ((methodName == "protocolSelected" || methodName == "selected") && callArgs.size == 1) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
* Returns the concatenation of 8-bit, length prefixed protocol names. * http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04#page-4 */ fun concatLengthPrefixed(protocols: List<Protocol>): ByteArray { val result = Buffer() for (protocol in alpnProtocolNames(protocols)) { result.writeByte(protocol.length) result.writeUtf8(protocol) } return result.readByteArray() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.8K bytes - Viewed (0) -
okhttp/src/main/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()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/main/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> =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.4K bytes - Viewed (0) -
okhttp/src/main/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
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp/src/test/java/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.newBuilder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue May 14 17:48:07 UTC 2024 - 11.9K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
replaceWith = ReplaceWith(expression = "run { this.protocols = protocols }"), level = DeprecationLevel.ERROR, ) fun setProtocols(protocols: List<Protocol>) { delegate.protocols = protocols } @JvmName("-deprecated_protocols") @Deprecated( message = "moved to var", replaceWith = ReplaceWith(expression = "protocols"), level = DeprecationLevel.ERROR, )
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 5.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
enableTlsWithTunnel() server.protocols = Arrays.asList(Protocol.HTTP_1_1) responseBodyFail(Protocol.HTTP_1_1) } @Test fun responseBodyFailHttp2OverHttps() { platform.assumeHttp2Support() enableTlsWithTunnel() server.protocols = Arrays.asList(Protocol.HTTP_2, Protocol.HTTP_1_1) responseBodyFail(Protocol.HTTP_2) } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
} public void addWebProtocol(final String protocol) { final String prefix = protocol + ":"; if (stream(webProtocols).get(stream -> stream.anyMatch(s -> s.equals(prefix)))) { logger.debug("web protocols contains {}.", protocol); return; } webProtocols = Arrays.copyOf(webProtocols, webProtocols.length + 1);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jun 19 01:34:15 UTC 2024 - 7.4K bytes - Viewed (0)