Class ScxRouteHandler
java.lang.Object
cool.scx.web.ScxRouteHandler
- All Implemented Interfaces:
cool.scx.function.Function1Void<cool.scx.http.routing.RoutingContext, Throwable>, cool.scx.http.routing.Route
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept0(cool.scx.http.routing.RoutingContext context) voidapply(cool.scx.http.routing.RoutingContext context) cool.scx.function.Function1Void<cool.scx.http.routing.RoutingContext, Throwable> handler()cool.scx.http.routing.MethodMatcherSet<cool.scx.http.method.HttpMethod> methods()intorder()path()cool.scx.http.routing.PathMatchercool.scx.http.routing.TypeMatcher
-
Field Details
-
method
public final cool.scx.reflect.MethodInfo method -
isVoid
public final boolean isVoid -
instance
-
clazz
-
-
Method Details
-
apply
-
accept0
-
path
- Specified by:
pathin interfacecool.scx.http.routing.Route
-
methods
- Specified by:
methodsin interfacecool.scx.http.routing.Route
-
typeMatcher
public cool.scx.http.routing.TypeMatcher typeMatcher()- Specified by:
typeMatcherin interfacecool.scx.http.routing.Route
-
pathMatcher
public cool.scx.http.routing.PathMatcher pathMatcher()- Specified by:
pathMatcherin interfacecool.scx.http.routing.Route
-
methodMatcher
public cool.scx.http.routing.MethodMatcher methodMatcher()- Specified by:
methodMatcherin interfacecool.scx.http.routing.Route
-
order
public int order()- Specified by:
orderin interfacecool.scx.http.routing.Route
-
handler
- Specified by:
handlerin interfacecool.scx.http.routing.Route
-