Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for classes (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

          // Oracle JDK. Note that we don't support HTTP/2 or other nice features on Robolectric.
          val sslContextClass = Class.forName("sun.security.ssl.SSLContextImpl")
          val context = readFieldOrNull(sslSocketFactory, sslContextClass, "context") ?: return null
          readFieldOrNull(context, X509TrustManager::class.java, "trustManager")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Huffman.kt

     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    import okhttp3.internal.and
    import okio.BufferedSink
    import okio.BufferedSource
    import okio.ByteString
    
    /**
     * This class was originally composed from the following classes in
     * [Twitter Hpack][twitter_hpack].
     *
     *  * `com.twitter.hpack.HuffmanEncoder`
     *  * `com.twitter.hpack.HuffmanDecoder`
     *  * `com.twitter.hpack.HpackUtil`
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

        platform-specific TLS features OkHttp must detect whether it's running in a JVM or in Android.
        The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp!
    
     *  Fix: Include the header `Accept: text/event-stream` for SSE calls. This header is not added if
        the request already contains an `Accept` header.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  4. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

    fun buildTestEngine(): TestEngine = JupiterTestEngine()
    
    /**
     * Returns a fixed set of test classes from testlist.txt, skipping any not found in the
     * current classpath.  The IDE runs with less classes to avoid conflicting module ownership.
     */
    fun testSelectors(inputFile: File? = null): List<DiscoverySelector> {
      val sampleTestClass = SampleTest::class.java
    
      val lines =
    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)
  5. docs/contribute/concurrency.md

    Since HTTP requests frequently happen in parallel, connection pooling must be thread-safe.
    
    These are the primary classes involved with establishing, sharing, and terminating connections:
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/resources/META-INF/proguard/okhttp3.pro

    # OkHttp test platform rules uses optional classes.
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 65 bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        Mocking sophisticated classes like `OkHttpClient` is fragile and you
        shouldn’t do it. But if that’s how you want to live your life we won’t stand
        in your way!
    
    
    ## Version 3.0.1
    
    _2016-01-14_
    
     *  Rollback OSGi support. This was causing library jars to include more classes
        than expected, which interfered with Gradle builds.
    
    
    ## Version 3.0.0
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt

     *
     * It's assumed to always be present with known class names on Android devices, so we build
     * optimistically via [buildIfSupported].  But it also doesn't assume a compile time API.
     */
    class StandardAndroidSocketAdapter(
      sslSocketClass: Class<in SSLSocket>,
      private val sslSocketFactoryClass: Class<in SSLSocketFactory>,
      private val paramClass: Class<*>,
    ) : AndroidSocketAdapter(sslSocketClass) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

    import okhttp3.internal.SuppressSignatureCheck
    
    /** Data classes that correspond to each of the methods of [ConnectionListener]. */
    @SuppressSignatureCheck
    sealed class ConnectionEvent {
      abstract val timestampNs: Long
      open val connection: Connection?
        get() = null
    
      /** Returns if the event closes this event, or null if this is no open event. */
      open fun closes(event: ConnectionEvent): Boolean? = null
    
      val name: String
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.startsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import org.apache.hc.client5.http.classic.methods.HttpGet
    import org.apache.hc.client5.http.impl.classic.HttpClients
    import org.apache.hc.core5.http.io.entity.EntityUtils
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    /**
     * Apache HttpClient 5.x.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top