Package org.apache.shenyu.common.config
Class ShenyuConfig.CrossFilterConfig.AllowedOriginConfig
- java.lang.Object
-
- org.apache.shenyu.common.config.ShenyuConfig.CrossFilterConfig.AllowedOriginConfig
-
- Enclosing class:
- ShenyuConfig.CrossFilterConfig
public static class ShenyuConfig.CrossFilterConfig.AllowedOriginConfig extends java.lang.Objectthe cors allowedOrigin config.
-
-
Constructor Summary
Constructors Constructor Description AllowedOriginConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDomain()Gets the domain.java.lang.StringgetOriginRegex()Gets the originRegex.java.util.Set<java.lang.String>getOrigins()Gets the prefixes.java.util.Set<java.lang.String>getPrefixes()Gets the prefixes.java.lang.StringgetSpacer()Gets the spacer.voidsetDomain(java.lang.String domain)Sets the enabled.voidsetOriginRegex(java.lang.String originRegex)Sets the originRegex.voidsetOrigins(java.util.Set<java.lang.String> origins)Sets the origins.voidsetPrefixes(java.util.Set<java.lang.String> prefixes)Sets the enabled.voidsetSpacer(java.lang.String spacer)Sets the spacer.
-
-
-
Method Detail
-
getSpacer
public java.lang.String getSpacer()
Gets the spacer.- Returns:
- the value of spacer
-
setSpacer
public void setSpacer(java.lang.String spacer)
Sets the spacer.- Parameters:
spacer- spacer
-
getDomain
public java.lang.String getDomain()
Gets the domain.- Returns:
- the value of domain
-
setDomain
public void setDomain(java.lang.String domain)
Sets the enabled.- Parameters:
domain- domain
-
getPrefixes
public java.util.Set<java.lang.String> getPrefixes()
Gets the prefixes.- Returns:
- the value of prefixes
-
setPrefixes
public void setPrefixes(java.util.Set<java.lang.String> prefixes)
Sets the enabled.- Parameters:
prefixes- prefixes
-
getOrigins
public java.util.Set<java.lang.String> getOrigins()
Gets the prefixes.- Returns:
- the value of prefixes
-
setOrigins
public void setOrigins(java.util.Set<java.lang.String> origins)
Sets the origins.- Parameters:
origins- origins
-
getOriginRegex
public java.lang.String getOriginRegex()
Gets the originRegex.- Returns:
- the value of originRegex
-
setOriginRegex
public void setOriginRegex(java.lang.String originRegex)
Sets the originRegex.- Parameters:
originRegex- originRegex
-
-