Java io.netty.handler.codec.http.cors CorsConfigBuilder fields, constructors, methods, implement or subclass

Example usage for Java io.netty.handler.codec.http.cors CorsConfigBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.netty.handler.codec.http.cors CorsConfigBuilder.

The text is from its open source code.

Field

Method

CorsConfigBuilderallowedRequestHeaders(final String... headers)
Specifies the if headers that should be returned in the CORS 'Access-Control-Allow-Headers' response header.
CorsConfigBuilderallowedRequestHeaders(final CharSequence... headers)
Specifies the if headers that should be returned in the CORS 'Access-Control-Allow-Headers' response header.
CorsConfigBuilderallowedRequestMethods(final HttpMethod... methods)
Specifies the allowed set of HTTP Request Methods that should be returned in the CORS 'Access-Control-Request-Method' response header.
CorsConfigbuild()
Builds a CorsConfig with settings specified by previous method calls.
CorsConfigBuilderforAnyOrigin()
Creates a Builder instance with it's origin set to '*'.
CorsConfigBuilderforOrigins(final String... origins)
Creates a CorsConfigBuilder instance with the specified origins.