public class CorsRule extends Object
Constructor and Description |
---|
CorsRule() |
Modifier and Type | Method and Description |
---|---|
String |
getAllowHeaders()
Returns the allowHeaders.
|
String |
getAllowMethods()
Returns the allowMethods.
|
String |
getExposeHeaders()
Returns the exposeHeaders.
|
String |
getId()
Returns the id.
|
int |
getMaxAge()
Returns the maxAge.
|
String |
getOriginPattern()
Returns the originPattern.
|
String |
getPathPattern()
Returns the pathPattern.
|
int |
getPosition()
Returns the position.
|
boolean |
isAllowCredentials()
Returns the allowCredentials.
|
CorsRule |
setAllowCredentials(boolean allowCredentials)
Sets the allowCredentials.
|
CorsRule |
setAllowHeaders(String allowHeaders)
Sets the allowHeaders.
|
CorsRule |
setAllowMethods(String allowMethods)
Sets the allowMethods.
|
CorsRule |
setExposeHeaders(String exposeHeaders)
Sets the exposeHeaders.
|
CorsRule |
setMaxAge(int maxAge)
Sets the maxAge.
|
CorsRule |
setOriginPattern(String originPattern)
Sets the originPattern.
|
CorsRule |
setPathPattern(String pathPattern)
Sets the pathPattern.
|
CorsRule |
setPosition(int position)
Sets the position.
|
String |
toString() |
public String getPathPattern()
public CorsRule setPathPattern(String pathPattern)
pathPattern
- the pathPattern value to set.CorsRule
for chaining.public String getOriginPattern()
public CorsRule setOriginPattern(String originPattern)
originPattern
- the originPattern value to set.CorsRule
for chaining.public String getAllowMethods()
public CorsRule setAllowMethods(String allowMethods)
allowMethods
- the allowMethods value to set.CorsRule
for chaining.public String getExposeHeaders()
public CorsRule setExposeHeaders(String exposeHeaders)
exposeHeaders
- the exposeHeaders value to set.CorsRule
for chaining.public int getMaxAge()
public CorsRule setMaxAge(int maxAge)
maxAge
- the maxAge value to set.CorsRule
for chaining.public String getAllowHeaders()
public CorsRule setAllowHeaders(String allowHeaders)
allowHeaders
- the allowHeaders value to set.CorsRule
for chaining.public boolean isAllowCredentials()
public CorsRule setAllowCredentials(boolean allowCredentials)
allowCredentials
- the allowCredentials value to set.CorsRule
for chaining.public int getPosition()
public CorsRule setPosition(int position)
position
- the position value to set.CorsRule
for chaining.public String getId()
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.