static MappedCrossOriginConfig.Builder |
MappedCrossOriginConfig.builder() |
Returns a new builder for creating a CrossOriginConfig.Mapped instance.
|
static MappedCrossOriginConfig.Builder |
MappedCrossOriginConfig.builder(Config config) |
Creates a new Mapped.Builder instance using the provided configuration.
|
MappedCrossOriginConfig.Builder |
MappedCrossOriginConfig.Builder.config(Config corsConfig) |
Applies data in the provided config node.
|
MappedCrossOriginConfig.Builder |
MappedCrossOriginConfig.Builder.enabled(boolean enabled) |
Sets whether the resulting Mapped cross-origin config should be enabled.
|
MappedCrossOriginConfig.Builder |
MappedCrossOriginConfig.Builder.name(String name) |
Sets the name for the CORS-enabled component or app (primarily for logging).
|
MappedCrossOriginConfig.Builder |
MappedCrossOriginConfig.Builder.put(String path,
CrossOriginConfig.Builder builder) |
Adds a new builder to the collection, associating it with the given path.
|