public class StaticRouterMatch extends Object implements Router.Match
Constructor and Description |
---|
StaticRouterMatch(Route route) |
Modifier and Type | Method and Description |
---|---|
void |
execute(Context context,
Route.Handler pipeline) |
boolean |
matches()
True for matching route.
|
Map<String,String> |
pathMap()
Path pattern variables.
|
Route |
route()
Matched route.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public StaticRouterMatch(Route route)
public boolean matches()
Router.Match
matches
in interface Router.Match
@Nonnull public Route route()
Router.Match
route
in interface Router.Match
public void execute(@NotNull Context context, @NotNull Route.Handler pipeline)
execute
in interface Router.Match
@Nonnull public Map<String,String> pathMap()
Router.Match
pathMap
in interface Router.Match
Copyright © 2023. All rights reserved.