Class CorsRuleConfigurationBuilder
java.lang.Object
org.infinispan.rest.configuration.CorsRuleConfigurationBuilder
- All Implemented Interfaces:
Builder<CorsRuleConfiguration>
- Since:
- 10.0
-
Method Summary
Modifier and TypeMethodDescriptionallowCredentials(boolean allow) allowHeaders(String[] values) allowMethods(String[] values) allowOrigins(String[] values) create()Create the configuration beanexposeHeaders(String[] values) maxAge(long value) read(CorsRuleConfiguration template, Combine combine) Reads the configuration from an already created configuration bean into this builder.
-
Method Details
-
attributes
- Specified by:
attributesin interfaceBuilder<CorsRuleConfiguration>
-
name
-
allowCredentials
-
maxAge
-
allowOrigins
-
allowMethods
-
allowHeaders
-
exposeHeaders
-
create
Description copied from interface:BuilderCreate the configuration bean- Specified by:
createin interfaceBuilder<CorsRuleConfiguration>- Returns:
-
read
Description copied from interface:BuilderReads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
readin interfaceBuilder<CorsRuleConfiguration>- 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.
-