Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for reverse (0.22 sec)

  1. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     * ```
     *
     * ## Shutdown Isn't Necessary
     *
     * The threads and connections that are held will be released automatically if they remain idle. But
     * if you are writing a application that needs to aggressively release unused resources you may do
     * so.
     *
     * Shutdown the dispatcher's executor service with [shutdown()][ExecutorService.shutdown]. This will
     * also cause future calls to the client to be rejected.
     *
     * ```java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      }
    
      /** On Windows we have to wait until the edit is committed before we can delete its files. */
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
      fun `unterminated edit is reverted on cache close`(parameters: Pair<FileSystem, Boolean>) {
        setUp(parameters.first, parameters.second)
        val editor = cache.edit("k1")!!
        editor.setString(0, "AB")
        editor.setString(1, "C")
        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)
  3. android-test-app/build.gradle.kts

    @file:Suppress("UnstableApiUsage")
    
    plugins {
      id("com.android.application")
      id("kotlin-android")
    }
    
    android {
      compileSdk = 34
    
      namespace = "okhttp.android.testapp"
    
      testBuildType = "release"
    
      defaultConfig {
        minSdk = 21
        targetSdk = 34
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/Dispatcher.kt

       * request bodies.
       */
      open fun peek(): MockResponse {
        return MockResponse(socketPolicy = KeepOpen)
      }
    
      /**
       * Release any resources held by this dispatcher. Any requests that are currently being dispatched
       * should return immediately. Responses returned after shutdown will not be transmitted: their
       * socket connections have already been closed.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

     *
     * Requires org.conscrypt:conscrypt-openjdk-uber >= 2.1.0 on the classpath.
     */
    class ConscryptPlatform private constructor() : Platform() {
      private val provider: Provider = Conscrypt.newProvider()
    
      // See release notes https://groups.google.com/forum/#!forum/conscrypt
      // for version differences
      override fun newSSLContext(): SSLContext =
        // supports TLSv1.3 by default (version api is >= 1.4.0)
    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)
  6. docs/features/https.md

    OkHttpClient client = new OkHttpClient.Builder()
        .connectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))
        .build();
    ```
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          if (!acquired) continue
    
          // Confirm the connection is healthy and return it.
          if (connection.isHealthy(doExtensiveHealthChecks)) return connection
    
          // In the second synchronized block, release the unhealthy acquired connection. We're also on
          // the hook to close this connection if it's no longer in use.
          val noNewExchangesEvent: Boolean
          val toClose: Socket? =
            connection.withLock {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/EventListener.kt

    /**
     * Listener for metrics events. Extend this class to monitor the quantity, size, and duration of
     * your application's HTTP calls.
     *
     * All start/connect/acquire events will eventually receive a matching end/release event, either
     * successful (non-null parameters), or failed (non-null throwable). The first common parameters of
     * each event pair are used to link the event in case of concurrent or repeated events e.g.
    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)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            logger.fine("$this starting to accept connections")
            acceptConnections()
          } catch (e: Throwable) {
            logger.log(Level.WARNING, "$this failed unexpectedly", e)
          }
    
          // Release all sockets and all threads, even if any close fails.
          serverSocket?.closeQuietly()
    
          val openClientSocket = openClientSockets.iterator()
          while (openClientSocket.hasNext()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    2034          ; mapped                 ; 2032 2032 2032 #1.1  TRIPLE PRIME
    2035          ; valid                  ;      ; NV8    # 1.1  REVERSED PRIME
    2036          ; mapped                 ; 2035 2035     # 1.1  REVERSED DOUBLE PRIME
    2037          ; mapped                 ; 2035 2035 2035 #1.1  REVERSED TRIPLE PRIME
    2038..203B    ; valid                  ;      ; NV8    # 1.1  CARET..REFERENCE MARK
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
Back to top