Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for doExtensiveHealthChecks (0.23 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

        planToReplace: ConnectPlan? = null,
        routes: List<Route>? = null,
      ): ReusePlan? {
        val result =
          connectionPool.callAcquirePooledConnection(
            doExtensiveHealthChecks = connectionUser.doExtensiveHealthChecks(),
            address = address,
            connectionUser = connectionUser,
            routes = routes,
            requireMultiplexed = planToReplace != null && planToReplace.isReady,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/CallConnectionUser.kt

      }
    
      override fun noNewExchanges(connection: RealConnection) {
        connection.connectionListener.noNewExchanges(connection)
      }
    
      override fun doExtensiveHealthChecks(): Boolean {
        return chain.request.method != "GET"
      }
    
      override fun isCanceled(): Boolean {
        return call.isCanceled()
      }
    
      override fun candidateConnection(): RealConnection? {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Mar 06 17:33:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * This is used to coalesce related domains to the same HTTP/2 connection, such as `square.com`
       * and `square.ca`.
       */
      fun callAcquirePooledConnection(
        doExtensiveHealthChecks: Boolean,
        address: Address,
        connectionUser: ConnectionUser,
        routes: List<Route>?,
        requireMultiplexed: Boolean,
      ): RealConnection? {
        for (connection in connections) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt

      fun connectionConnectionReleased(connection: RealConnection)
    
      fun connectionConnectionClosed(connection: RealConnection)
    
      fun noNewExchanges(connection: RealConnection)
    
      fun doExtensiveHealthChecks(): Boolean
    
      fun isCanceled(): Boolean
    
      fun candidateConnection(): RealConnection?
    
      fun proxySelectStart(url: HttpUrl)
    
      fun proxySelectEnd(
        url: HttpUrl,
        proxies: List<Proxy>,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt

      }
    
      override fun connectionConnectionClosed(connection: RealConnection) {
      }
    
      override fun noNewExchanges(connection: RealConnection) {
      }
    
      override fun doExtensiveHealthChecks(): Boolean = false
    
      override fun isCanceled(): Boolean = false
    
      override fun candidateConnection(): RealConnection? = null
    
      override fun proxySelectStart(url: HttpUrl) {
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top