Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for Prefer (0.03 sec)

  1. okhttp-urlconnection/README.md

    OkHttp URLConnection
    ====================
    
    This module integrates OkHttp with `Authenticator` and `CookieHandler` from `java.net`.
    
    This module is obsolete; prefer `okhttp-java-net-cookiejar`.
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-urlconnection:5.3.0")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 292 bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharStreams.java

      }
    
      /**
       * Reads all characters from a {@link Readable} object into a {@link String}. Does not close the
       * {@code Readable}.
       *
       * <p><b>Java 25+ users:</b> If the input is a {@link Reader}, prefer {@link
       * Reader#readAllAsString()}.
       *
       * @param r the object to read from
       * @return a string containing all the characters
       * @throws IOException if an I/O error occurs
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

      private lateinit var client: OkHttpClient
      private lateinit var url: HttpUrl
    
      /**
       * This is mutable and order matters. By default, it contains [IPv4, IPv6]. Tests may manipulate
       * it to prefer IPv6.
       */
      private var dnsResults = listOf<InetAddress>()
    
      @BeforeEach
      internal fun setUp() {
        val inetAddresses = InetAddress.getAllByName("localhost")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/StandardValueGraph.java

          Map<N, GraphConnections<N, V>> nodeConnections,
          long edgeCount) {
        this.isDirected = builder.directed;
        this.allowsSelfLoops = builder.allowsSelfLoops;
        this.nodeOrder = builder.nodeOrder.cast();
        // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive.
        this.nodeConnections =
            (nodeConnections instanceof TreeMap)
                ? new MapRetrievalCache<N, GraphConnections<N, V>>(nodeConnections)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/primitives/Floats.java

     * @since 1.0
     */
    @GwtCompatible
    public final class Floats extends FloatsMethodsForWeb {
      private Floats() {}
    
      /**
       * The number of bytes required to represent a primitive {@code float} value.
       *
       * <p>Prefer {@link Float#BYTES} instead.
       *
       * @since 10.0
       */
      public static final int BYTES = Float.BYTES;
    
      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Float#hashCode(float)}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         */
        open fun header(
          name: String,
          value: String,
        ) = apply {
          headers[name] = value
        }
    
        /**
         * Adds a header with [name] and [value]. Prefer this method for multiply-valued
         * headers like "Cookie".
         *
         * Note that for some headers including `Content-Length` and `Content-Encoding`,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 14.7K bytes
    - Viewed (1)
  7. CHANGELOG.md

        Processing][uts46]. With this fix, the `ß` code point no longer maps to `ss`. OkHttp now embeds
        its own IDN mapping table in the library.
    
     *  New: Prefer the client's configured precedence order for TLS cipher suites. (OkHttp used to
        prefer the JDK’s precedence order.) This change may cause your HTTP calls to negotiate a
        different cipher suite than before! OkHttp's defaults cipher suites are selected for good
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  8. guava/src/com/google/common/primitives/Doubles.java

     */
    @GwtCompatible
    public final class Doubles extends DoublesMethodsForWeb {
      private Doubles() {}
    
      /**
       * The number of bytes required to represent a primitive {@code double} value.
       *
       * <p>Prefer {@link Double#BYTES} instead.
       *
       * @since 10.0
       */
      public static final int BYTES = Double.BYTES;
    
      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Double#hashCode(double)}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/Shorts.java

     * @since 1.0
     */
    @GwtCompatible
    public final class Shorts extends ShortsMethodsForWeb {
      private Shorts() {}
    
      /**
       * The number of bytes required to represent a primitive {@code short} value.
       *
       * <p>Prefer {@link Short#BYTES} instead.
       */
      public static final int BYTES = Short.BYTES;
    
      /**
       * The largest power of two that can be represented as a {@code short}.
       *
       * @since 10.0
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Shorts.java

     * @since 1.0
     */
    @GwtCompatible
    public final class Shorts extends ShortsMethodsForWeb {
      private Shorts() {}
    
      /**
       * The number of bytes required to represent a primitive {@code short} value.
       *
       * <p>Prefer {@link Short#BYTES} instead.
       */
      public static final int BYTES = Short.BYTES;
    
      /**
       * The largest power of two that can be represented as a {@code short}.
       *
       * @since 10.0
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
Back to top