public static interface Router.Visitor
A visitor can be passed to the router to traverse the routes
Modifier and Type | Method and Description |
---|---|
void |
visit(org.osgl.http.H.Method method,
java.lang.String path,
RequestHandler handler)
Visit a route mapping in the router
|
void visit(org.osgl.http.H.Method method, java.lang.String path, RequestHandler handler)
Visit a route mapping in the router
method
- the HTTP methodpath
- the URL pathhandler
- the handlerCopyright © 2014–2017 ActFramework. All rights reserved.