- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for getMethod (0.05 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RequestDataTest.java
data.setMethod(Method.HEAD); assertEquals(Method.HEAD, data.getMethod()); } public void test_methodStringSetterGet() { // Test String-based method setter with GET RequestData data = new RequestData(); data.setMethod(Constants.GET_METHOD); assertEquals(Method.GET, data.getMethod()); } public void test_methodStringSetterPost() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/MethodUtilTest.java
*/ @Test public void testIsEqualsMethod() throws Exception { final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class); assertThat(MethodUtil.isEqualsMethod(equalsMethod), is(true)); final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode"); assertThat(MethodUtil.isEqualsMethod(hashCodeMethod), is(not(true))); } /** * */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java
final MethodDesc foo = beanDesc.getMethodDesc("foo"); assertThat(foo, is(notNullValue())); assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo"))); assertThat(foo.getMethodName(), is("foo")); assertThat(foo.getParameterTypes().length, is(0)); assertThat(foo.isPublic(), is(true));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java
// Test method getter/setter UrlQueueImpl<Long> queue = new UrlQueueImpl<>(); queue.setMethod("GET"); assertEquals("GET", queue.getMethod()); queue.setMethod("POST"); assertEquals("POST", queue.getMethod()); queue.setMethod(null); assertNull(queue.getMethod()); } public void test_urlGetterSetter() { // Test URL getter/setterRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
*/ @Test public void testMethodParameterType() throws Exception { final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class); final Method method = Hoge.class.getMethod("foo", Set.class, Map.class); ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 0, map); assertThat(desc.getRawClass(), is(sameClass(Set.class)));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.4K bytes - Viewed (0) -
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())) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 2.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java
* * @see org.codelibs.fess.crawler.entity.UrlQueue#getMethod() */ @Override public String getMethod() { return method; } /* * (non-Javadoc) * * @see org.codelibs.fess.crawler.entity.UrlQueue#setMethod(java.lang.String) */ @Override public void setMethod(final String method) { this.method = method; } /*Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.1K bytes - Viewed (0) -
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) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/AnnotationUtilTest.java
*/ public class AnnotationUtilTest { /** * @throws Exception */ @Hoge(bbb = "3") @Test public void testGetProperties() throws Exception { final Method m = ClassUtil.getMethod(getClass(), "testGetProperties"); final Annotation anno = m.getAnnotation(Hoge.class); final Map<String, Object> props = AnnotationUtil.getProperties(anno); assertThat((String) props.get("aaa"), is("123"));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ClassUtilTest.java
} /** * @throws Exception */ @Test(expected = EmptyArgumentException.class) public void testGetMethod_EmptyName() throws Exception { ClassUtil.getMethod(getClass(), ""); } /** * */ @Test public void testGetPrimitiveClass() { assertThat(ClassUtil.getPrimitiveClass(Integer.class), is(sameClass(int.class)));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.2K bytes - Viewed (0)