Module io.avaje.jex

Interface SpiRoutes.Entry

  • Enclosing interface:
    SpiRoutes

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

      • matches

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

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

        Map<String,​String> 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.