Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for poison (0.17 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  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 Sep 05 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/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (1)
  7. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

     * limitations under the License.
     */
    package okhttp3.slack;
    
    import com.squareup.moshi.FromJson;
    import com.squareup.moshi.JsonAdapter;
    import com.squareup.moshi.Moshi;
    import com.squareup.moshi.ToJson;
    import java.io.IOException;
    import okhttp3.Call;
    import okhttp3.HttpUrl;
    import okhttp3.WebSocket;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.WebSocketListener;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 19:30:55 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  8. LICENSES/vendor/bitbucket.org/bertimus9/systemstat/LICENSE

    = vendor/bitbucket.org/bertimus9/systemstat licensed under: =
    
    The MIT License (MIT)
    
    Copyright (c) 2013 Phillip Bond
    
    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 copies of
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  9. LICENSES/vendor/github.com/Azure/go-ansiterm/LICENSE

    = vendor/github.com/Azure/go-ansiterm licensed under: =
    
    The MIT License (MIT)
    
    Copyright (c) 2015 Microsoft Corporation
    
    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 Sep 05 09:05:11 UTC 2025
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  10. LICENSES/vendor/github.com/emicklei/go-restful/v3/LICENSE

    = vendor/github.com/emicklei/go-restful/v3 licensed under: =
    
    Copyright (c) 2012,2013 Ernest Micklei
    
    MIT License
    
    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 copies of the Software, and to
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Jun 09 18:11:41 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top