• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Options for all routes on ERRest
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Options for all routes on ERRest
      • From: Matthew Ness <email@hidden>
  • Prev by Date: Re: WOWODC17?? a little OT
  • Next by Date: RE: WOWODC17?? a little OT
  • Previous by thread: Re: Slow partial ajax requests (and perhaps a solution)
  • Next by thread: Re: Options for all routes on ERRest
  • Index(es):
    • Date
    • Thread