Wiki source code of ERRest In Depth
Version 5.1 by Pascal Robert on 2012/03/11 21:14
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | RestContext | ||
| 2 | Properties | ||
| 3 | JSON Schema | ||
| 4 | HTML vs other formats | ||
| 5 | Response representation | ||
| 6 | Missing route | ||
| 7 | Missing object | ||
| 8 | POJO objects | ||
| 9 | Headers | ||
| 10 | Caching | ||
| 11 | |||
| 12 | request > route | ||
| 13 | |||
| 14 | Application(ERXApplication).dispatchRequest(WORequest) line: 2051 | ||
| 15 | ERXRouteRequestHandler(WOActionRequestHandler).//handleRequest(WORequest) line: 221 | ||
| 16 | ERXRouteRequestHandler.getRequestHandlerPathForRequest(WORequest) line: 782// | ||
| 17 | |||
| 18 | ERXRouteRequestHandler(WOActionRequestHandler).//handleRequest(WORequest) line: 259 | ||
| 19 | PagesController(ERXRouteController).performActionNamed(String) line: 1328 | ||
| 20 | PagesController(ERXRouteController).performActionNamed(String, boolean) line: 1385 | ||
| 21 | PagesController(ERXRouteController).performRouteActionNamed(String) line: 1510 | ||
| 22 | PagesController(ERXRouteController).performActionWithArguments(Method, Object...) line: 1559 | ||
| 23 | ... | ||
| 24 | PagesController.mainPageAction() line: 20// | ||
| 25 | |||
| 26 | == ERXRouteRequestHandler == | ||
| 27 | |||
| 28 | | **Properties** | ||
| 29 | | ERXRest.missingControllerName | (default "ERXMissingRouteController") | ||
| 30 | \\ | ||
| 31 | | ERXRest.parseUnknownExtensions | ERXRest.parseUnknownExtensions | ||
| 32 | \\ | ||
| 33 | | ERXRest.pluralEntityNames | ERXRest.pluralEntityNames | ||
| 34 | \\ | ||
| 35 | | ERXRest.routeCase | ERXRest.routeCase | ||
| 36 | \\ | ||
| 37 | | ERXRest.lowercaseEntityNames | ERXRest.lowercaseEntityNames | ||
| 38 | |||
| 39 | ERXMissingRouteController is the controller that is used when no route can be found. It's "missing" action is loaded. | ||
| 40 | |||
| 41 | | **Properties** | ||
| 42 | | ERXRest.strictMode | ERXRest.strictMode | ||
| 43 | \\ | | ||
| 44 | ERXRouteController | ||
| 45 | |||
| 46 | Properties | ||
| 47 | |||
| 48 | ERXRest.accessControlAllowRequestHeaders | ||
| 49 | ERXRest.accessControlAllowRequestMethods | ||
| 50 | ERXRest.defaultFormat | ||
| 51 | ERXRest.strictMode | ||
| 52 | ERXRest.allowWindowNameCrossDomainTransport | ||
| 53 | ERXRest.accessControlMaxAge | ||
| 54 | ERXRest.accessControlAllowOrigin |