How to override the headers set in filter class in service class in spring boot

Viewed 18

I want to set content-disposition header for the endpoints which returns the file as output.But Filter in my code overrides the header.For temporary I have two filters .But it is not good practise.Is Any other way is available

0 Answers
Related