From: Heiko W.R. <hr...@re...> - 2012-06-13 11:55:39
|
Hi, Is there a way in an Interceptor or MessageBodyWriter or such to get at the http method *before* the request is being dispatched? What I am trying to do is to offer generic OPTIONS support for URIs where the code is annotated with @GET etc , but no special @OPTIONS methods exist. My code will then try to get some information like supported media types from the "real" method and return that to the user. Thanks Heiko -- Reg. Adresse: Red Hat GmbH, Technopark II, Haus C, Werner-von-Siemens-Ring 14, D-85630 Grasbrunn Handelsregister: Amtsgericht München HRB 153243 Geschaeftsführer: Mark Hegarty, Charlie Peters, Michael Cunningham, Charles Cachera |