- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for detected (0.78 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt
override fun getSelectedProtocol(sslSocket: SSLSocket): String? = if (sslSocket is BCSSLSocket) { when (val protocol = (sslSocket as BCSSLSocket).applicationProtocol) { // Handles both un-configured and none selected. null, "" -> null else -> protocol } } else { super.getSelectedProtocol(sslSocket) } companion object { val isSupported: Boolean = try {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
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) { this.selected = callArgs[0] as String // Server selected this protocol. return null
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
need to customize SSL, do so for your specific OkHttpClient instance only. ##### Synthetic headers have changed Previously OkHttp added a synthetic response header, `OkHttp-Selected-Transport`. It has been replaced with a new synthetic header, `OkHttp-Selected-Protocol`. ##### Changes * New: Support for `HTTP-draft-09/2.0`. * New: Support for `spdy/3.1`. Dropped support for `spdy/3`.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 6.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt
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 { super.getSelectedProtocol(sslSocket) } companion object { val isSupported: Boolean = try {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.6K bytes - Viewed (0) -
docs/features/calls.md
If a conditional GET was successful, responses from the network and cache are merged as directed by the spec. ## Follow-up Requests When your requested URL has moved, the webserver will return a response code like `302` to indicate the document’s new URL. OkHttp will follow the redirect to retrieve a final response.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 3.9K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
public CustomCipherSuites() throws GeneralSecurityException { // Configure cipher suites to demonstrate how to customize which cipher suites will be used for // an OkHttp request. In order to be selected a cipher suite must be included in both OkHttp's // connection spec and in the SSLSocket's enabled cipher suites array. Most applications should // not customize the cipher suites list.
Java - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Mar 14 21:57:42 GMT 2019 - 6.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt
else -> addresses } for (inetAddress in orderedAddresses) { mutableInetSocketAddresses += InetSocketAddress(inetAddress, socketPort) } } } /** A set of selected Routes. */ class Selection(val routes: List<Route>) { private var nextRouteIndex = 0 operator fun hasNext(): Boolean = nextRouteIndex < routes.size operator fun next(): Route {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Mar 06 17:33:38 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/build.gradle.kts
the task as up-to-date, because these two files, which are based on the generated index.xml, are outputs, not inputs. We can be sure of this because they are deleted in the @BeforeEach method of the OsgiTest test class. - To enable the benefit of incremental builds, we can ask Gradle to ignore these two files when considering whether the classpath
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Jan 04 05:32:07 GMT 2024 - 5.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/WebSocket.kt
* message. * * This method returns true if the message was enqueued. Messages that would overflow the outgoing * message buffer will be rejected and trigger a [graceful shutdown][close] of this web socket. * This method returns false in that case, and in any other case where this web socket is closing, * closed, or canceled. *
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0)