Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,105 for builder (0.1 sec)

  1. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt

    /**
     * Do not use this.
     *
     * Instead, configure your OkHttpClient.Builder to use `Authenticator.JAVA_NET_AUTHENTICATOR`:
     *
     * ```
     *   val okHttpClient = OkHttpClient.Builder()
     *     .authenticator(okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR)
     *     .build()
     * ```
     */
    @Deprecated(message = "Use okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR instead")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java

      private final OkHttpClient client = new OkHttpClient();
      private final Moshi moshi = new Moshi.Builder().build();
      private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class);
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://api.github.com/gists/c2a7c39532239ff261be")
            .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.8K bytes
    - Viewed (0)
  3. compat/maven-toolchain-model/src/site/apt/index.apt

     delegating content to {{{../api/maven-api-toolchain/index.html}Maven 4 API immutable toolchain}}. All the effective model
     building logic from multiple toolchains files is done in {{{../maven-toolchain-builder/}Maven Toolchain 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
    - 1.6K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java

    public final class WebSocketEcho extends WebSocketListener {
      private void run() {
        OkHttpClient client = new OkHttpClient.Builder()
            .readTimeout(0,  TimeUnit.MILLISECONDS)
            .build();
    
        Request request = new Request.Builder()
            .url("ws://echo.websocket.org")
            .build();
        client.newWebSocket(request, this);
    
        // Trigger shutdown of the dispatcher's executor so this process exits immediately.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 04 11:40:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutor.java

        // For a given project packaging find all the plugins that are bound to any registered
        // lifecycles. The project builder needs to now what default plugin information needs to be
        // merged into POM being built. Once the POM builder has this plugin information, versions can be assigned
        // by the POM builder because they will have to be defined in plugin management. Once this is setComplete then it
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
            } catch (IndexNotFoundException ignore) {
    
            }
            runner.refresh();
            settings = Suggester.builder().build(runner.client(), id).settings();
        }
    
        @Test
        public void test_defaultSettings() throws Exception {
            assertEquals("settings-test.suggest", settings.getAsString(SuggestSettings.DefaultKeys.INDEX, ""));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java

            queryBuilder.visit(visitor);
        }
    
        @Override
        public XContentBuilder toXContent(final XContentBuilder builder, final Params params) throws IOException {
            return queryBuilder.toXContent(builder, params);
        }
    
        @Override
        public void writeTo(final StreamOutput out) throws IOException {
            queryBuilder.writeTo(out);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables.go

    	// Append our rules here
    	builder := cfg.appendInpodRules(hostProbeSNAT, hostProbeV6SNAT, ingressMode)
    
    	if err := cfg.addLoopbackRoute(); err != nil {
    		return err
    	}
    
    	if err := cfg.addInpodMarkIPRule(); err != nil {
    		return err
    	}
    
    	log.Debug("Adding iptables rules")
    	if err := cfg.executeCommands(log, builder); err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Oct 15 15:39:28 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/QuantilesTest.java

        Random random = new Random(2211275185798966364L);
        ImmutableList.Builder<Double> largeDatasetBuilder = ImmutableList.builder();
        for (int i = 0; i < PSEUDORANDOM_DATASET_SIZE; i++) {
          largeDatasetBuilder.add(random.nextGaussian());
        }
        return largeDatasetBuilder.build();
      }
    
      private static double expectedLargeDatasetPercentile(int index) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

        @Nonnull
        static ModelBuilderRequest build(@Nonnull ModelBuilderRequest request, @Nonnull ModelSource source) {
            return builder(nonNull(request, "request cannot be null"))
                    .source(nonNull(source, "source cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ModelBuilderRequest build(@Nonnull Session session, @Nonnull ModelSource source) {
            return builder()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top