Class RouteRegistry
java.lang.Object
com.pixelservices.flash.components.http.routing.RouteRegistry
Manages route registration and lookup using different Trie structures.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintvoidregisterDynamicRoute(RouteEntry entry) voidregisterLiteralRoute(RouteEntry entry) voidresolveRoute(HttpMethod method, String path)
-
Constructor Details
-
RouteRegistry
public RouteRegistry()
-
-
Method Details
-
registerLiteralRoute
-
registerParameterizedRoute
-
registerDynamicRoute
-
resolveRoute
-
getLiteralRouteCount
public int getLiteralRouteCount() -
getParameterizedRouteCount
public int getParameterizedRouteCount() -
getDynamicRouteCount
public int getDynamicRouteCount()
-