Options for all routes on ERRest
Options for all routes on ERRest
- Subject: Options for all routes on ERRest
- From: Luiz Alfredo Carrara Bertusso <email@hidden>
- Date: Tue, 24 Jan 2017 10:45:53 -0200
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden