I need to migrate our project from jersey to spring boot because of business requirements.
However, there are lots of filters like below,
public class BasicFilter implements ContainerRequestFilter, ContainerResponseFilter { {
public void filter(ContainerRequestContext containerRequestContext) throws IOException {
}
// ...
}
I think it should be regarded as HandlerInterceptor
in spring, as you known, I can rewrite these filters following spring rules, but it very very heavy and error-prone, so, is there any way to integrate with these filter easily without overwriting?
Highly appreciated for your suggestion.