Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 964 for responder (0.04 sec)

  1. docs/recipes.md

            }
    
            String response2Body;
            try (Response response2 = client.newCall(request).execute()) {
              if (!response2.isSuccessful()) throw new IOException("Unexpected code " + response2);
    
              response2Body = response2.body().string();
              System.out.println("Response 2 response:          " + response2);
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                response.readBytesWireFormat(buffer1, 0);
                assertEquals(1024, response.getCount());
                assertEquals(512, response.getRemaining());
    
                // Second read - should update values
                byte[] buffer2 = createValidWriteResponse(2048, 1024);
                response.readBytesWireFormat(buffer2, 0);
                assertEquals(2048, response.getCount());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/response-model.md

    👉 🙅 💼 🍵 🔁 FastAPI ↩️ 📨 🆎 ✍ 🎓 (⚖️ 🏿) `Response`.
    
    & 🧰 🔜 😄 ↩️ 👯‍♂️ `RedirectResponse` & `JSONResponse` 🏿 `Response`, 🆎 ✍ ☑.
    
    ### ✍ 📨 🏿
    
    👆 💪 ⚙️ 🏿 `Response` 🆎 ✍:
    
    {* ../../docs_src/response_model/tutorial003_03.py hl[8:9] *}
    
    👉 🔜 👷 ↩️ `RedirectResponse` 🏿 `Response`, & FastAPI 🔜 🔁 🍵 👉 🙅 💼.
    
    ### ❌ 📨 🆎 ✍
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/response-model.md

    ### Anotar uma subclasse de resposta
    
    Você também pode usar uma subclasse de `Response` na anotação de tipo:
    
    {* ../../docs_src/response_model/tutorial003_03.py hl[8:9] *}
    
    Isso também funcionará porque `RedirectResponse` é uma subclasse de `Response`, e o FastAPI tratará automaticamente este caso simples.
    
    ### Anotações de Tipo de Retorno Inválido
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Nov 26 22:51:05 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

              .build(),
          )
        var response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.close()
        listener.clearAllEvents()
        call = call.clone()
        response = call.execute()
        assertThat(response.code).isEqualTo(200)
        assertThat(response.body.string()).isEqualTo("abc")
        response.close()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                assertEquals(10, response1.getChunksWritten());
                assertEquals(4096, response1.getChunkBytesWritten());
                assertEquals(40960, response1.getTotalBytesWritten());
    
                assertEquals(20, response2.getChunksWritten());
                assertEquals(8192, response2.getChunkBytesWritten());
                assertEquals(163840, response2.getTotalBytesWritten());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxyTest.kt

            .build()
        val request1 = Request.Builder().url(server.url("/")).build()
        val response1 = client.newCall(request1).execute()
        assertThat(response1.body.string()).isEqualTo("abc")
        val request2 = Request.Builder().url(server.url("/")).build()
        val response2 = client.newCall(request2).execute()
        assertThat(response2.body.string()).isEqualTo("def")
    
        // The HTTP calls should share a single connection.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

                val response1 = chain.proceed(chain.request())
                response1.body.close()
                chain.proceed(chain.request())
              },
            ).build()
        val request =
          Request
            .Builder()
            .url(server.url("/"))
            .build()
        val response = client.newCall(request).execute()
        assertThat("b").isEqualTo(response.body.string())
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

                // Both should create valid responses
                Smb2EchoResponse response1 = request1.createResponse(mockContext, request1);
                Smb2EchoResponse response2 = request2.createResponse(mockContext, request2);
    
                assertNotNull(response1);
                assertNotNull(response2);
                assertNotSame(response1, response2);
            }
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/CacheResponse.java

        }
    
        String response2Body;
        try (Response response2 = client.newCall(request).execute()) {
          if (!response2.isSuccessful()) throw new IOException("Unexpected code " + response2);
    
          response2Body = response2.body().string();
          System.out.println("Response 2 response:          " + response2);
          System.out.println("Response 2 cache response:    " + response2.cacheResponse());
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 2.4K bytes
    - Viewed (0)
Back to top