builds a corsconfig with settings specified by previous method calls . concode_field_sep boolean noPreflightHeaders concode_elem_sep boolean enabled concode_elem_sep Optional<Pattern> pattern concode_elem_sep boolean allowNullOrigin concode_elem_sep Set<String> requestHeaders concode_elem_sep Set<HttpMethod> requestMethods concode_elem_sep boolean anyOrigin concode_elem_sep long maxAge concode_elem_sep Map<CharSequence,Callable<?>> preflightHeaders concode_elem_sep Optional<Set<String>> origins concode_elem_sep DateValueGenerator INSTANCE concode_elem_sep Object value concode_elem_sep boolean allowCredentials concode_elem_sep boolean shortCircuit concode_field_sep CorsConfigBuilder forPattern concode_elem_sep CorsConfigBuilder forOrigins concode_elem_sep CorsConfigBuilder allowedRequestMethods concode_elem_sep CorsConfigBuilder allowNullOrigin concode_elem_sep CorsConfigBuilder noPreflightResponseHeaders concode_elem_sep Object call concode_elem_sep Date call concode_elem_sep CorsConfigBuilder maxAge concode_elem_sep CorsConfigBuilder forAnyOrigin concode_elem_sep CorsConfigBuilder disable concode_elem_sep CorsConfigBuilder forOrigin concode_elem_sep CorsConfigBuilder allowCredentials concode_elem_sep CorsConfigBuilder allowedRequestHeaders concode_elem_sep CorsConfigBuilder preflightResponseHeader concode_elem_sep CorsConfigBuilder preflightResponseHeader concode_elem_sep CorsConfigBuilder preflightResponseHeader concode_elem_sep CorsConfigBuilder shortCircuit
CorsConfig function ( ) { if ( preflightHeaders . isEmpty ( ) && ! noPreflightHeaders ) { preflightHeaders . put ( "srini_string" , DateValueGenerator . INSTANCE ) ; preflightHeaders . put ( "srini_string" , new ConstantValueGenerator ( "srini_string" ) ) ; } return new CorsConfig ( this ) ; }