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) Reads the configuration from an already created configuration bean into this builder.
-
Method Details
-
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.
-