I have a custom filter I created and added using FilterRegistrationBean
. I know that there is an @Order
annotation, and you can set the order when registering the filter. However, how do I set the order as last to be executed?
Would it be @Order(0)
or @Order(1000000)
, for example?