- java.lang.Object
-
- io.netty5.handler.codec.http.cors.CorsConfig.Builder
-
- Enclosing class:
- CorsConfig
@Deprecated public static class CorsConfig.Builder extends Object
Deprecated.UseCorsConfigBuilder
instead.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Deprecated.UseCorsConfigBuilder
instead.Builder(String... origins)
Deprecated.UseCorsConfigBuilder
instead.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
@Deprecated public Builder(String... origins)
Deprecated.UseCorsConfigBuilder
instead.
-
Builder
@Deprecated public Builder()
Deprecated.UseCorsConfigBuilder
instead.
-
-
Method Detail
-
allowNullOrigin
@Deprecated public CorsConfig.Builder allowNullOrigin()
Deprecated.UseCorsConfigBuilder.allowNullOrigin()
instead.
-
disable
@Deprecated public CorsConfig.Builder disable()
Deprecated.UseCorsConfigBuilder.disable()
instead.
-
exposeHeaders
@Deprecated public CorsConfig.Builder exposeHeaders(String... headers)
Deprecated.UseCorsConfigBuilder.exposeHeaders(String...)
instead.
-
allowCredentials
@Deprecated public CorsConfig.Builder allowCredentials()
Deprecated.UseCorsConfigBuilder.allowCredentials()
instead.
-
maxAge
@Deprecated public CorsConfig.Builder maxAge(long max)
Deprecated.UseCorsConfigBuilder.maxAge(long)
instead.
-
allowedRequestMethods
@Deprecated public CorsConfig.Builder allowedRequestMethods(HttpMethod... methods)
Deprecated.
-
allowedRequestHeaders
@Deprecated public CorsConfig.Builder allowedRequestHeaders(String... headers)
Deprecated.UseCorsConfigBuilder.allowedRequestHeaders(String...)
instead.
-
preflightResponseHeader
@Deprecated public CorsConfig.Builder preflightResponseHeader(CharSequence name, Object... values)
Deprecated.
-
preflightResponseHeader
@Deprecated public <T> CorsConfig.Builder preflightResponseHeader(CharSequence name, Iterable<T> value)
Deprecated.
-
preflightResponseHeader
@Deprecated public <T> CorsConfig.Builder preflightResponseHeader(String name, Callable<T> valueGenerator)
Deprecated.
-
noPreflightResponseHeaders
@Deprecated public CorsConfig.Builder noPreflightResponseHeaders()
Deprecated.UseCorsConfigBuilder.noPreflightResponseHeaders()
instead.
-
build
@Deprecated public CorsConfig build()
Deprecated.UseCorsConfigBuilder.build()
instead.
-
shortCurcuit
@Deprecated public CorsConfig.Builder shortCurcuit()
Deprecated.UseCorsConfigBuilder.shortCircuit()
instead.
-
-