public class RouterMatch extends Object implements Router.Match
Constructor and Description |
---|
RouterMatch() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Context context,
Route.Handler pipeline) |
RouterMatch |
found(Route route) |
void |
key(List<String> keys) |
boolean |
matches()
True for matching route.
|
void |
methodNotAllowed(Set<String> allow) |
RouterMatch |
missing(String method,
String path,
MessageEncoder encoder) |
Map<String,String> |
pathMap()
Path pattern variables.
|
void |
pop() |
Route |
route()
Matched route.
|
void |
truncate(int size) |
void |
value(String value) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public void truncate(int size)
public void value(String value)
public void pop()
public boolean matches()
Router.Match
matches
in interface Router.Match
public Route route()
Router.Match
route
in interface Router.Match
public Map<String,String> pathMap()
Router.Match
pathMap
in interface Router.Match
public RouterMatch found(Route route)
public void execute(@NotNull Context context, @NotNull Route.Handler pipeline)
execute
in interface Router.Match
public RouterMatch missing(String method, String path, MessageEncoder encoder)
Copyright © 2023. All rights reserved.