Class CorsConfigurationBuilder
java.lang.Object
org.infinispan.rest.configuration.CorsConfigurationBuilder
- All Implemented Interfaces:
Builder<CorsConfiguration>
- Since:
- 10.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create the configuration beanread
(CorsConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.
-
Constructor Details
-
CorsConfigurationBuilder
public CorsConfigurationBuilder()
-
-
Method Details
-
attributes
- Specified by:
attributes
in interfaceBuilder<CorsConfiguration>
-
addNewRule
-
add
-
create
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<CorsConfiguration>
- Returns:
-
read
Description copied from interface:Builder
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
read
in interfaceBuilder<CorsConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.combine
- the way attributes and children of this instance and the template should be combined.
-