As Daemon pointed out in a comment, the latest versions of JAX-RS (including the stable version as of September 2012) now do support the @Produces
syntax. So you can just use:
@Produces("text/html; charset=UTF-8")
As Daemon pointed out in a comment, the latest versions of JAX-RS (including the stable version as of September 2012) now do support the @Produces
syntax. So you can just use:
@Produces("text/html; charset=UTF-8")