Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 415 for Post (0.2 sec)

  1. src/main/java/org/codelibs/fess/helper/CurlHelper.java

        }
    
        public CurlRequest get(final String path) {
            return request(Method.GET, path).header("Content-Type", "application/json");
        }
    
        public CurlRequest post(final String path) {
            return request(Method.POST, path).header("Content-Type", "application/json");
        }
    
        public CurlRequest put(final String path) {
            return request(Method.PUT, path).header("Content-Type", "application/json");
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/providers/CleanLifecycleProvider.java

    @Singleton
    public final class CleanLifecycleProvider extends AbstractLifecycleProvider {
        static final String LIFECYCLE_ID = "clean";
    
        // START SNIPPET: clean
        private static final String[] PHASES = {"pre-clean", "clean", "post-clean"};
    
        private static final String MAVEN_CLEAN_PLUGIN_VERSION = "3.2.0";
    
        private static final String[] BINDINGS = {
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Mon Jan 16 13:30:48 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java

            final CurlHelper curlHelper = ComponentUtil.getCurlHelper();
            switch (values[0].toUpperCase(Locale.ROOT)) {
            case "GET":
                return curlHelper.get(path);
            case "POST":
                return curlHelper.post(path);
            case "PUT":
                return curlHelper.put(path);
            case "DELETE":
                return curlHelper.delete(path);
            default:
                break;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/providers/DefaultLifecycleProvider.java

            "test-compile",
            "process-test-classes",
            "test",
            "prepare-package",
            "package",
            "pre-integration-test",
            "integration-test",
            "post-integration-test",
            "verify",
            "install",
            "deploy"
        };
        // END SNIPPET: default
    
        @Inject
        public DefaultLifecycleProvider() {
            super(
                    LIFECYCLE_ID,
    Java
    - Registered: Sun Apr 07 03:35:11 GMT 2024
    - Last Modified: Mon Jan 16 13:30:48 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      @GwtIncompatible // SerializableTester
      public void testIsNull_serialization() {
        Predicate<String> pre = Predicates.isNull();
        Predicate<String> post = SerializableTester.reserializeAndAssert(pre);
        assertEquals(pre.apply("foo"), post.apply("foo"));
        assertEquals(pre.apply(null), post.apply(null));
      }
    
      public void testNotNull_apply() {
        Predicate<@Nullable Integer> notNull = Predicates.notNull();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/mail/TestmailPostcard.java

        public static TestmailPostcard droppedInto(Postbox postbox, MPCall<TestmailPostcard> postcardLambda) {
            TestmailPostcard postcard = new TestmailPostcard();
            postcardLambda.write(postcard);
            postbox.post(postcard);
            return postcard;
        }
    
        // ===================================================================================
        //                                                                           Meta Data
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            }
        }
    
        @Test
        public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception {
            // ## Arrange ##
            CurlRequest req = new MockCurlRequest(Curl.Method.POST, "http://dummy");
            req.threshold(0); // always create tmp file
    
            // ## Act ##
            long before = countTmpFiles();
            logger.info("Before request. Number of temp files: " + before);
    Java
    - Registered: Thu May 02 15:34:13 GMT 2024
    - Last Modified: Mon Nov 14 21:05:19 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

            }
            return asJson(new ApiResult.ApiUpdateResponse().id(entity.getId()).created(true).status(ApiResult.Status.OK).result());
        }
    
        // POST /api/admin/user/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final BadWord badWord = getBadWord(body).map(entity -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

                    throw new DictionaryException(dictFile.getPath() + " was updated.");
                }
    
                // TODO use stream
                try (CurlResponse response = ComponentUtil.getCurlHelper().post("/_configsync/file").param("path", dictFile.getPath())
                        .body(FileUtil.readUTF8(file)).execute()) {
                    final Map<String, Object> contentMap = response.getContent(OpenSearchCurl.jsonParser());
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/group/ApiAdminGroupAction.java

            }
            return asJson(new ApiResult.ApiUpdateResponse().id(entity.getId()).created(true).status(ApiResult.Status.OK).result());
        }
    
        // POST /api/admin/group/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            validateAttributes(body.attributes, this::throwValidationErrorApi);
            body.crudMode = CrudMode.EDIT;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top