Package tech.greenfield.vertx.irked
Class RouteConfigurationMethod
- java.lang.Object
-
- tech.greenfield.vertx.irked.RouteConfiguration
-
- tech.greenfield.vertx.irked.RouteConfigurationMethod
-
public class RouteConfigurationMethod extends RouteConfiguration
An implementation ofRouteConfigurationused to configure Vert.x-web for Controller methods- Author:
- odeda
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class tech.greenfield.vertx.irked.RouteConfiguration
RouteConfiguration.RoutingContextImplException
-
-
Field Summary
-
Fields inherited from class tech.greenfield.vertx.irked.RouteConfiguration
annotations, impl, log, router, routingContextResolver, routingContextType
-
-
Constructor Summary
Constructors Constructor Description RouteConfigurationMethod(Controller impl, Router router, Method m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T extends Annotation>
T[]getAnnotation(Class<T> anot)protected StringgetName()booleanisController()-
Methods inherited from class tech.greenfield.vertx.irked.RouteConfiguration
buildRoutesFor, findRoutingContextResolver, handleUserException, handleUserException, pathsForAnnotation, resolveRequestContext, toString, trySetRoutingContextType, uriForAnnotations
-
-
-
-
Constructor Detail
-
RouteConfigurationMethod
public RouteConfigurationMethod(Controller impl, Router router, Method m) throws InvalidRouteConfiguration
- Throws:
InvalidRouteConfiguration
-
-
Method Detail
-
getAnnotation
protected <T extends Annotation> T[] getAnnotation(Class<T> anot)
- Specified by:
getAnnotationin classRouteConfiguration
-
isController
public boolean isController()
-
getName
protected String getName()
- Specified by:
getNamein classRouteConfiguration
-
-