I want to encoding a REST service in UTF-8.

The code is following:

@GET
@Path("/get")
@Produces("application/json; charset=UTF-8")public Response restService() {

 //code

 return Response.status(200).entity(result).build();
}

This is correct?


I'm encoding in UTF-8 fort a Android client can consume the service, but It
can't...Get HTTP code 465.

 what is the error?
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Resteasy-users mailing list
Resteasy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/resteasy-users

Reply via email to