How To Register Multiple Interceptor In Spring MVC?

Create Configuration Class extends with WebMvcConfigurerAdapter

How to Sum Values From Specific Field Of The Objects In a List. Java 8

Now, how can I find in Java8 with streams the sum of the values of the int fields field from the objects in list lst under a filtering criterion

(e.g. for an object o, the criterion is o.field > 10)?

Suppose to have a class Abc