Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for Action (0.22 sec)

  1. docs/features/caching.md

    ```kotlin
    cache.evictAll()
    ```
    
    Removing individual items can be done using the urls iterator.
    This would be typical after a user initiates a force refresh by a pull to refresh type action.
    
    ```java
        val urlIterator = cache.urls()
        while (urlIterator.hasNext()) {
          if (urlIterator.next().startsWith("https://www.google.com/")) {
            urlIterator.remove()
          }
        }
    ```
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

        // Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and
        // might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto
        // option to the native-image command.
        platform.assumeNotGraalVMImage()
        val javaNetUrl = URL("mailto:******@****.***")
        assertThat(javaNetUrl.toHttpUrlOrNull()).isNull()
      }
    
      @Test
      fun fromUri() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

     [okio_3_6_0]: https://square.github.io/okio/changelog/#version-360
     [public_suffix]: https://publicsuffix.org/
     [rfc_2045]: https://tools.ietf.org/html/rfc2045
     [rfc_7231_647]: https://tools.ietf.org/html/rfc7231#section-6.4.7
     [rfc_7692]: https://tools.ietf.org/html/rfc7692
     [semver]: https://semver.org/
    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)
  4. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(base.resolve("ht-tp//b/")).isEqualTo(parse("http://a/ht-tp//b/"))
        assertThat(base.resolve("ht.tp//b/")).isEqualTo(parse("http://a/ht.tp//b/"))
      }
    
      /**
       * https://tools.ietf.org/html/rfc3986#section-5.4.1
       */
      @Test
      fun rfc3886NormalExamples() {
        val url = parse("http://a/b/c/d;p?q")
        // No 'g:' scheme in HttpUrl.
        assertThat(url.resolve("g:h")).isNull()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        while (taskFaker.isIdle()) {
          set("a", "a", "a")
          set("b", "b", "b")
        }
    
        // Cause the rebuild action to fail.
        filesystem.setFaultyRename(cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP, true)
        taskFaker.runNextTask()
    
        // Don't allow edits under any circumstances.
        assertThat(cache.edit("a")).isNull()
    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)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * contains space-separated values: a state, a key, and optional state-specific values.
       *
       *   o DIRTY lines track that an entry is actively being created or updated. Every successful
       *     DIRTY action should be followed by a CLEAN or REMOVE action. DIRTY lines without a matching
       *     CLEAN or REMOVE indicate that temporary files may need to be deleted.
       *
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        abstract fun onStream(stream: Http2Stream)
    
        /**
         * Notification that the connection's peer's settings may have changed to [settings].
         * Implementations should take appropriate action to handle the updated settings.
         *
         * Methods to this method may be made concurrently with [onStream]. But a calls to this method
         * are serialized.
         */
        open fun onSettings(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  8. docs/releasing.md

        ```
    
    5. Wait for [GitHub Actions][github_actions] to start the publish job.
    
    6. Prepare for ongoing development and push to GitHub.
    
        ```
        sed -i "" \
          "s/version = \".*\"/version = \"$NEXT_VERSION\"/g" \
          build.gradle.kts
        git commit -am "Prepare next development version."
        git push
        ```
    
    7. Confirm the [GitHub Actions][github_actions] publish job succeeded.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 26 22:07:16 GMT 2022
    - 1.5K bytes
    - Viewed (0)
  9. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

              .setPathDegradationMigration(ConnectionMigrationOptions.MIGRATION_OPTION_ENABLED)
              .setAllowNonDefaultNetworkUsage(ConnectionMigrationOptions.MIGRATION_OPTION_ENABLED)
              .build(),
          )
          .setDnsOptions(
            DnsOptions.Builder()
              .setUseHttpStackDnsResolver(DnsOptions.DNS_OPTION_ENABLED)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. okcurl/build.gradle.kts

      }
    }
    
    tasks.shadowJar {
      mergeServiceFiles()
    }
    
    graal {
      mainClass("okhttp3.curl.MainCommandLineKt")
      outputName("okcurl")
      graalVersion(libs.versions.graalvm.get())
      javaVersion("11")
    
      option("--no-fallback")
    
      if (Os.isFamily(Os.FAMILY_WINDOWS)) {
        // May be possible without, but autodetection is problematic on Windows 10
        // see https://github.com/palantir/gradle-graal
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.8K bytes
    - Viewed (1)
Back to top