Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 896 for boiler (0.33 seconds)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt

    import java.io.IOException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class SynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

                }
              }
    
            val headers =
              Headers
                .Builder()
                .addUnsafeNonAscii("Content-Disposition", disposition)
                .build()
    
            return create(headers, body)
          }
        }
      }
    
      class Builder
        @JvmOverloads
        constructor(
          boundary: String = UUID.randomUUID().toString(),
        ) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * For example, if you specify an underscore as the delimiter for JavaBeans and a period as the delimiter for {@link Map},
         * the property names for the source and destination will be as follows:
         * </p>
         * <table border="1">
         * <caption>Copied JavaBeans Properties</caption>
         * <tr>
         * <th>JavaBeans Property Name</th>
         * <th>{@literal Map} Property Name</th>
         * </tr>
         * <tr>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  4. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

        AtomicInteger previous = hostnames.putIfAbsent(url.host(), hostnameCount);
        if (previous != null) hostnameCount = previous;
        if (hostnameCount.getAndIncrement() >= hostLimit) return;
    
        Request request = new Request.Builder()
            .url(url)
            .build();
        try (Response response = client.newCall(request).execute()) {
          String responseSource = response.networkResponse() != null ? ("(network: "
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Jul 23 00:58:06 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

      }
    
      private Iterable<LoadingCache<Key, String>> caches() {
        CacheBuilderFactory factory = factoryWithAllKeyStrengths();
        return Iterables.transform(
            factory.buildAllPermutations(), builder -> builder.build(KEY_TO_STRING_LOADER));
      }
    
      public void testContainsKeyAndValue() {
        for (LoadingCache<Key, String> cache : caches()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        assertThat(emptyGraph.allowsSelfLoops()).isTrue();
        assertThat(emptyGraph.nodeOrder()).isEqualTo(ElementOrder.<String>natural());
      }
    
      /**
       * Tests that the ImmutableValueGraph.Builder doesn't change when the creating ValueGraphBuilder
       * changes.
       */
      @Test
      @SuppressWarnings("CheckReturnValue")
      public void immutableValueGraphBuilder_copiesGraphBuilder() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        }
    
        ImmutableSetMultimap<State, Service> servicesByState() {
          ImmutableSetMultimap.Builder<State, Service> builder = ImmutableSetMultimap.builder();
          monitor.enter();
          try {
            for (Entry<State, Service> entry : servicesByState.entries()) {
              if (!(entry.getValue() instanceof NoOpService)) {
                builder.put(entry);
              }
            }
          } finally {
            monitor.leave();
          }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 33.2K bytes
    - Click Count (1)
  8. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      // but types are typically only Comparable to themselves).
      @SuppressWarnings({"rawtypes", "unchecked"})
      private static MinMaxPriorityQueue.Builder<Comparable<?>> rawtypeToWildcard(
          MinMaxPriorityQueue.Builder<Comparable> builder) {
        return (MinMaxPriorityQueue.Builder) builder;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 36.2K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/Progress.java

    import okio.BufferedSource;
    import okio.ForwardingSource;
    import okio.Okio;
    import okio.Source;
    
    public final class Progress {
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        final ProgressListener progressListener = new ProgressListener() {
          boolean firstUpdate = true;
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.9K bytes
    - Click Count (0)
  10. android-test/build.gradle.kts

    }
    
    android {
      compileSdk = 36
    
      namespace = "okhttp.android.test"
    
      defaultConfig {
        minSdk = 21
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunnerArguments += mapOf(
          "runnerBuilder" to "de.mannodermaus.junit5.AndroidJUnit5Builder",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 3.8K bytes
    - Click Count (2)
Back to Top