Class HTTPServer.BaseRoutePrioritizer

java.lang.Object
ch.autumo.beetroot.server.HTTPServer.BaseRoutePrioritizer
All Implemented Interfaces:
HTTPServer.IRoutePrioritizer
Direct Known Subclasses:
HTTPServer.DefaultRoutePrioritizer, HTTPServer.InsertionOrderRoutePrioritizer, HTTPServer.ProvidedPriorityRoutePrioritizer
Enclosing class:
HTTPServer

public abstract static class HTTPServer.BaseRoutePrioritizer extends Object implements HTTPServer.IRoutePrioritizer
Base implementation of a route prioritizer that owns the route mappings.
  • Field Details

    • notImplemented

      protected Class<?> notImplemented
      Handler used for routes without an implementation.
    • mappings

      protected final Collection<HTTPServer.UriResource> mappings
      Routes registered with this prioritizer.
  • Constructor Details

    • BaseRoutePrioritizer

      public BaseRoutePrioritizer()
      Creates the prioritizer with the default not-implemented handler.
  • Method Details