RESTEasy doesn't encoding setting in @Produces annotation in JBoss EAP
Issue
- We are sending an HTTP REST request to a JAX-RS web service that uses RESTEasy as implementation. We noticed that the server always answers in UTF-8 encoding although other encoding was requested in the accept header. How can we make RESTEasy stop ignoring the requested encoding?
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.0
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
