Examples of DefaultBeanClass


Examples of br.com.caelum.vraptor.controller.DefaultBeanClass

    assertThat(route.allowedMethods(), is(EnumSet.of(HttpMethod.POST)));
  }

  @Test
  public void supportOverrideTypeHttpMethodAnnotation() throws SecurityException, NoSuchMethodException {
    List<Route> routes = parser.rulesFor(new DefaultBeanClass(AnnotatedController.class));
    Route route = getRouteMatching(routes, "/annotated/overridden");
    assertThat(route.allowedMethods(), is(EnumSet.of(HttpMethod.GET)));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.