Wiki source code of ERRest In Depth

Version 19.1 by Pascal Robert on 2012/04/13 14:18

Hide last authors
Pascal Robert 18.1 1 RestContext
2 Properties
3 JSON Schema
Pascal Robert 4.1 4 HTML vs other formats
5 Response representation
6 Missing route
7 Missing object
8 POJO objects
9 Headers
10 Caching
Pascal Robert 16.1 11 Adding new format
12 Security
13 strictMode
14 Workflow
15 Query arguments and RXRestFetchSpecification
16 ERXRestNameRegistry
17 MapClassDescription / NSDictionaryClassDescription
Pascal Robert 4.1 18
Pascal Robert 16.1 19 ERXRestUtils
Pascal Robert 18.1 20 Properties
Pascal Robert 19.1 21 er.rest.dateFormat
22 er.rest.timestampFormat
Pascal Robert 18.1 23 er.rest.rfcDateFormat
Pascal Robert 16.1 24
Pascal Robert 4.1 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
Pascal Robert 18.1 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