Module io.avaje.jex

Interface SpiRoutes.Entry

Enclosing interface:
SpiRoutes

public static interface SpiRoutes.Entry
A route entry.
  • Method Details

    • matches

      boolean matches​(String requestUri)
      Return true if it matches the request URI.
    • handle

      void handle​(Context ctx)
      Handle the request.
    • pathParams

      SpiRoutes.Params pathParams​(String uri)
      Return the path parameter map given the uri.
    • matchPath

      String matchPath()
      Return the raw path expression.
    • getSegmentCount

      int getSegmentCount()
      Return the segment count.
    • includesWildcard

      boolean includesWildcard()
      Return true if one of the segments is the wildcard match.