Netty4CorsConfigBuilder function ( ) { allowCredentials = true ; return this ; }
by default cookies are not included in cors requests , but this method will enable cookies to be added to cors requests . calling this method will set the cors ` access-control-allow-credentials ' response header to true . please note , that cookie support needs to be enabled on the client side as well . the client needs to opt-in to send cookies by calling : xhr.withcredentials = true ; the default value for ` withcredentials ' is false in which case no cookies are sent . setting this to true will included cookies in cross origin requests . 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 allowedRequestHeaders concode_elem_sep Netty4CorsConfigBuilder preflightResponseHeader concode_elem_sep Netty4CorsConfigBuilder preflightResponseHeader concode_elem_sep Netty4CorsConfigBuilder preflightResponseHeader concode_elem_sep Netty4CorsConfigBuilder shortCircuit