public class CORSConfigurationEntryResponse extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals
Java class for CORSConfigurationEntryResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CORSConfigurationEntryResponse"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="allowOrigin" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="allowMethods" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="allowHeaders" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="allowMaxAge" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="allowOtherHeader" type="{http://xml.vidispine.com/schema/vidispine}KeyValuePairType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
CORSConfigurationEntryResponse.PropInfo |
Modifier and Type | Field and Description |
---|---|
protected List<String> |
allowHeaders |
protected Integer |
allowMaxAge |
protected List<String> |
allowMethods |
protected String |
allowOrigin |
protected List<KeyValuePairType> |
allowOtherHeader |
Constructor and Description |
---|
CORSConfigurationEntryResponse() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
List<String> |
getAllowHeaders()
Gets the value of the allowHeaders property.
|
Integer |
getAllowMaxAge()
Gets the value of the allowMaxAge property.
|
List<String> |
getAllowMethods()
Gets the value of the allowMethods property.
|
String |
getAllowOrigin()
Gets the value of the allowOrigin property.
|
List<KeyValuePairType> |
getAllowOtherHeader()
Gets the value of the allowOtherHeader property.
|
boolean |
isSetAllowHeaders() |
boolean |
isSetAllowMaxAge() |
boolean |
isSetAllowMethods() |
boolean |
isSetAllowOrigin() |
boolean |
isSetAllowOtherHeader() |
void |
setAllowMaxAge(Integer value)
Sets the value of the allowMaxAge property.
|
void |
setAllowOrigin(String value)
Sets the value of the allowOrigin property.
|
void |
unsetAllowHeaders() |
void |
unsetAllowMethods() |
void |
unsetAllowOtherHeader() |
CORSConfigurationEntryResponse |
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) |
CORSConfigurationEntryResponse |
withAllowHeaders(Collection<String> values) |
CORSConfigurationEntryResponse |
withAllowHeaders(String... values) |
CORSConfigurationEntryResponse |
withAllowMaxAge(Integer value) |
CORSConfigurationEntryResponse |
withAllowMethods(Collection<String> values) |
CORSConfigurationEntryResponse |
withAllowMethods(String... values) |
CORSConfigurationEntryResponse |
withAllowOrigin(String value) |
CORSConfigurationEntryResponse |
withAllowOtherHeader(Collection<KeyValuePairType> values) |
CORSConfigurationEntryResponse |
withAllowOtherHeader(KeyValuePairType... values) |
protected String allowOrigin
protected Integer allowMaxAge
protected List<KeyValuePairType> allowOtherHeader
public String getAllowOrigin()
String
public void setAllowOrigin(String value)
value
- allowed object is
String
public boolean isSetAllowOrigin()
public List<String> getAllowMethods()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the allowMethods property.
For example, to add a new item, do as follows:
getAllowMethods().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetAllowMethods()
public void unsetAllowMethods()
public List<String> getAllowHeaders()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the allowHeaders property.
For example, to add a new item, do as follows:
getAllowHeaders().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetAllowHeaders()
public void unsetAllowHeaders()
public Integer getAllowMaxAge()
Integer
public void setAllowMaxAge(Integer value)
value
- allowed object is
Integer
public boolean isSetAllowMaxAge()
public List<KeyValuePairType> getAllowOtherHeader()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the allowOtherHeader property.
For example, to add a new item, do as follows:
getAllowOtherHeader().add(newItem);
Objects of the following type(s) are allowed in the list
KeyValuePairType
public boolean isSetAllowOtherHeader()
public void unsetAllowOtherHeader()
public Object copyTo(Object target)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public CORSConfigurationEntryResponse withAllowOrigin(String value)
public CORSConfigurationEntryResponse withAllowMethods(String... values)
public CORSConfigurationEntryResponse withAllowMethods(Collection<String> values)
public CORSConfigurationEntryResponse withAllowHeaders(String... values)
public CORSConfigurationEntryResponse withAllowHeaders(Collection<String> values)
public CORSConfigurationEntryResponse withAllowMaxAge(Integer value)
public CORSConfigurationEntryResponse withAllowOtherHeader(KeyValuePairType... values)
public CORSConfigurationEntryResponse withAllowOtherHeader(Collection<KeyValuePairType> values)
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals
in interface org.jvnet.jaxb2_commons.lang.Equals
public CORSConfigurationEntryResponse visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2018. All rights reserved.