public class RouterMatch extends Object implements Router.Match
Constructor and Description |
---|
RouterMatch() |
Modifier and Type | Method and Description |
---|---|
void |
execute(Context context) |
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 |
value(io.jooby.internal.Chi.ZeroCopyString value) |
public void value(io.jooby.internal.Chi.ZeroCopyString 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(Context context)
execute
in interface Router.Match
public RouterMatch missing(String method, String path, MessageEncoder encoder)
Copyright © 2020. All rights reserved.