- java.lang.Object
-
- swim.runtime.RouterProxy
-
- swim.runtime.router.TableRouter
-
- All Implemented Interfaces:
Router
,RouterBinding
,RouterContext
public class TableRouter extends RouterProxy
-
-
Field Summary
-
Fields inherited from class swim.runtime.RouterProxy
routerContext
-
-
Constructor Summary
Constructors Constructor Description TableRouter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostBinding
createHost()
MeshBinding
createMesh()
RootBinding
createRoot()
double
routerPriority()
Returns the relative priority of thisRouter
implementation.-
Methods inherited from class swim.runtime.RouterProxy
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
-
createMesh
public MeshBinding createMesh()
- Specified by:
createMesh
in interfaceRouterContext
- Overrides:
createMesh
in classRouterProxy
-
createHost
public HostBinding createHost()
- Specified by:
createHost
in interfaceRouterContext
- Overrides:
createHost
in classRouterProxy
-
-