struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Lorenz <felipe.lor...@idealogic.com.br>
Subject Re: Rest + JSON
Date Wed, 26 Feb 2014 13:00:23 GMT
Thanks Lukasz, I think I´ll create a CustomContentTypeHandler.

Em 26/02/2014 04:21, Lukasz Lenart escreveu:
> 2014-02-25 19:08 GMT+01:00 Felipe Lorenz 
> <felipe.lorenz@idealogic.com.br>:
>> Hi,
>> 
>> I was not clear with my doubt. I dont´t want to use json-plugin, 
>> since
>> rest-plugin already has a json solution.
>> 
>> I wanna try to use 100% of rest-plugin json solution and, at same 
>> time, keep
>> the control over the data is returned.
> 
> I think the only option you have is to write your own
> ContentTypeHandler [1] and override built-in JSON handler
> 
> [1]
> http://struts.apache.org/release/2.3.x/docs/rest-plugin.html#RESTPlugin-CustomContentTypeHandlers
> 
> 
> Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message