Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 184 for getMethod (0.14 sec)

  1. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber());
        assertEquals(
            "Method should be available.",
            subscriber.getClass().getMethod("throwExceptionOn", String.class),
            handler.context.getSubscriberMethod());
      }
    
      public void testSubscriberThrowsExceptionHandlerThrowsException() throws Exception {
        EventBus eventBus =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          }
        }
        return classes;
      }
    
      private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) {
        for (String testName : testNames) {
          try {
            testClass.getMethod(testName);
            return true;
          } catch (NoSuchMethodException e) {
            continue;
          }
        }
        return false;
      }
    
      private static boolean isEqualsDefined(Class<?> cls) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            }
    
            @Override
            public int getIntHeader(String name) {
                return -1;
            }
    
            @Override
            public String getMethod() {
                return "GET";
            }
    
            @Override
            public String getPathInfo() {
                return null;
            }
    
            @Override
            public String getPathTranslated() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

         */
        protected boolean containsAuthenticationData(final HttpServletRequest request) {
            if (logger.isDebugEnabled()) {
                logger.debug("HTTP Method: {}", request.getMethod());
            }
            if (!"POST".equalsIgnoreCase(request.getMethod())) {
                return false;
            }
            final Map<String, String[]> params = request.getParameterMap();
            if (logger.isDebugEnabled()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/StringUtil.java

                final Class<?> javaLangAccessClass = Class.forName("sun.misc.JavaLangAccess");
                newStringUnsafeMethod = javaLangAccessClass.getMethod("newStringUnsafe", char[].class);
            } catch (final Throwable t) {
                // ignore
                // t.printStackTrace();
            }
        }
    
        /**
         * Checks if the string is empty or null.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                                    legacySupport.getRepositorySession(), "Maven", ConfigurationProperties.USER_AGENT));
                    try {
                        Method setHttpHeaders = wagon.getClass().getMethod("setHttpHeaders", Properties.class);
                        setHttpHeaders.invoke(wagon, headers);
                    } catch (NoSuchMethodException e) {
                        // normal for non-http wagons
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                }
    
                @Override
                public int getIntHeader(String name) {
                    return 0;
                }
    
                @Override
                public String getMethod() {
                    return null;
                }
    
                @Override
                public String getPathInfo() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.start();
        thread.awaitWaiting();
        Thread.class.getMethod("suspend").invoke(thread);
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread.class.getMethod("resume").invoke(thread);
        thread.join();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/entity/SearchRequestParamsTest.java

            }
    
            @Override
            public int getIntHeader(String name) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getMethod() {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public String getPathInfo() {
                throw new UnsupportedOperationException();
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

                }
    
                @Override
                public int getIntHeader(String name) {
                    return 0;
                }
    
                @Override
                public String getMethod() {
                    return "GET";
                }
    
                @Override
                public String getPathInfo() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top