Hi
On 09/12/11 22:01, eswarup wrote:
Hi,
We've case where .json is getting considered as JSON output which either I
would like to restrict it or be able to identify it using one of  Message
properties

for e.g.
  @Path("/getProfile/{guid}/")

/getProfile/madonna.json treats it as JSON output and sets guid=madonna.

I would prefer to use _type=json for json output formats.
Is there a way I can restrict this or ignore .json as special syntax and
treat guid=madonna.json


I'm sorry but I've got a bit confused.
Are you saying that you do not need JSON returned when querying

/getProfile/madonna.json

but do need JSON in all other cases ?

Do you expect /getProfile/bar.json return JSON, where bar is some other profile id ?

Cheers, Sergey


Thanks,

Swarup



--
View this message in context: 
http://cxf.547215.n5.nabble.com/json-restriction-or-identify-tp5063130p5063130.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to