Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Early (0.16 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * a CountdownLatch).
       */
      @Throws(InterruptedException::class)
      abstract fun dispatch(request: RecordedRequest): MockResponse
    
      /**
       * Returns an early guess of the next response, used for policy on how an incoming request should
       * be received. The default implementation returns an empty response. Mischievous implementations
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

              message.startsWith("Found resumable session") -> Type.Handshake
              message.startsWith("Resuming session") -> Type.Handshake
              message.startsWith("Using PSK to derive early secret") -> Type.Handshake
              else -> Type.Unknown
            }
    
        override fun toString(): String {
          return if (param != null) {
            message + "\n" + param
          } else {
            message
          }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

        return newSSLContext().apply {
          init(null, arrayOf<TrustManager>(trustManager), null)
        }.socketFactory
      }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.conscrypt.Conscrypt\$Version", false, javaClass.classLoader)
    
            when {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http/HttpStatusCodes.kt

    /** `100 Continue` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_CONTINUE = 100
    
    /** `102 Processing` (WebDAV - RFC 2518)  */
    const val HTTP_PROCESSING = 102
    
    /** `103 Early Hints (Early Hints - RFC 8297)` */
    const val HTTP_EARLY_HINTS = 103
    
    /** `307 Temporary Redirect` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_TEMP_REDIRECT = 307
    
    /** `308 Permanent Redirect` (HTTP/1.1 - RFC 7538)  */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

            null, "" -> null
            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, javaClass.classLoader)
    
            true
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

          // actual response status.
          code == 100 -> true
    
          // Handle Processing (102) & Early Hints (103) and any new codes without failing
          // 100 and 101 are the exceptions with different meanings
          // But Early Hints not currently exposed
          code in (102 until 200) -> true
    
          else -> false
        }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.3K bytes
    - Viewed (1)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

      }
    
      private fun logWithTime(message: String) {
        val startNs = startNs
        val timeMs =
          if (startNs == null) {
            // Event occurred before start, for an example an early cancel.
            0L
          } else {
            TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
          }
    
        logger.invoke("[$timeMs ms] $message")
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

            // that. If any of the BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS ended in "'GMT'" we'd have
            // to also check that position.getIndex() == value.length() otherwise parsing might have
            // terminated early, ignoring things like "+01:00". Leaving this as != 0 means that any
            // trailing junk is ignored.
            return result
          }
        }
      }
      return null
    }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

            null, "" -> null
            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.openjsse.net.ssl.OpenJSSE", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. docs/features/caching.md

     - CallStart 
     - **CacheMiss**
     - ProxySelectStart
     - ... Standard Events ...
     - CallEnd
            
    ### Conditional Cache Hit
     
    When cache flags require checking the cache results are still valid an early cacheConditionalHit event is
    received followed by a cache hit or miss.  Critically in the cache hit scenario the server won’t send the response body.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
Back to top