specifies the if headers that should be returned in the cors ` access-control-allow-headers ' response header . if a client specifies headers on the request , for example by calling : xhr.setrequestheader ` my-custom-header ' , `` somevalue '' ; the server will receive the above header name in the ` access-control-request-headers ' of the preflight request . the server will then decide if it allows this header to be sent for the real request remember that a preflight is not the real request but a request asking the server if it allow a request . 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 Netty4CorsConfigBuilder forPattern concode_elem_sep Netty4CorsConfigBuilder forOrigins concode_elem_sep Netty4CorsConfigBuilder allowedRequestMethods concode_elem_sep Netty4CorsConfigBuilder allowNullOrigin concode_elem_sep Netty4CorsConfigBuilder noPreflightResponseHeaders concode_elem_sep Object call concode_elem_sep Date call concode_elem_sep Netty4CorsConfigBuilder maxAge concode_elem_sep Netty4CorsConfig build concode_elem_sep Netty4CorsConfigBuilder forAnyOrigin concode_elem_sep Netty4CorsConfigBuilder disable concode_elem_sep Netty4CorsConfigBuilder forOrigin concode_elem_sep Netty4CorsConfigBuilder allowCredentials concode_elem_sep Netty4CorsConfigBuilder preflightResponseHeader concode_elem_sep Netty4CorsConfigBuilder preflightResponseHeader concode_elem_sep Netty4CorsConfigBuilder preflightResponseHeader concode_elem_sep Netty4CorsConfigBuilder shortCircuit
Netty4CorsConfigBuilder function ( final String ... arg0 ) { requestHeaders . addAll ( Arrays . asList ( arg0 ) ) ; return this ; }