Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 348 for acceptPK (0.03 sec)

  1. docs/features/interceptors.md

    User-Agent: OkHttp Example
    Host: publicobject.com
    Connection: Keep-Alive
    Accept-Encoding: gzip
    
    INFO: Received response for https://publicobject.com/helloworld.txt in 80.9ms
    Server: nginx/1.4.6 (Ubuntu)
    Content-Type: text/plain
    Content-Length: 1759
    Connection: keep-alive
    ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlRequestTest.java

        @Test
        public void testHeaderMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
    
            CurlRequest result = request.header("Content-Type", "application/json").header("Accept", "application/json");
    
            assertSame(request, result); // Fluent API
        }
    
        @Test
        public void testThreadPoolMethod() {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

            // The network request has everything: User-Agent, Host, Accept-Encoding.
            val networkRequest = chain.request()
            assertThat(networkRequest.header("User-Agent")).isNotNull()
            assertThat(networkRequest.header("Host")).isEqualTo(
              server.hostName + ":" + server.port,
            )
            assertThat(networkRequest.header("Accept-Encoding")).isNotNull()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  4. README.md

    import org.codelibs.curl.Curl;
    import org.codelibs.curl.CurlResponse;
    
    try (CurlResponse response = Curl.get("https://example.com")
                                    .param("q", "curl4j")
                                    .header("Accept", "application/json")
                                    .executeSync()) {
        System.out.println("Status: " + response.getHttpStatusCode());
        System.out.println(response.getContentAsString());
    }
    ```
    
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:11:14 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. futures/failureaccess/src/com/google/common/util/concurrent/internal/InternalFutureFailureAccess.java

     *
     * <p>This class is used only for micro-optimization. Standard {@code Future} utilities benefit from
     * this optimization, so there is no need to specialize methods to return or accept this type
     * instead of {@code ListenableFuture}.
     *
     * <p>This class is GWT-compatible.
     *
     * @since {@code com.google.guava:failureaccess:1.0}, which was added as a dependency of Guava in
     *     Guava 27.0
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Service.java

       *     State#TERMINATED} when this method is called then this will throw an IllegalStateException.
       * @since 15.0
       */
      @SuppressWarnings("GoodTime") // should accept a java.time.Duration
      void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException;
    
      /**
       * Waits for the {@link Service} to reach the {@linkplain State#TERMINATED terminated state}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/Platform.java

    final class Platform {
      static boolean isInstanceOfThrowableClass(Throwable t, Class<? extends Throwable> expectedClass) {
        /*
         * This method is used only by CatchingFuture, and CatchingFuture accepts only Throwable.class
         * under GWT.
         */
        return true;
      }
    
      static void restoreInterruptIfIsInterruptedException(Throwable t) {}
    
      static void interruptCurrentThread() {}
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 27 16:15:49 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

     *       hunt through classes like {@link Arrays} and {@link Longs} for them.
     *   <li>Supports a copy-free {@link #subArray} view, so methods that accept this type don't need to
     *       add overloads that accept start and end indexes.
     *   <li>Can be streamed without "breaking the chain": {@code foo.getBarLongs().stream()...}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/ImmutableIntArray.java

     *       hunt through classes like {@link Arrays} and {@link Ints} for them.
     *   <li>Supports a copy-free {@link #subArray} view, so methods that accept this type don't need to
     *       add overloads that accept start and end indexes.
     *   <li>Can be streamed without "breaking the chain": {@code foo.getBarInts().stream()...}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMapKeySet.java

      K get(int index) {
        return map.entrySet().asList().get(index).getKey();
      }
    
      @Override
      public void forEach(Consumer<? super K> action) {
        checkNotNull(action);
        map.forEach((k, v) -> action.accept(k));
      }
    
      @Override
      boolean isPartialView() {
        return true;
      }
    
      // redeclare to help optimizers with b/310253115
      @SuppressWarnings("RedundantOverride")
      @Override
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top