I am trying to set a header value in a response from a RESTful endpoint using RESTeasy. I know that I can read header parameters using @HeaderParam but I want to change the value of that header parameter for the response. How can I do this without using a filter?
Share
RESTEasy can inject
HttpResponsewhich enables you to set header parameters.