I`ve been setting the option method for all possible routes on the API I`m
working on, but sometimes it works and sometimes it doesn't.
Nowadays I have to do this for every route:


restRequestHandler.addRoute(new ERXRoute(MyEntity.ENTITY_NAME, "/MyRoute",
                         ERXRoute.Method.Options, MyController.class,
"options"));


My concern is if it`s possible to apply this route for every declared route
just once and the framework automatically handles this.

Thank you.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to