Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,781 for buildup (0.12 sec)

  1. README.md

    ```java
    OkHttpClient client = new OkHttpClient();
    
    String run(String url) throws IOException {
      Request request = new Request.Builder()
          .url(url)
          .build();
    
      try (Response response = client.newCall(request).execute()) {
        return response.body().string();
      }
    }
    ```
    
    
    Post to a Server
    ----------------
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. CHANGELOG.md

    where it's available.
    
    To opt-in, configure your `OkHttpClient.Builder`:
    
    
    ```
    OkHttpClient client = new OkHttpClient.Builder()
        .fastFallback(true)
        .build();
    ```
    
     *  New: Change the build from Kotlin-JVM to Kotlin-multiplatform (which includes JVM). Both
        native and JavaScript platforms are unstable preview releases and subject to
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       */
      public static <B> Builder<B> orderedBy(Comparator<B> comparator) {
        return new Builder<>(comparator);
      }
    
      /**
       * Creates and returns a new builder, configured to build {@code MinMaxPriorityQueue} instances
       * sized appropriately to hold {@code expectedSize} elements.
       */
      @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

        val certA =
          HeldCertificate.Builder()
            .serialNumber(2L)
            .certificateAuthority(0)
            .signedBy(root)
            .build()
        val certB =
          HeldCertificate.Builder()
            .serialNumber(3L)
            .signedBy(certA)
            .build()
        val certUnnecessary =
          HeldCertificate.Builder()
            .serialNumber(4L)
            .build()
        val cleaner = get(root.certificate)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. clause/clause.go

    	Expression          Expression
    	Builder             ClauseBuilder
    }
    
    // Build build clause
    func (c Clause) Build(builder Builder) {
    	if c.Builder != nil {
    		c.Builder(c, builder)
    	} else if c.Expression != nil {
    		if c.BeforeExpression != nil {
    			c.BeforeExpression.Build(builder)
    			builder.WriteByte(' ')
    		}
    
    		if c.Name != "" {
    			builder.WriteString(c.Name)
    			builder.WriteByte(' ')
    		}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Feb 02 09:15:08 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        ImmutableListMultimap.Builder<String, Integer> builder = ImmutableListMultimap.builder();
        builder.put("b", 3);
        builder.put("d", 2);
        builder.put("a", 5);
        builder.orderValuesBy(Collections.reverseOrder());
        builder.put("c", 4);
        builder.put("a", 2);
        builder.put("b", 6);
        ImmutableListMultimap<String, Integer> multimap = builder.build();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RequestTest.kt

      @Test
      fun emptyNameForbidden() {
        val builder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.header("", "Value")
        }
        assertFailsWith<IllegalArgumentException> {
          builder.addHeader("", "Value")
        }
      }
    
      @Test
      fun headerAllowsTabOnlyInValues() {
        val builder = Request.Builder()
        builder.header("key", "sample\tvalue")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        webServer.enqueue(
          MockResponse.Builder()
            .code(101)
            .setHeader("Upgrade", "websocket")
            .setHeader("Sec-WebSocket-Accept", "ujmZX4KXZqjwy6vi1aQFH5p4Ygk=")
            .build(),
        )
        webServer.enqueue(
          MockResponse.Builder()
            .socketPolicy(SocketPolicy.DisconnectAtStart)
            .build(),
        )
        val webSocket = newWebSocket()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader("Cache-Control: max-age=60")
            .body("A")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .addHeader("Cache-Control: max-age=60")
            .body("B")
            .build(),
        )
        val request1 =
          Request.Builder()
            .url(server.url("/"))
            .cacheControl(CacheControl.Builder().noStore().build())
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

      @Test
      fun emptyNameForbidden() {
        val builder = Request.Builder()
        assertFailsWith<IllegalArgumentException> {
          builder.header("", "Value")
        }
        assertFailsWith<IllegalArgumentException> {
          builder.addHeader("", "Value")
        }
      }
    
      @Test
      fun headerAllowsTabOnlyInValues() {
        val builder = Request.Builder()
        builder.header("key", "sample\tvalue")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top