- java.lang.Object
-
- swim.runtime.RouterProxy
-
- swim.reflect.ReflectRouter
-
- All Implemented Interfaces:
Router
,RouterBinding
,RouterContext
public class ReflectRouter extends RouterProxy
-
-
Field Summary
-
Fields inherited from class swim.runtime.RouterProxy
routerContext
-
-
Constructor Summary
Constructors Constructor Description ReflectRouter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RootBinding
createRoot()
double
routerPriority()
Returns the relative priority of thisRouter
implementation.-
Methods inherited from class swim.runtime.RouterProxy
createHost, createMesh, injectRouter, routerContext, setRouterContext
-
-
-
-
Method Detail
-
routerPriority
public double routerPriority()
Description copied from interface:Router
Returns the relative priority of thisRouter
implementation. Routers with greater priority inject into routing stacks before routers with lower priority.- Specified by:
routerPriority
in interfaceRouter
- Specified by:
routerPriority
in classRouterProxy
-
createRoot
public RootBinding createRoot()
- Specified by:
createRoot
in interfaceRouterContext
- Overrides:
createRoot
in classRouterProxy
-
-