Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for creation (0.44 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSocketFactory.kt

     */
    package okhttp3
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.Socket
    import javax.net.SocketFactory
    
    /**
     * A [SocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureSocket].
     */
    open class DelegatingSocketFactory(private val delegate: SocketFactory) : SocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): Socket {
    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)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt

    import java.net.InetAddress
    import java.net.Socket
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    
    /**
     * A [SSLSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureSocket].
     */
    open class DelegatingSSLSocketFactory(private val delegate: SSLSocketFactory) : SSLSocketFactory() {
      @Throws(IOException::class)
      override fun createSocket(): SSLSocket {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingServerSocketFactory.kt

    import java.io.IOException
    import java.net.InetAddress
    import java.net.ServerSocket
    import javax.net.ServerSocketFactory
    
    /**
     * A [ServerSocketFactory] that delegates calls. Sockets can be configured after creation by
     * overriding [.configureServerSocket].
     */
    open class DelegatingServerSocketFactory(private val delegate: ServerSocketFactory) : ServerSocketFactory() {
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (2)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

       * the event source has already been closed or canceled.
       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must cancel the returned event source when it is no longer in use.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_4x.md

     *  Upgrade: Build with Conscrypt 2.5.1.
    
    
    ## Version 4.8.1
    
    _2020-08-06_
    
     *  Fix: Don't crash in `HeldCertificate.Builder` when creating certificates on older versions of
        Android, including Android 6. We were using a feature of `SimpleDateFormat` that wasn't
        available in those versions!
    
    
    ## Version 4.8.0
    
    _2020-07-11_
    
    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)
  6. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        // We know that a fresh connection was created if the server recorded a request with sequence
        // number 0. Since the client may have attempted to reuse the broken connection just before
        // creating a fresh connection, the server may have recorded 2 requests at this point. The order
        // of recording is non-deterministic.
        val requestAfter = server.takeRequest()
        assertThat(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        // System.setProperty("jdk.tls.client.enableSessionTicketExtension", "true")
        // System.setProperty("jdk.tls.server.enableSessionTicketExtension", "true")
    
        // IllegalStateException: Cannot resume session and session creation is disabled
        platform.assumeNotBouncyCastle()
      }
    
      @ParameterizedTest(name = "{displayName}({arguments})")
      @ValueSource(strings = ["TLSv1.2", "TLSv1.3"])
      @Flaky
      fun testSessionReuse(tlsVersion: String) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     *     [chunked][newChunkedSource] or [unknown][newUnknownLengthSource].
     *  6. Read from and close that source.
     *
     * Exchanges that do not have a request body may skip creating and closing the request body.
     * Exchanges that do not have a response body can call
     * [newFixedLengthSource(0)][newFixedLengthSource] and may skip reading and closing that source.
     */
    class Http1ExchangeCodec(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        var creator = cache.edit("k1")!!
        creator.setString(0, "ABC")
        creator.setString(1, "DE")
        creator.commit()
        cache.flush()
        filesystem.copy(journalFile, journalBkpFile)
        creator = cache.edit("k2")!!
        creator.setString(0, "F")
        creator.setString(1, "GH")
        creator.commit()
        cache.close()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

            add(ia.next())
          }
          if (ib.hasNext()) {
            add(ib.next())
          }
        }
      }
    }
    
    // TODO check read only options for creating lists
    public fun <T> List<T>.readOnly() = this.toList()
    
    // TODO check read only options for creating lists
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top