Module swim.api

Interface Router


  • public interface Router
    Opaque handle to a Swim router implementation.
    • Method Detail

      • routerPriority

        double routerPriority()
        Returns the relative priority of this Router implementation. Routers with greater priority inject into routing stacks before routers with lower priority.
      • injectRouter

        Router injectRouter​(Router router)
        Returns a Router with the combined capabilities of this Router and the given router.