Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,250 for soient (0.07 sec)

  1. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

                .build()
            }.build()
    
        val response = client.newCall(Request("https://google.com/robots.txt".toHttpUrl())).execute()
    
        assertThat(response.header("Content-Encoding")).isEqualTo("piedpiper")
        assertThat(response.body.string()).isEqualTo("Hello")
      }
    
      @Test
      fun gzipThroughCall() {
        val gzip = CompressionInterceptor(Gzip)
        val client =
          clientTestRule
            .newClientBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

            .cache(dnsCache)
            .build()
        dnsProviders =
          providers(
            client = bootstrapClient,
            http2Only = true,
            workingOnly = true,
            getOnly = true,
          )
        runBatch(dnsProviders, names)
        println("cached second run\n*****************\n")
        dnsProviders =
          providers(
            client = bootstrapClient,
            http2Only = true,
            workingOnly = true,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. maven-tests/src/main/java/com/squareup/okhttp3/maventest/SampleHttpClient.java

    import okhttp3.Request;
    import okhttp3.Response;
    
    public class SampleHttpClient {
      private final OkHttpClient client;
    
      public SampleHttpClient() {
        client = new OkHttpClient.Builder().build();
      }
    
      public void makeCall(HttpUrl url) throws IOException {
        try (Response response = client.newCall(new Request(url, Headers.EMPTY, "GET", null)).execute()) {
          System.out.println(response.body().string());
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  4. android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt

      @Test
      fun testHttpLoggingInterceptor() {
        val interceptor =
          HttpLoggingInterceptor().apply {
            level = HttpLoggingInterceptor.Level.BASIC
          }
    
        val client = clientBuilder.addInterceptor(interceptor).build()
    
        try {
          client.newCall(request).execute()
        } catch (uhe: UnknownHostException) {
          // expected
        }
    
        val logs = ShadowLog.getLogsForTag(AndroidPlatform.Tag)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. dbflute_fess/dfprop/lastafluteMap.dfprop

    #         ; freeGenList = list:{ [env or config or label or message or html] }
    #         ; propertiesHtmlList = list:{ [env or config or label or message] }
    #     }
    #     ; appMap = map:{
    #         ; [application name, camel case, initial uncapitalised] = map:{
    #             ; path = [relative path to application project from DBFlute client]
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun May 20 08:20:11 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt

    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class PostString {
      private val client = OkHttpClient()
    
      fun run() {
        val postBody =
          """
          |Releases
          |--------
          |
          | * _1.0_ May 6, 2013
          | * _1.1_ June 15, 2013
          | * _1.2_ August 11, 2013
          |
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. docs/works_with_okhttp.md

     * [OkHttp Idling Resource](https://github.com/JakeWharton/okhttp-idling-resource): An Espresso IdlingResource for OkHttp.
     * [okhttp-client-mock](https://github.com/gmazzo/okhttp-client-mock): A simple OKHttp client mock, using a programmable request interceptor.
     * [OkHttp Profiler](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler): An IntelliJ plugin for monitoring OkHttp calls.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

      @StartStop
      private val server = MockWebServer()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private val listener = EventSourceRecorder()
      private val client = clientTestRule.newClient()
    
      @AfterEach
      fun after() {
        listener.assertExhausted()
      }
    
      @Test
      fun processResponse() {
        server.enqueue(
          MockResponse
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

      private final OkHttpClient client = new OkHttpClient.Builder()
          .eventListener(new PrintingEventListener())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        System.out.println("REQUEST 1 (new connection)");
        try (Response response = client.newCall(request).execute()) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmUtil.java

        /**
         * Creates the NTLMv2 response for the supplied information.
         *
         * @param responseKeyNT the NT response key
         * @param serverChallenge the server challenge bytes
         * @param clientChallenge the client challenge bytes
         * @param nanos1601 the timestamp in nanoseconds since 1601
         * @param avPairs the AV pairs from the Type 2 message
         * @return the calculated response
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top