An open API service indexing awesome lists of open source software.

https://github.com/opentable/otj-filterorder

Servlet filter order resolver.
https://github.com/opentable/otj-filterorder

platform-java

Last synced: 7 months ago
JSON representation

Servlet filter order resolver.

Awesome Lists containing this project

README

        

The filter order dependency resolver accepts dependency declarations in
the form of injected beans and reorders servlet filters in order to
accord to the desired dependencies.

Here is an example. In it, B is said to depend on A, so in the final
ordering, A will come before B.

@Bean
public OrderDeclaration sampleOrderDeclaration() {
return OrderDeclaration
.of(FilterB.class)
.dependsOn(FilterA.class);
}

See the classes' Javadocs for more detail.