Package | Description |
---|---|
er.rest.routes |
Modifier and Type | Method and Description |
---|---|
ERXRoute.Method |
ERXRoute.method()
Returns the method of this request.
|
static ERXRoute.Method |
ERXRoute.Method.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ERXRoute.Method[] |
ERXRoute.Method.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
NSDictionary<ERXRoute.Key,String> |
ERXRoute.keys(String url,
ERXRoute.Method method)
Returns the route keys for the given URL.
|
NSDictionary<ERXRoute.Key,Object> |
ERXRoute.keysWithObjects(String url,
ERXRoute.Method method,
ERXRestContext context)
Returns a dictionary mapping the route's keys to their resolved objects.
|
NSDictionary<String,Object> |
ERXRoute.objects(String url,
ERXRoute.Method method,
ERXRestContext context)
Returns a dictionary mapping the route's key names to their resolved objects.
|
protected ERXRoute |
ERXRouteRequestHandler.routeForMethodAndPattern(ERXRoute.Method method,
String urlPattern) |
void |
ERXRoute.setMethod(ERXRoute.Method method)
Sets the method of this request.
|
Constructor and Description |
---|
ERXRoute(String entityName,
String urlPattern,
ERXRoute.Method method)
Constructs a new route with the given URL pattern.
|
ERXRoute(String entityName,
String urlPattern,
ERXRoute.Method method,
Class<? extends ERXRouteController> controller)
Constructs a new route with the given URL pattern.
|
ERXRoute(String entityName,
String urlPattern,
ERXRoute.Method method,
Class<? extends ERXRouteController> controller,
String action)
Constructs a new route with the given URL pattern.
|
ERXRoute(String entityName,
String urlPattern,
ERXRoute.Method method,
String controller)
Constructs a new route with the given URL pattern.
|
ERXRoute(String entityName,
String urlPattern,
ERXRoute.Method method,
String controller,
String action)
Constructs a new route with the given URL pattern.
|
Copyright © 2002 – 2024 Project Wonder.