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 TypeMethodDescriptionint
int
int
void
registerDynamicRoute
(RouteEntry entry) void
registerLiteralRoute
(RouteEntry entry) void
resolveRoute
(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()
-