Package | Description |
---|---|
er.rest.routes |
Modifier and Type | Method and Description |
---|---|
ERXRoute |
ERXRouteController.route()
Returns the route associated with this request.
|
ERXRoute |
ERXRouteRequestHandler.routeForMethodAndPath(String method,
String path,
NSMutableDictionary<String,Object> userInfo)
Returns the route that matches the request method and path, storing metadata about the route in the given
userInfo dictionary.
|
protected ERXRoute |
ERXRouteRequestHandler.routeForMethodAndPattern(ERXRoute.Method method,
String urlPattern) |
ERXRoute |
ERXRouteRequestHandler.setupRequestWithRouteForMethodAndPath(WORequest request,
String method,
String path)
Sets up the request userInfo for the given request for a request of the given method and path.
|
Modifier and Type | Method and Description |
---|---|
NSArray<ERXRoute> |
ERXRouteRequestHandler.routes()
Returns the routes for this request handler.
|
NSArray<ERXRoute> |
ERXRouteRequestHandler.routesForControllerClass(Class<? extends ERXRouteController> routeController)
Returns the routes for the given controller class.
|
Modifier and Type | Method and Description |
---|---|
void |
ERXRouteController._setRoute(ERXRoute route)
Sets the route that is associated with this request.
|
void |
ERXRouteRequestHandler.addRoute(ERXRoute route)
Adds a new route to this request handler.
|
void |
ERXRouteRequestHandler.insertRoute(ERXRoute route)
Inserts a route at the beginning of the route list.
|
void |
ERXRouteRequestHandler.removeRoute(ERXRoute route)
Removes the given route from this request handler.
|
protected void |
ERXRouteRequestHandler.verifyRoute(ERXRoute route)
Checks for an existing route that matches the
ERXRoute.Method and routePattern() of route and
yet has a different controller or action mapping. |
Copyright © 2002 – 2024 Project Wonder.