Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,134 for build1 (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

    import okhttp3.internal.USER_AGENT
    import okhttp3.internal.toHostHeader
    import okio.GzipSource
    import okio.buffer
    
    /**
     * Bridges from application code to network code. First it builds a network request from a user
     * request. Then it proceeds to call the network. Finally it builds a user response from the network
     * response.
     */
    class BridgeInterceptor(private val cookieJar: CookieJar) : Interceptor {
      @Throws(IOException::class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

        static VersionResolverRequest build(@Nonnull Session session, @Nonnull ArtifactCoordinates artifactCoordinates) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
                    .artifactCoordinates(nonNull(artifactCoordinates, "artifactCoordinates cannot be null"))
                    .build();
        }
    
        @Nonnull
        static VersionResolverRequest build(
                @Nonnull Session session,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ResponseCommonTest.kt

      }
    
      @Test fun defaultResponseBodyIsEmpty() {
        val response =
          Response.Builder()
            .request(
              Request.Builder()
                .url("https://example.com/")
                .build(),
            )
            .protocol(Protocol.HTTP_1_1)
            .code(200)
            .message("OK")
            .build()
        assertThat(response.body.contentType()).isNull()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt

      private val client =
        OkHttpClient.Builder()
          .certificatePinner(
            CertificatePinner.Builder()
              .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
              .build(),
          )
          .build()
    
      fun run() {
        val request =
          Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/FormBodyTest.kt

            .add("help", "me")
            .build()
        val expected = "sim=ple&hey=there&help=me"
        assertThat(body.contentLength()).isEqualTo(expected.length.toLong())
        val buffer = Buffer()
        body.writeTo(buffer)
        assertThat(buffer.readUtf8()).isEqualTo(expected)
      }
    
      @Test
      fun buildEmptyForm() {
        val body = FormBody.Builder().build()
        val expected = ""
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        public SortedMap<String, String> create(Entry<String, String>[] entries) {
          ImmutableSortedMap.Builder<String, String> builder = ImmutableSortedMap.naturalOrder();
          for (Entry<String, String> entry : entries) {
            checkNotNull(entry);
            builder.put(entry.getKey(), entry.getValue());
          }
          return builder.build();
        }
      }
    
      public static class ImmutableSortedMapCopyOfEntriesGenerator
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        ImmutableSortedSet.Builder<LegacyComparable> builder =
            ImmutableSortedSet.<LegacyComparable>naturalOrder();
    
        builder.addAll(LegacyComparable.VALUES_BACKWARD);
        builder.add(LegacyComparable.X);
        builder.add(LegacyComparable.Y, LegacyComparable.Z);
    
        ImmutableSortedSet<LegacyComparable> set = builder.build();
        assertTrue(elementsEqual(LegacyComparable.VALUES_FORWARD, set));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

                    .type(type)
                    .build();
        }
    
        @Nonnull
        static ArtifactCoordinatesFactoryRequest build(@Nonnull Session session, @Nonnull String coordinateString) {
            return ArtifactCoordinatesFactoryRequest.builder()
                    .session(nonNull(session, "session"))
                    .coordinateString(nonNull(coordinateString, "coordinateString"))
                    .build();
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. docs/bucket/versioning/README.md

          //         .build();
    
          // Create bucket 'my-bucketname' if it doesn`t exist.
          if (!minioClient.bucketExists(BucketExistsArgs.builder().bucket("my-bucketname").build())) {
            minioClient.makeBucket(MakeBucketArgs.builder().bucket("my-bucketname").build());
            System.out.println("my-bucketname is created successfully");
          }
    
          boolean isVersioningEnabled =
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableMultisetFloodingTest.java

            ImmutableMultiset.Builder<Object> builder = ImmutableMultiset.builder();
            for (Object o : keys) {
              builder.add(o);
            }
            return builder.build();
          }
        },
        BUILDER_ADD_ALL_COLLECTION {
          @Override
          public ImmutableMultiset<Object> create(List<?> keys) {
            ImmutableMultiset.Builder<Object> builder = ImmutableMultiset.builder();
            builder.addAll(keys);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top