public void setAllowedMethods ( List < String > allowedMethods ) { this . allowedMethods . clear ( ) ; if ( allowedMethods != null ) { for ( String allowedMethod : allowedMethods ) { this . allowedMethods . add ( allowedMethod . toUpperCase ( ) ) ; } } }
The allowed set of HTTP methods .