Module io.jooby
Package io.jooby

Interface Router.Match

Enclosing interface:
Router

public static interface Router.Match
Find route result.
  • Method Details

    • matches

      boolean matches()
      True for matching route.
      Returns:
      True for matching route.
    • route

      @NonNull Route route()
      Matched route.
      Returns:
      Matched route.
    • execute

      Object execute(@NonNull Context context, @NonNull Route.Handler pipeline)
      Executes matched route.
      Parameters:
      context - not null.
      pipeline - Handler.
    • execute

      default Object execute(@NonNull Context context)
    • pathMap

      @NonNull Map<String,String> pathMap()
      Path pattern variables.
      Returns:
      Path pattern variables.