Class N2oRouteRegister
- java.lang.Object
-
- net.n2oapp.framework.config.register.route.N2oRouteRegister
-
- All Implemented Interfaces:
Iterable<Map.Entry<RouteInfoKey,CompileContext>>,RouteRegister
public class N2oRouteRegister extends Object implements RouteRegister
Хранилище RouteInfo
-
-
Constructor Summary
Constructors Constructor Description N2oRouteRegister()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRoute(String urlPattern, CompileContext<? extends Compiled,?> context)voidclear(String startUrlMatching)Iterator<Map.Entry<RouteInfoKey,CompileContext>>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
addRoute
public void addRoute(String urlPattern, CompileContext<? extends Compiled,?> context)
- Specified by:
addRoutein interfaceRouteRegister
-
iterator
public Iterator<Map.Entry<RouteInfoKey,CompileContext>> iterator()
- Specified by:
iteratorin interfaceIterable<Map.Entry<RouteInfoKey,CompileContext>>
-
clear
public void clear(String startUrlMatching)
- Specified by:
clearin interfaceRouteRegister
-
-