- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 240 for RequestBody (0.16 sec)
-
src/test/java/org/codelibs/fess/it/admin/DataConfigTests.java
final Map<String, Object> requestBody = new HashMap<>(); final String keyProp = NAME_PREFIX + id; requestBody.put(KEY_PROPERTY, keyProp); final String handlerName = "DatabaseDataStore"; requestBody.put("handler_name", handlerName); requestBody.put("boost", id); requestBody.put("available", true); requestBody.put("sort_order", id); return requestBody; }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/CrudTestBase.java
final Map<String, Object> requestBody = new HashMap<>(updateMap); requestBody.put("version_no", 1); final String idKey = getIdKey(); if (setting.containsKey(idKey)) { requestBody.put(idKey, setting.get(idKey)); } for (String key : keySet) { if (!requestBody.containsKey(key)) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/KeyMatchTests.java
final Map<String, Object> requestBody = new HashMap<>(); final String keyProp = NAME_PREFIX + id; requestBody.put(KEY_PROPERTY, keyProp); requestBody.put(KEY_PROPERTY, keyProp); requestBody.put("query", "query" + id); requestBody.put("max_size", new Integer(id).toString()); requestBody.put("boost", 100); return requestBody; } @Override
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt
@Test fun multipartBodyPart() { val requestBody: RequestBody = "".toRequestBody(null) var part: MultipartBody.Part = MultipartBody.Part.create(null, requestBody) part = MultipartBody.Part.create(headersOf(), requestBody) part = MultipartBody.Part.create(requestBody) part = MultipartBody.Part.createFormData("", "") part = MultipartBody.Part.createFormData("", "", requestBody)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 46.5K bytes - Viewed (4) -
src/test/java/org/codelibs/fess/it/admin/DuplicateHostTests.java
final Map<String, Object> requestBody = new HashMap<>(); final String keyProp = NAME_PREFIX + id; requestBody.put(KEY_PROPERTY, keyProp); requestBody.put("duplicate_host_name", "duplicate_" + new Integer(id).toString()); requestBody.put("sort_order", id); return requestBody; } @Override protected Map<String, Object> getUpdateMap() {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt
} } @Suppress("unused") fun RequestBody.commonContentLength(): Long = -1L @Suppress("unused") fun RequestBody.commonIsDuplex(): Boolean = false @Suppress("unused") fun RequestBody.commonIsOneShot(): Boolean = false /** Returns a new request body that transmits this. */ fun ByteString.commonToRequestBody(contentType: MediaType?): RequestBody { return object : RequestBody() { override fun contentType() = contentType
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/PathMapTests.java
final Map<String, Object> requestBody = new HashMap<>(); final String keyProp = NAME_PREFIX + id; requestBody.put(KEY_PROPERTY, keyProp); requestBody.put("replacement", "replacement" + id); requestBody.put("process_type", "C"); requestBody.put("sort_order", id); return requestBody; } @Override
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/UserTests.java
protected Map<String, Object> createTestParam(int id) { final Map<String, Object> requestBody = new HashMap<>(); final String keyProp = NAME_PREFIX + id; requestBody.put(KEY_PROPERTY, keyProp); requestBody.put("password", "password" + id); requestBody.put("confirm_password", "password" + id); return requestBody; } @Override protected Map<String, Object> getUpdateMap() {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.3K bytes - Viewed (0) -
tests/test_request_body_parameters_media_type.py
from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() media_type = "application/vnd.api+json" # NOTE: These are not valid JSON:API resources # but they are fine for testing requestBody with custom media_type class Product(BaseModel): name: str price: float class Shop(BaseModel): name: str @app.post("/products")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 6.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
return true } private fun requestIsOneShot( e: IOException, userRequest: Request, ): Boolean { val requestBody = userRequest.body return (requestBody != null && requestBody.isOneShot()) || e is FileNotFoundException } private fun isRecoverable( e: IOException, requestSendStarted: Boolean, ): Boolean {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12.1K bytes - Viewed (4)