Module io.inverno.mod.web.server
Package io.inverno.mod.web.server
Interface BaseWebRouteManager<A extends ExchangeContext,B extends Exchange<A>,C extends BaseWebRoute<A,B>,D extends BaseWebRouter>
- Type Parameters:
A
- the exchange context typeB
- the exchange typeC
- the Web route typeD
- the Web router type
- All Known Subinterfaces:
ErrorWebRouteManager<A,
,B> WebRouteManager<A,
,B> WebSocketRouteManager<A,
B>
public interface BaseWebRouteManager<A extends ExchangeContext,B extends Exchange<A>,C extends BaseWebRoute<A,B>,D extends BaseWebRouter>
Base Web route manager.
- Since:
- 1.12
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondisable()
Disables all the routes currently defined in the router that are matching the criteria specified in the route manager.enable()
Enables all the routes currently defined in the router that are matching the criteria specified in the route manager.Finds all the routes currently defined that are matching the criteria specified in the route manager.remove()
Removes all the routes currently defined in the router that are matching the criteria specified in the route manager.
-
Method Details
-
enable
D enable()Enables all the routes currently defined in the router that are matching the criteria specified in the route manager.
- Returns:
- the router
-
disable
D disable()Disables all the routes currently defined in the router that are matching the criteria specified in the route manager.
- Returns:
- the router
-
remove
D remove()Removes all the routes currently defined in the router that are matching the criteria specified in the route manager.
- Returns:
- the router
-
findRoutes
Finds all the routes currently defined that are matching the criteria specified in the route manager.
- Returns:
- a set of routes or an empty set if no route matches the criteria
-