-
Notifications
You must be signed in to change notification settings - Fork 13
Description
With the current interface, there is a filter chain of optional built-in filters, that we can append to with custom filters. But we cannot add insert custom filters at specific points in the chain. For example, we may want to add Jetty's QOS Filter fairly high up in the chain.
It would be good to have an option of inserting filters at specific points in the foundations's filter chain before starting the server (maybe using enums like BEFORE_AVAILABILITY_FILTER).
Alternatively, there could be an option to define the complete chain beforehand, picking which of the foundation built-in filters to use, and ordering them as desired together with the custom filters. Then the assembled chain can be used when starting the server. This solution seems more robust, but allows for misuse by not ordering the foundation filters properly.