Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for style (0.19 sec)

  1. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

    import java.io.IOException;
    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.net.Socket;
    import javax.net.SocketFactory;
    import jnr.unixsocket.UnixSocketChannel;
    
    /** Impersonate TCP-style SocketFactory over UNIX domain sockets. */
    public final class UnixDomainSocketFactory extends SocketFactory {
      private final File path;
    
      public UnixDomainSocketFactory(File path) {
        this.path = path;
      }
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 03 21:33:52 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

        val headers =
          Headers.Builder()
            .add(
              "WWW-Authenticate",
              "Digest realm=\"myrealm\", nonce=\"fjalskdflwejrlaskdfjlaskdjflaks" +
                "jdflkasdf\", qop=\"auth\", stale=\"FALSE\"",
            )
            .build()
        val challenges = headers.parseChallenges("WWW-Authenticate")
        assertThat(challenges.size).isEqualTo(1)
        assertThat(challenges[0].scheme).isEqualTo("Digest")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_4x.md

    _2020-04-06_
    
    **This release fixes a severe bug where OkHttp incorrectly detected and recovered from unhealthy
    connections.** Stale or canceled connections were incorrectly attempted when they shouldn't have
    been, leading to rare cases of infinite retries. Please upgrade to this release!
    
     *  Fix: don't return stale DNS entries in `DnsOverHttps`. We were caching DNS results indefinitely
    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. docs/assets/css/app.css

        font-weight: 400;
        font-style: normal
    }
    
    @font-face {
        font-family: cash-market;
        src: url("https://cash-f.squarecdn.com/static/fonts/cash-market/v2/CashMarket-Medium.woff2") format("woff2");
        font-weight: 500;
        font-style: normal
    }
    
    @font-face {
        font-family: cash-market;
    CSS
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 08 07:57:03 GMT 2022
    - 1.1K bytes
    - Viewed (4)
  5. CONTRIBUTING.md

    Code Contributions
    ------------------
    
    Get working code on a personal branch with tests passing before you submit a PR:
    
    ```
    ./gradlew clean check
    ```
    
    Please make every effort to follow existing conventions and style in order to keep the code as
    readable as possible.
    
    Contribute code changes through GitHub by forking the repository and sending a pull request. We
    squash all pull requests on merge.
    
    
    Gradle Setup
    ------------
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (0)
  6. docs/contribute/contributing.md

    Code Contributions
    ------------------
    
    Get working code on a personal branch with tests passing before you submit a PR:
    
    ```
    ./gradlew clean check
    ```
    
    Please make every effort to follow existing conventions and style in order to keep the code as
    readable as possible.
    
    Contribute code changes through GitHub by forking the repository and sending a pull request. We
    squash all pull requests on merge.
    
    
    Gradle Setup
    ------------
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (1)
  7. .github/CONTRIBUTING.md

    forking the repository and sending a pull request.
    
    When submitting code, please make every effort to follow existing conventions
    and style in order to keep the code as readable as possible. Please also make
    sure your code compiles by running `./gradlew check`. Checkstyle failures
    during compilation indicate errors in your style and can be viewed in the
    `checkstyle-result.xml` file.
    
    Some general advice
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 17 04:16:26 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  8. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainServerSocketFactory.java

    import javax.net.ServerSocketFactory;
    import jnr.unixsocket.UnixServerSocketChannel;
    import jnr.unixsocket.UnixSocketAddress;
    import jnr.unixsocket.UnixSocketChannel;
    
    /** Impersonate TCP-style ServerSocketFactory over UNIX domain sockets. */
    public final class UnixDomainServerSocketFactory extends ServerSocketFactory {
      private final File path;
    
      public UnixDomainServerSocketFactory(File path) {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 12 16:33:52 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

     * both.
     *
     * Selecting a cache strategy may add conditions to the request (like the "If-Modified-Since" header
     * for conditional GETs) or warnings to the cached response (if the cached data is potentially
     * stale).
     */
    class CacheStrategy internal constructor(
      /** The request to send on the network, or null if this call doesn't use the network. */
      val networkRequest: Request?,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

            .header("Cache-Control", "max-stale=180")
            .build()
        val response = client.newCall(request).execute()
        assertThat(response.body.string()).isEqualTo("A")
        assertThat(response.header("Warning")).isEqualTo(
          "110 HttpURLConnection \"Response is stale\"",
        )
      }
    
      @Test
      fun requestMaxStaleDirectiveWithNoValue() {
        // Add a stale response to the cache.
        server.enqueue(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top