users@jsr311.java.net

Re: JAXRS handlers

From: Stephan Koops <Stephan.Koops_at_web.de>
Date: Fri, 28 Mar 2008 17:59:31 +0100

Hi Sergey,

you are right, until now filtering is not possible. But I also think it
is not useful to reinvent everything.

BTW: For this feature you request /foo.json and ready.
(ApplicationConfig.getMediaTypeMapping() must know this mapping)

best regards
  Stephan
> Here's a very simple example. I'd like to be able to debug my services
> and check the formats of the representations without messing with
> Accept header. I'd like to issue this query from my browser :
>
> /foo?_type=json
>
> Note, I don't want the application code to worry about supporting this
> query, it can but it doesn't have to.
> Can you advise me please on how can I solve the problem by using a
> Spring integration capabilities ?