adam bien's blog

JAX-RS 2: Adding HTTP Headers With WriterInterceptor 📎

With a WriterInterceptor implementation you can easily post process the response and so modify or add HTTP headers:

See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting