List < HttpMethod > function ( HttpMethod arg0 ) { if ( arg0 == null ) { return null ; } if ( this . resolvedMethods == null ) { return Collections . singletonList ( arg0 ) ; } return ( this . resolvedMethods . contains ( arg0 ) ? this . resolvedMethods : null ) ; }
check the http request method or the method from the access-control-request-method header on a pre-flight request against the configured allowed methods . concode_field_sep List<HttpMethod> resolvedMethods concode_elem_sep List<String> allowedOrigins concode_elem_sep Long maxAge concode_elem_sep List<String> exposedHeaders concode_elem_sep List<String> allowedHeaders concode_elem_sep List<HttpMethod> DEFAULT_METHODS concode_elem_sep List<String> allowedMethods concode_elem_sep String ALL concode_elem_sep Boolean allowCredentials concode_field_sep void addAllowedHeader concode_elem_sep List<String> getExposedHeaders concode_elem_sep void setExposedHeaders concode_elem_sep void setMaxAge concode_elem_sep List<String> getAllowedHeaders concode_elem_sep List<String> getAllowedMethods concode_elem_sep Boolean getAllowCredentials concode_elem_sep void addAllowedOrigin concode_elem_sep void addAllowedMethod concode_elem_sep void addAllowedMethod concode_elem_sep void setAllowedHeaders concode_elem_sep String checkOrigin concode_elem_sep List<String> getAllowedOrigins concode_elem_sep void setAllowedMethods concode_elem_sep Long getMaxAge concode_elem_sep void setAllowCredentials concode_elem_sep List<String> checkHeaders concode_elem_sep void setAllowedOrigins concode_elem_sep void addExposedHeader concode_elem_sep CorsConfiguration combine concode_elem_sep List<String> combine