- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 1,881 for RESPONSE (0.26 seconds)
-
docs/ja/docs/how-to/general.md
返すべき以上のデータを返さないようにするには、[チュートリアル - レスポンスモデル - 戻り値の型](../tutorial/response-model.md) を参照してください。 ## レスポンス性能の最適化 - レスポンスモデル - 戻り値の型 { #optimize-response-performance-response-model-return-type } JSON データを返す際の性能を最適化するには、戻り値の型またはレスポンスモデルを使用してください。そうすることで、Pydantic が Python を経由せずに Rust 側で JSON へのシリアライズを処理します。詳細は [チュートリアル - レスポンスモデル - 戻り値の型](../tutorial/response-model.md) を参照してください。 ## ドキュメントのタグ - OpenAPI { #documentation-tags-openapi }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 3.5K bytes - Click Count (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
try { val response = completableFuture.get(10, TimeUnit.SECONDS) assertEquals(200, response.code) assertEquals("h3", response.negotiatedProtocol) assertTrue(response.content.contains("Disallow")) } catch (ee: ExecutionException) { throw ee.cause?.cause ?: ee.cause!! } } data class Response( val code: Int,Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 6.3K bytes - Click Count (0) -
tests/test_annotated.py
client = TestClient(app) response = client.get("/test1") assert response.status_code == 200 assert response.json() == {"foo": "bar"} response = client.get("/test1", params={"var": "baz"}) assert response.status_code == 200 assert response.json() == {"foo": "baz"} response = client.get("/test2") assert response.status_code == 200 assert response.json() == {"foo": "bar"}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 10.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java
final Map<String, Object> searchBody = new HashMap<>(); String response = checkGetMethod(searchBody, getListEndpointSuffix()).asString(); final int total = JsonPath.from(response).getInt("response.total"); final List<Map<String, String>> items = JsonPath.from(response).getList("response.settings"); final int status = JsonPath.from(response).getInt("response.status"); assertEquals(total, items.size());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
setStatus(response, NtStatus.NT_STATUS_NOTIFY_ENUM_DIR); assertFalse(response.isErrorResponseStatus()); // Test with success status setStatus(response, NtStatus.NT_STATUS_SUCCESS); assertFalse(response.isErrorResponseStatus()); // Test with error status setStatus(response, NtStatus.NT_STATUS_ACCESS_DENIED);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
* The content cache that stores the response content. */ private ContentCache contentCache; /** * The encoding used for the response content. */ private String encoding; /** * The exception that occurred while accessing the content, if any. */ private Exception contentException; /** * The headers of the response. */Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/labeltype/AdminLabeltypeAction.java
} /** * Returns HTML response for the edit page. * * @return HTML response for the edit page */ private HtmlResponse asEditHtml() { return asHtml(path_AdminLabeltype_AdminLabeltypeEditJsp).renderWith(data -> { registerRoleTypeItems(data); }); } /** * Returns HTML response for the details page. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 17.6K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostString.java
.post(RequestBody.create(postBody, MEDIA_TYPE_MARKDOWN)) .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response); System.out.println(response.body().string()); } } public static void main(String... args) throws Exception { new PostString().run(); }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 25 18:02:55 GMT 2019 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
recordNameField.setAccessible(true); recordNameField.set(response, new Name(mockConfig)); Field questionNameField = NameServicePacket.class.getDeclaredField("questionName"); questionNameField.setAccessible(true); questionNameField.set(response, new Name(mockConfig)); int result = response.readBodyWireFormat(src, srcIndex); assertTrue(result > 0); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java
import org.codelibs.fess.dict.kuromoji.KuromojiFile; import org.codelibs.fess.dict.kuromoji.KuromojiItem; import org.lastaflute.web.Execute; import org.lastaflute.web.response.JsonResponse; import org.lastaflute.web.response.StreamResponse; import jakarta.annotation.Resource; /** * API action for admin Kuromoji dictionary management.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 9.4K bytes - Click Count (0)