Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for pos1 (0.15 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

         * @param dictId the dictionary ID
         * @param body the request body containing Kuromoji item information
         * @return JSON response with result status
         */
        // POST /api/admin/dict/kuromoji/setting/{dictId}
        @Execute
        public JsonResponse<ApiResult> post$setting(final String dictId, final CreateBody body) {
            body.dictId = dictId;
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

        assertThat(delete.method).isEqualTo("DELETE")
        assertThat(delete.body!!.contentLength()).isEqualTo(0L)
    
        val post =
          Request
            .Builder()
            .url("http://localhost/api")
            .post(body)
            .build()
        assertThat(post.method).isEqualTo("POST")
        assertThat(post.body).isEqualTo(body)
    
        val put =
          Request
            .Builder()
            .url("http://localhost/api")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/it/ITBase.java

                            + DEFAULT_TEST_TOKEN + "\"}\n")
                    .when()
                    .post(getEsUrl() + "/_bulk");
            given().contentType("application/json").when().post(getEsUrl() + "/_refresh");
            logger.info("Created Token: {}", DEFAULT_TEST_TOKEN);
            return DEFAULT_TEST_TOKEN;
        }
    
        public static void deleteTestToken() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

           *
           * Example:
           * ```
           * --> POST /greeting http/1.1 (3-byte body)
           *
           * <-- 200 OK (22ms, 6-byte body)
           * ```
           */
          BASIC,
    
          /**
           * Logs request and response lines and their respective headers.
           *
           * Example:
           * ```
           * --> POST /greeting http/1.1
           * Host: example.com
           * Content-Type: plain/text
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. docs/recipes.md

                .post(RequestBody.create(MEDIA_TYPE_MARKDOWN, postBody))
                .build();
    
            try (Response response = client.newCall(request).execute()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              System.out.println(response.body().string());
            }
          }
        ```
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

            else -> header("Cache-Control", value)
          }
        }
    
        open fun get(): Builder = method("GET", null)
    
        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)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        server.enqueue(MockResponse())
        client.newCall(request().post("Hi?".toRequestBody(PLAIN)).build()).execute()
        applicationLogs
          .assertLogEqual("--> POST $url (3-byte body)")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, 0-byte body\)"""))
          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> POST $url http/1.1 (3-byte body)")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

         * Creates a new user setting.
         *
         * @param body the user data to create
         * @return JSON response containing the created user setting ID
         */
        // POST /api/admin/user/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final User entity = getUser(body).orElseGet(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

         *
         * @param body the related query configuration data to create
         * @return JSON response containing the created related query ID and status
         */
        // POST /api/admin/relatedquery/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

         * @param body create request payload
         * @return JSON response containing creation result and new entry ID
         */
        // POST /api/admin/dict/protwords/setting/{dictId}
        @Execute
        public JsonResponse<ApiResult> post$setting(final String dictId, final CreateBody body) {
            body.dictId = dictId;
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top