Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Delete (0.19 sec)

  1. deploy_website.sh

    #!/bin/bash
    
    # The website is built using MkDocs with the Material theme.
    # https://squidfunk.github.io/mkdocs-material/
    # It requires python3 to run.
    
    set -ex
    
    REPO="******@****.***:square/okhttp.git"
    DIR=temp-clone
    
    # Delete any existing temporary website clone
    rm -rf $DIR
    
    # Clone the current repo into temp folder
    git clone $REPO $DIR
    # Replace `git clone` with these lines to hack on the website locally
    # cp -a . "../okhttp-website"
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  2. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

     * cannot do TLS over domain sockets.
     */
    public class ClientAndServer {
      public void run() throws Exception {
        File socketFile = new File("/tmp/ClientAndServer.sock");
        socketFile.delete(); // Clean up from previous runs.
    
        MockWebServer server = new MockWebServer();
        server.setServerSocketFactory(new UnixDomainServerSocketFactory(socketFile));
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/graal/GraalSvm.kt

    @TargetClass(AndroidPlatform::class)
    @Delete
    class TargetAndroidPlatform
    
    @TargetClass(Android10Platform::class)
    @Delete
    class TargetAndroid10Platform
    
    @TargetClass(BouncyCastlePlatform::class)
    @Delete
    class TargetBouncyCastlePlatform
    
    @TargetClass(ConscryptPlatform::class)
    @Delete
    class TargetConscryptPlatform
    
    @TargetClass(Jdk8WithJettyBootPlatform::class)
    @Delete
    class TargetJdk8WithJettyBootPlatform
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/io/FaultyFileSystem.kt

        super.atomicMove(source, target)
      }
    
      @Throws(IOException::class)
      override fun delete(
        path: Path,
        mustExist: Boolean,
      ) {
        if (deleteFaults.contains(path)) throw IOException("boom!")
        super.delete(path, mustExist)
      }
    
      @Throws(IOException::class)
      override fun deleteRecursively(
        fileOrDirectory: Path,
        mustExist: Boolean,
      ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. docs/features/caching.md

     
    ## Cache directory
    
    The cache directory must be exclusively owned by a single instance.
    
    Deleting the cache when it is no longer needed can be done.  However this may delete the purpose of the cache
    which is designed to persist between app restarts.
    
    ```kotlin
    cache.delete()
    ```
     
    ## Pruning the Cache
    
    Pruning the entire Cache to clear space temporarily can be done using evictAll.
    
    ```kotlin
    cache.evictAll()
    ```
    
    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)
  6. okhttp/src/main/kotlin/okhttp3/internal/-RequestCommon.kt

    fun Request.Builder.commonPost(body: RequestBody): Request.Builder = method("POST", body)
    
    fun Request.Builder.commonDelete(body: RequestBody?): Request.Builder = method("DELETE", body)
    
    fun Request.Builder.commonPut(body: RequestBody): Request.Builder = method("PUT", body)
    
    fun Request.Builder.commonPatch(body: RequestBody): Request.Builder = method("PATCH", body)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/okio/LoggingFilesystem.kt

        dir: Path,
        mustCreate: Boolean,
      ) {
        log("createDirectory($dir)")
    
        super.createDirectory(dir, mustCreate)
      }
    
      override fun delete(
        path: Path,
        mustExist: Boolean,
      ) {
        log("delete($path)")
    
        super.delete(path, mustExist)
      }
    
      override fun sink(
        path: Path,
        mustCreate: Boolean,
      ): Sink {
        log("sink($path)")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/idn/StringprepTablesReaderTest.kt

          |  0221
          |  0234-024F
          |  0000-001F; [CONTROL CHARACTERS]
          |  007F; DELETE
          |
          """.trimMargin(),
        )
    
        val rangeList = buffer.readCodePointSet()
        assertEquals(
          listOf(
            0x0221..0x0221,
            0x0234..0x024f,
            // [CONTROL CHARACTERS].
            0x0000..0x001f,
            // DELETE.
            0x007f..0x007f,
          ),
          rangeList.ranges,
        )
      }
    
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
      }
    
      @AfterEach
      fun tearDown() {
        ResponseCache.setDefault(null)
        if (this::cache.isInitialized) {
          cache.delete()
        }
      }
    
      @Test
      fun corruptedCipher() {
        val response =
          testCorruptingCache {
            corruptMetadata {
              // mess with cipher suite
              it.replace("TLS_", "SLT_")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (1)
  10. docs/changelogs/changelog_1x.md

     * Fix: Don't leak gzip streams on redirects.
     * Fix: Don't do DNS lookups on invalid hosts.
     * Fix: Exhaust the underlying stream when reading gzip streams.
     * Fix: Support the `PATCH` method.
     * Fix: Support request bodies on `DELETE` method.
     * Fix: Drop the `okhttp-protocols` module.
     * Internal: Replaced internal byte array buffers with pooled buffers ("OkBuffer").
    
    
    ## Version 1.3.0
    
    _2014-01-11_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
Back to top