- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 180 for Requestbodys (0.07 seconds)
-
okhttp/api/android/okhttp.api
public static synthetic fun create$default (Lokhttp3/RequestBody$Companion;Ljava/lang/String;Lokhttp3/MediaType;ILjava/lang/Object;)Lokhttp3/RequestBody; public static synthetic fun create$default (Lokhttp3/RequestBody$Companion;Lokhttp3/MediaType;[BIIILjava/lang/Object;)Lokhttp3/RequestBody; public static synthetic fun create$default (Lokhttp3/RequestBody$Companion;Lokio/ByteString;Lokhttp3/MediaType;ILjava/lang/Object;)Lokhttp3/RequestBody;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 72.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
open fun head(): Builder = method("HEAD", null) open fun post(body: RequestBody): Builder = method("POST", body) @JvmOverloads open fun delete(body: RequestBody? = RequestBody.EMPTY): Builder = method("DELETE", body) open fun put(body: RequestBody): Builder = method("PUT", body) open fun patch(body: RequestBody): Builder = method("PATCH", body) /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 13:46:58 GMT 2025 - 14.7K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/it/admin/LabelTypeTests.java
} @Override 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("value", Integer.valueOf(id).toString()); return requestBody; } @Override protected Map<String, Object> getUpdateMap() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jun 19 07:14:01 GMT 2025 - 2.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/dict/StemmerOverrideTests.java
} @Override 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("output", "output"); return requestBody; } @Override protected Map<String, Object> getUpdateMap() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 2.4K bytes - Click Count (0) -
docs/recipes.md
= MediaType.parse("text/x-markdown; charset=utf-8"); private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { RequestBody requestBody = new RequestBody() { @Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN; } @Override public void writeTo(BufferedSink sink) throws IOException {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/GzipRequestBody.kt
* limitations under the License. */ package okhttp3.internal.http import okhttp3.RequestBody import okio.BufferedSink import okio.GzipSink import okio.buffer internal class GzipRequestBody( val delegate: RequestBody, ) : RequestBody() { override fun contentType() = delegate.contentType() // We don't know the compressed length in advance!
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 04 17:43:43 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/BoostDocTests.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("boost_expr", Integer.valueOf(id).toString()); requestBody.put("sort_order", id); return requestBody; } @Override protected Map<String, Object> getUpdateMap() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jun 19 07:14:01 GMT 2025 - 2.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
level = DeprecationLevel.ERROR, ) fun body(): RequestBody = body companion object { @JvmStatic fun create(body: RequestBody): Part = create(null, body) @JvmStatic fun create( headers: Headers?, body: RequestBody, ): Part { require(headers?.get("Content-Type") == null) { "Unexpected header: Content-Type" }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 10.9K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostMultipart.java
// Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image RequestBody requestBody = new MultipartBody.Builder() .setType(MultipartBody.FORM) .addFormDataPart("title", "Square Logo") .addFormDataPart("image", "logo-square.png", RequestBody.create( new File("docs/images/logo-square.png"), MEDIA_TYPE_PNG)) .build();Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jun 24 12:59:42 GMT 2019 - 2.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/ElevateWordTests.java
} @Override 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("boost", id); return requestBody; } @Override protected Map<String, Object> getUpdateMap() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4K bytes - Click Count (0)