public interface Router extends Comparable<Router>
| 限定符和类型 | 方法和说明 |
|---|---|
Router |
consumes(String contentType) |
Router |
delete(String url) |
Router |
disable() |
Router |
enable() |
Router |
get(String url) |
int |
getId() |
Set<Matcher.MatchType> |
getMatchTypes() |
Router |
handler(Handler handler) |
boolean |
isEnable() |
Router |
method(HttpMethod httpMethod) |
Router |
method(String method) |
Router |
path(String url) |
Router |
pathRegex(String regex) |
Router |
paths(List<String> urlList) |
Router |
post(String url) |
Router |
produces(String accept) |
Router |
put(String url) |
compareToint getId()
boolean isEnable()
Set<Matcher.MatchType> getMatchTypes()
Router method(HttpMethod httpMethod)
Router enable()
Router disable()
Copyright © 2017. All rights reserved.