public void setMethods ( Set < String > methods ) { this . methods = new HashSet <> ( ) ; for ( String method : methods ) { this . methods . add ( method . toUpperCase ( ) ) ; } }
The filter fails on requests that don t have one of these HTTP methods .