CorsConfigBuilder
instead.@Deprecated public static class CorsConfig.Builder extends Object
Constructor and Description |
---|
Builder()
Deprecated.
Use
CorsConfigBuilder instead. |
Builder(String... origins)
Deprecated.
Use
CorsConfigBuilder instead. |
@Deprecated public Builder(String... origins)
CorsConfigBuilder
instead.@Deprecated public Builder()
CorsConfigBuilder
instead.@Deprecated public CorsConfig.Builder allowNullOrigin()
CorsConfigBuilder.allowNullOrigin()
instead.@Deprecated public CorsConfig.Builder disable()
CorsConfigBuilder.disable()
instead.@Deprecated public CorsConfig.Builder exposeHeaders(String... headers)
CorsConfigBuilder.exposeHeaders(String...)
instead.@Deprecated public CorsConfig.Builder allowCredentials()
CorsConfigBuilder.allowCredentials()
instead.@Deprecated public CorsConfig.Builder maxAge(long max)
CorsConfigBuilder.maxAge(long)
instead.@Deprecated public CorsConfig.Builder allowedRequestMethods(HttpMethod... methods)
CorsConfigBuilder.allowedRequestMethods(HttpMethod...)
instead.@Deprecated public CorsConfig.Builder allowedRequestHeaders(String... headers)
CorsConfigBuilder.allowedRequestHeaders(String...)
instead.@Deprecated public CorsConfig.Builder preflightResponseHeader(CharSequence name, Object... values)
CorsConfigBuilder.preflightResponseHeader(CharSequence, Object...)
instead.@Deprecated public <T> CorsConfig.Builder preflightResponseHeader(CharSequence name, Iterable<T> value)
CorsConfigBuilder.preflightResponseHeader(CharSequence, Iterable)
instead.@Deprecated public <T> CorsConfig.Builder preflightResponseHeader(String name, Callable<T> valueGenerator)
CorsConfigBuilder.preflightResponseHeader(CharSequence, Callable)
instead.@Deprecated public CorsConfig.Builder noPreflightResponseHeaders()
CorsConfigBuilder.noPreflightResponseHeaders()
instead.@Deprecated public CorsConfig build()
CorsConfigBuilder.build()
instead.@Deprecated public CorsConfig.Builder shortCurcuit()
CorsConfigBuilder.shortCircuit()
instead.Copyright © 2008–2017 The Netty Project. All rights reserved.