Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for poison (0.03 sec)

  1. container-tests/src/test/java/okhttp3/containers/BasicProxyTest.kt

                Request((mockServer.secureEndpoint + "/person?name=peter").toHttpUrl()),
              ).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
          assertThat(response.protocol).isEqualTo(Protocol.HTTP_1_1)
        }
      }
    
      @Test
      fun testUrlConnectionDirect() {
        testRequest {
          val url = URI(mockServer.endpoint + "/person?name=peter").toURL()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.2K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/hash/Funnel.java

     *
     * {@snippet :
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
     *   public void funnel(Person person, PrimitiveSink into) {
     *     into.putUnencodedChars(person.getFirstName())
     *         .putUnencodedChars(person.getLastName())
     *         .putInt(person.getAge());
     *   }
     * }
     * }
     *
     * @author Dimitris Andreou
     * @since 11.0
     */
    @Beta
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

            .`when`(
              request()
                .withPath("/person")
                .withQueryStringParameter("name", "peter"),
            ).respond(response().withBody("Peter the person!"))
    
          val response = client.newCall(Request((mockServer.endpoint + "/person?name=peter").toHttpUrl())).execute()
    
          assertThat(response.body.string()).contains("Peter the person")
        }
      }
    
      @Test
      fun testHttpsRequest() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

          mockServerClient
            .`when`(
              request()
                .withPath("/person")
                .withQueryStringParameter("name", "peter"),
            ).respond(response().withBody("Peter the person!"))
    
          val client =
            OkHttpClient
              .Builder()
              .proxy(Proxy(SOCKS, InetSocketAddress(socks5Proxy.host, socks5Proxy.firstMappedPort)))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

            .`when`(
              request()
                .withPath("/person")
                .withQueryStringParameter("name", "peter"),
            ).respond(response().withBody("Peter the person!"))
    
          val results =
            (1..20).map {
              executor.submit {
                val response =
                  client.newCall(Request((mockServer.secureEndpoint + "/person?name=peter").toHttpUrl())).execute()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (1)
  6. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2.hpackjson
    
    import com.squareup.moshi.FromJson
    import com.squareup.moshi.Moshi
    import com.squareup.moshi.ToJson
    import com.squareup.moshi.kotlin.reflect.KotlinJsonAdapterFactory
    import java.io.File
    import java.io.IOException
    import okio.BufferedSource
    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. LICENSES/vendor/github.com/Masterminds/semver/v3/LICENSE

    = vendor/github.com/Masterminds/semver/v3 licensed under: =
    
    Copyright (C) 2014-2019, Matt Butcher and Matt Farina
    
    Permission is hereby granted, free of charge, to any person obtaining a copy
    of this software and associated documentation files (the "Software"), to deal
    in the Software without restriction, including without limitation the rights
    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Sat Nov 01 08:52:09 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/reflect/Invokable.java

      }
    
      /**
       * Explicitly specifies the return type of this {@code Invokable}. For example:
       *
       * {@snippet :
       * Method factoryMethod = Person.class.getMethod("create");
       * Invokable<?, Person> factory = Invokable.of(getNameMethod).returning(Person.class);
       * }
       */
      public final <R1 extends R> Invokable<T, R1> returning(Class<R1> returnType) {
        return returning(TypeToken.of(returnType));
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

        Map<String, String> requestBody = new LinkedHashMap<>();
        requestBody.put("longUrl", "https://publicobject.com/2014/12/04/html-formatting-javadocs/");
        RequestBody jsonRequestBody = RequestBody.create(
            mapJsonAdapter.toJson(requestBody), MEDIA_TYPE_JSON);
        Request request = new Request.Builder()
            .url("https://www.googleapis.com/urlshortener/v1/url?key=" + GOOGLE_API_KEY)
            .post(jsonRequestBody)
            .build();
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list

    erimo.hokkaido.jp
    erni
    erotica.hu
    erotika.hu
    es
    es-1.axarnet.cloud
    es.eu.org
    es.gov.br
    es.kr
    es.leg.br
    esan.hokkaido.jp
    esashi.hokkaido.jp
    esp.br
    esq
    est-a-la-maison.com
    est-a-la-masion.com
    est-le-patron.com
    est-mon-blogueur.com
    est.pr
    estate
    et
    etajima.hiroshima.jp
    etc.br
    eti.br
    etne.no
    etnedal.no
    eu
    eu-1.evennode.com
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue May 27 22:00:49 UTC 2025
    - 129.6K bytes
    - Viewed (3)
Back to top