Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 184 for getMethod (0.38 sec)

  1. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        Thread.currentThread().setContextClassLoader(classLoader);
        try {
          Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName());
          test.getMethod(getName()).invoke(test.getDeclaredConstructor().newInstance());
        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Throwables.java

           * would result in compilation failure if we directly refer to these classes.
           */
          Class<?> sharedSecrets = Class.forName(SHARED_SECRETS_CLASSNAME, false, null);
          Method langAccess = sharedSecrets.getMethod("getJavaLangAccess");
          return langAccess.invoke(null);
        } catch (ThreadDeath death) {
          throw death;
        } catch (Throwable t) {
          /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

        Thread.currentThread().setContextClassLoader(classLoader);
        try {
          Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName());
          test.getMethod(getName()).invoke(test.getDeclaredConstructor().newInstance());
        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            dataService.iterate(previousSessionId, accessResult -> {
                final OpenSearchUrlQueue urlQueue = new OpenSearchUrlQueue();
                urlQueue.setSessionId(sessionId);
                urlQueue.setMethod(accessResult.getMethod());
                urlQueue.setUrl(accessResult.getUrl());
                urlQueue.setParentUrl(accessResult.getParentUrl());
                urlQueue.setDepth(0);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

        }
    
        public void test_static_method_signature() {
            // Verify method signature is correct
            try {
                java.lang.reflect.Method method = SystemUtil.class.getMethod("getSearchEngineHttpAddress");
    
                // Check return type
                assertEquals("Return type should be String", String.class, method.getReturnType());
    
                // Check that it's static
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmServletTest.java

            // Mock HTTP method for request - this is required for HttpServlet.service()
            lenient().when(request.getMethod()).thenReturn("GET");
    
            // Setup CIFSContext configuration mock
            lenient().when(cifsContext.getConfig()).thenReturn(configuration);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

         *
         * @return the HTTP method (e.g., GET, POST)
         */
        public String getMethod() {
            return method;
        }
    
        /**
         * Sets the HTTP method used for the request.
         *
         * @param method the HTTP method to set (e.g., GET, POST)
         */
        public void setMethod(final String method) {
            this.method = method;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                        final UrlQueue<?> uq = crawlerContainer.getComponent("urlQueue");
                        uq.setCreateTime(SystemUtil.currentTimeMillis());
                        uq.setDepth(depth);
                        uq.setMethod(Constants.GET_METHOD);
                        uq.setParentUrl(url);
                        uq.setSessionId(crawlerContext.sessionId);
                        uq.setUrl(d.getUrl());
                        uq.setWeight(d.getWeight());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

                return null;
            }
    
            @Override
            public Integer getDepth() {
                return 0;
            }
    
            @Override
            public String getMethod() {
                return null;
            }
    
            @Override
            public Long getLastModified() {
                return null;
            }
    
            @Override
            public String getSessionId() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
Back to top