public class Routes
extends java.lang.Object
Constructor and Description |
---|
Routes(ActionsManager actionsManager) |
Modifier and Type | Method and Description |
---|---|
PathMacros |
buildActionPathMacros(java.lang.String actionPath)
Builds
action path macros from given action
path chunks. |
ActionRuntime |
lookup(java.lang.String method,
java.lang.String[] pathChunks) |
RouteChunk |
registerPath(java.lang.String method,
java.lang.String path) |
public Routes(ActionsManager actionsManager)
public RouteChunk registerPath(java.lang.String method, java.lang.String path)
public ActionRuntime lookup(java.lang.String method, java.lang.String[] pathChunks)
public PathMacros buildActionPathMacros(java.lang.String actionPath)
action path macros
from given action
path chunks. Returns either null
, if
no action path contains no macros, or instance of the PathMacro
implementations.Copyright © 2003-present Jodd Team