Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 941 for builder_ (0.05 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

       * System#getProperty system property}.
       */
      // TODO(b/65488446): Make this a public API.
      static URL[] parseJavaClassPath() {
        ImmutableList.Builder<URL> urls = ImmutableList.builder();
        for (String entry : Splitter.on(PATH_SEPARATOR.value()).split(JAVA_CLASS_PATH.value())) {
          try {
            try {
              urls.add(new File(entry).toURI().toURL());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 13 20:26:15 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt

      val packageName = "okhttp3.internal.idn"
      val idnaMappingTable = ClassName(packageName, "IdnaMappingTable")
    
      return FileSpec.builder(packageName, "IdnaMappingTableInstance")
        .addProperty(
          PropertySpec.builder("IDNA_MAPPING_TABLE", idnaMappingTable)
            .addModifiers(KModifier.INTERNAL)
            .initializer(
              """
              |%T(⇥
              |sections = "%L",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-settings/src/site/apt/index.apt

     delegating content to {{{../api/maven-api-settings/index.html}Maven 4 API immutable settings}}. All the effective model
     building logic from multiple settings files is done in {{{../maven-settings-builder/}Maven Settings Builder}}.
    
     The following are generated from this model:
    
       * {{{./apidocs/index.html}Java sources}} with Reader and Writers for the Xpp3 XML parser, <<<ToAPiV3()>>> and <<<ToApiV4()>>> transformers, and <<<v4>>> package
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PostForm.java

    public final class PostForm {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        RequestBody formBody = new FormBody.Builder()
            .add("search", "Jurassic Park")
            .build();
        Request request = new Request.Builder()
            .url("https://en.wikipedia.org/w/index.php")
            .post(formBody)
            .build();
    
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/MoreObjects.java

                builder.append(arrayString, 1, arrayString.length() - 1);
              } else {
                builder.append(value);
              }
            }
          }
          return builder.append('}').toString();
        }
    
        private ValueHolder addHolder() {
          ValueHolder valueHolder = new ValueHolder();
          holderTail = holderTail.next = valueHolder;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. docs/features/interceptors.md

    Register an _application_ interceptor by calling `addInterceptor()` on `OkHttpClient.Builder`:
    
    ```java
    OkHttpClient client = new OkHttpClient.Builder()
        .addInterceptor(new LoggingInterceptor())
        .build();
    
    Request request = new Request.Builder()
        .url("http://www.publicobject.com/helloworld.txt")
        .header("User-Agent", "OkHttp Example")
        .build();
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Indicates whether the model building should happen in two phases. If enabled, the initial invocation of the model
         * builder will only produce an interim result which may be used to analyze inter-model dependencies before the
         * final invocation of the model builder is performed.
         *
         * @return {@code true} if two-phase building is enabled, {@code false} if the model should be build in a single
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

      public static <E> NavigableSetTestSuiteBuilder<E> using(TestSortedSetGenerator<E> generator) {
        NavigableSetTestSuiteBuilder<E> builder = new NavigableSetTestSuiteBuilder<>();
        builder.usingGenerator(generator);
        return builder;
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
          FeatureSpecificTestSuiteBuilder<?, ? extends OneSizeTestContainerGenerator<Collection<E>, E>>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/LoggingInterceptors.java

      private static final Logger logger = Logger.getLogger(LoggingInterceptors.class.getName());
      private final OkHttpClient client = new OkHttpClient.Builder()
          .addInterceptor(new LoggingInterceptor())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        Response response = client.newCall(request).execute();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Jan 01 15:55:32 UTC 2016
    - 2K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java

        Collection<ProducedArtifact> getArtifacts();
    
        @Nonnull
        static ArtifactInstallerRequestBuilder builder() {
            return new ArtifactInstallerRequestBuilder();
        }
    
        @Nonnull
        static ArtifactInstallerRequest build(Session session, Collection<ProducedArtifact> artifacts) {
            return builder()
                    .session(nonNull(session, "session cannot be null"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top