Wiki source code of ERRest In Depth

Version 18.1 by Pascal Robert on 2012/03/11 21:20

Show last authors
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 Adding new format
12 Security
13 strictMode
14 Workflow
15 Query arguments and RXRestFetchSpecification
16 ERXRestNameRegistry
17 MapClassDescription / NSDictionaryClassDescription
18
19 ERXRestUtils
20 Properties
21 er.rest.dateFormat
22 er.rest.timestampFormat
23 er.rest.rfcDateFormat
24
25 request > route
26
27 Application(ERXApplication).dispatchRequest(WORequest) line: 2051
28 ERXRouteRequestHandler(WOActionRequestHandler).//handleRequest(WORequest) line: 221
29 ERXRouteRequestHandler.getRequestHandlerPathForRequest(WORequest) line: 782//
30
31 ERXRouteRequestHandler(WOActionRequestHandler).//handleRequest(WORequest) line: 259
32 PagesController(ERXRouteController).performActionNamed(String) line: 1328
33 PagesController(ERXRouteController).performActionNamed(String, boolean) line: 1385
34 PagesController(ERXRouteController).performRouteActionNamed(String) line: 1510
35 PagesController(ERXRouteController).performActionWithArguments(Method, Object...) line: 1559
36 ...
37 PagesController.mainPageAction() line: 20//
38
39 == ERXRouteRequestHandler ==
40
41 | **Properties**
42 | ERXRest.missingControllerName | (default "ERXMissingRouteController")
43 \\          
44 | ERXRest.parseUnknownExtensions | ERXRest.parseUnknownExtensions
45 \\          
46 | ERXRest.pluralEntityNames | ERXRest.pluralEntityNames
47 \\          
48 | ERXRest.routeCase | ERXRest.routeCase
49 \\          
50 | ERXRest.lowercaseEntityNames | ERXRest.lowercaseEntityNames
51
52 ERXMissingRouteController is the controller that is used when no route can be found. It's "missing" action is loaded.
53
54 | **Properties**
55 | ERXRest.strictMode | ERXRest.strictMode
56 \\          |
57 ERXRouteController
58
59 Properties
60
61 ERXRest.accessControlAllowRequestHeaders
62 ERXRest.accessControlAllowRequestMethods
63 ERXRest.defaultFormat
64 ERXRest.strictMode
65 ERXRest.allowWindowNameCrossDomainTransport
66 ERXRest.accessControlMaxAge
67 ERXRest.accessControlAllowOrigin