Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for createdAt (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

         * an I/O error, or if the target entry is evicted while this editor is active. In either case
         * we delete the editor's created files and prevent new files from being created. Note that once
         * an editor has been detached it is possible for another editor to edit the entry.
         */
        internal fun detach() {
          if (entry.currentEditor == this) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

      @BeforeEach
      fun setUp() {
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(getDefault()) {
            @Throws(SocketException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/EventListener.kt

        /**
         * Creates an instance of the [EventListener] for a particular [Call]. The returned
         * [EventListener] instance will be used during the lifecycle of [call].
         *
         * This method is invoked after [call] is created. See [OkHttpClient.newCall].
         *
         * **It is an error for implementations to issue any mutating operations on the [call] instance
         * from this method.**
         */
        fun create(call: Call): EventListener
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

              (sink.finished || sink.closed) &&
              hasResponseHeaders
            ) {
              return false
            }
            return true
          }
        }
    
      /** Returns true if this stream was created by this peer. */
      val isLocallyInitiated: Boolean
        get() {
          val streamIsClient = (id and 1) == 1
          return connection.client == streamIsClient
        }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      private var http2Connection: Http2Connection? = null
    
      internal val lock: ReentrantLock = ReentrantLock()
    
      // These properties are guarded by [lock].
    
      /**
       * If true, no new exchanges can be created on this connection. It is necessary to set this to
       * true when removing a connection from the pool; otherwise a racing caller might get it from the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

        initialization order of companion objects.
    
    
    ## Version 4.7.1
    
    _2020-05-18_
    
     *  Fix: Pass the right arguments in the trust manager created for `addInsecureHost()`. Without the
        fix insecure hosts crash with an `IllegalArgumentException` on Android.
    
    
    ## Version 4.7.0
    
    _2020-05-17_
    
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

        logger.log(logLevel, message, t)
      }
    
      open fun isCleartextTrafficPermitted(hostname: String): Boolean = true
    
      /**
       * Returns an object that holds a stack trace created at the moment this method is executed. This
       * should be used specifically for [java.io.Closeable] objects and in conjunction with
       * [logCloseableLeak].
       */
      open fun getStackTraceForCloseable(closer: String): Any? {
    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)
  8. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

    /**
     * An OkHttp interceptor which logs request and response information. Can be applied as an
     * [application interceptor][OkHttpClient.interceptors] or as a [OkHttpClient.networkInterceptors].
     *
     * The format of the logs created by this class should not be considered stable and may
     * change slightly between releases. If you need a stable logging format, use your own interceptor.
     */
    class HttpLoggingInterceptor
      @JvmOverloads
      constructor(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
  9. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertContent("This comes after a busted connection", response2)
    
        // Check that a fresh connection was created, either immediately or after attempting reuse.
        // 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
    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)
  10. okhttp/src/main/kotlin/okhttp3/Connection.kt

     * HTTP request/response exchanges. Connections may be direct to the origin server or via a proxy.
     *
     * Typically instances of this class are created, connected and exercised automatically by the HTTP
     * client. Applications may use this class to monitor HTTP connections as members of a
     * [connection pool][ConnectionPool].
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top