Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for setMethod (0.14 seconds)

  1. src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java

        public void test_responseData_method() {
            final ResponseData responseData = new ResponseData();
    
            responseData.setMethod("GET");
            assertEquals("GET", responseData.getMethod());
    
            responseData.setMethod("POST");
            assertEquals("POST", responseData.getMethod());
        }
    
        @Test
        public void test_responseData_metaDataMap() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

        }
    
        @Test
        public void test_methodsExist() {
            // Verify required methods exist
            try {
                CustomSizeValidator.class.getMethod("initialize", CustomSize.class);
                CustomSizeValidator.class.getMethod("isValid", CharSequence.class, ConstraintValidatorContext.class);
                assertTrue("Required methods exist", true);
            } catch (final NoSuchMethodException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            assertTrue(target instanceof TimeoutTarget, "Instance should be a TimeoutTarget");
        }
    
        @Test
        public void test_expired_method_exists() throws Exception {
            assertNotNull(SystemMonitorTarget.class.getMethod("expired"), "expired method should exist");
        }
    
        @Test
        public void test_expired_method_can_be_called() {
            // Instead of directly calling expired() which may fail due to system dependencies
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/filter/CorsFilter.java

                    logger.debug("HTTP Request: method={}", httpRequest.getMethod());
                }
                final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory();
                final CorsHandler handler = factory.get(origin);
                if (handler != null) {
                    handler.process(origin, request, response);
    
                    if (OPTIONS.equals(httpRequest.getMethod())) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

            assertTrue(target instanceof TimeoutTarget, "Instance should be a TimeoutTarget");
        }
    
        @Test
        public void test_expired_method_exists() throws Exception {
            assertNotNull(HotThreadMonitorTarget.class.getMethod("expired"), "expired method should exist");
        }
    
        @Test
        public void test_expired_method_can_be_called() {
            try {
                target.expired();
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                }
                String methodName = element.'@method'
    
                def classMetaData = linkRepository.get(className)
                LinkMetaData linkMetaData = methodName ? classMetaData.getMethod(methodName) : classMetaData.classLink
                String style = element.'@style' ?: linkMetaData.style.toString().toLowerCase(Locale.ROOT)
    
                Element ulinkElement = doc.createElement('ulink')
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri May 16 07:58:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java

            try {
                final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager");
                final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                method.invoke(null, (Object[]) null);
            } catch (final ClassNotFoundException e) {
                // ignore
            } catch (final Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            // Test that close method is available (inherited from parent)
            try {
                // Just verify the method exists, don't actually call it
                crawlerEngineClient.getClass().getMethod("close");
                assertTrue(true);
            } catch (NoSuchMethodException e) {
                fail("close method should exist");
            }
        }
    
        // Test toString method
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

                        // Simulate a scenario where the method exists but invocation fails
                        Class<?> clazz = MockMultiThreadedHttpConnectionManager.class;
                        Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null);
                        method.invoke(null, (Object[]) null);
                    } catch (Exception e) {
                        // Exception should be caught and logged
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
Back to Top