public class RouteHandler extends Object implements Handler
| Modifier and Type | Field and Description |
|---|---|
static String |
MATCH_RESULT
The shared-matched-result-data name.
|
| Constructor and Description |
|---|
RouteHandler()
Public constructor..
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addContextHandlerMeta(ContextHandlerMeta contextHandlerMeta)
Adds the specified context handler meta
|
static MatchResult |
doMatch(String requestURI,
String httpMethod)
Routes the request specified by the given request URI and HTTP method.
|
void |
handle(RequestContext context)
Handle.
|
public static final String MATCH_RESULT
public void handle(RequestContext context)
Handlerpublic static MatchResult doMatch(String requestURI, String httpMethod)
requestURI - the given request URIhttpMethod - the given HTTP methodnull if not foundpublic static void addContextHandlerMeta(ContextHandlerMeta contextHandlerMeta)
contextHandlerMeta - the specified context handler metaCopyright © 2009–2019 B3log. All rights reserved.