Class UiRouter

java.lang.Object
swim.kernel.KernelProxy
swim.service.web.UiRouter
All Implemented Interfaces:
IpInterface, Kernel, KernelBinding, KernelContext, Log

public class UiRouter extends KernelProxy
SwimOS kernel module for routing HTTP requests for the bundled UI.
  • Constructor Details

    • UiRouter

      public UiRouter(double kernelPriority)
    • UiRouter

      public UiRouter()
  • Method Details

    • kernelPriority

      public final double kernelPriority()
      Description copied from interface: Kernel
      Returns the relative priority of this Kernel implementation. Kernel implementations with greater priority inject into kernel stacks before implementations with lower priority.
      Specified by:
      kernelPriority in interface Kernel
      Specified by:
      kernelPriority in class KernelProxy
    • routeRequest

      public WebResponse routeRequest(WebRequest request)
      Specified by:
      routeRequest in interface KernelContext
      Overrides:
      routeRequest in class KernelProxy
    • trace

      public void trace(Object message)
      Description copied from interface: Log
      Logs a trace-level message.
      Specified by:
      trace in interface Log
      Overrides:
      trace in class KernelProxy
    • debug

      public void debug(Object message)
      Description copied from interface: Log
      Logs a debug-level message.
      Specified by:
      debug in interface Log
      Overrides:
      debug in class KernelProxy
    • info

      public void info(Object message)
      Description copied from interface: Log
      Logs an info-level message.
      Specified by:
      info in interface Log
      Overrides:
      info in class KernelProxy
    • warn

      public void warn(Object message)
      Description copied from interface: Log
      Logs a warn-level message.
      Specified by:
      warn in interface Log
      Overrides:
      warn in class KernelProxy
    • error

      public void error(Object message)
      Description copied from interface: Log
      Logs an error-level message.
      Specified by:
      error in interface Log
      Overrides:
      error in class KernelProxy
    • fail

      public void fail(Object message)
      Description copied from interface: Log
      Logs an fail-level message.
      Specified by:
      fail in interface Log
      Overrides:
      fail in class KernelProxy
    • fromValue

      public static UiRouter fromValue(Value moduleConfig)