public enum CrossOriginType extends Enum<CrossOriginType>
Java class for CrossOriginType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CrossOriginType"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="anonymous"/> <enumeration value="use-credentials"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ANONYMOUS |
USE_CREDENTIALS |
Modifier and Type | Method and Description |
---|---|
static CrossOriginType |
fromValue(String v) |
String |
value() |
static CrossOriginType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrossOriginType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrossOriginType ANONYMOUS
public static final CrossOriginType USE_CREDENTIALS
public static CrossOriginType[] values()
for (CrossOriginType c : CrossOriginType.values()) System.out.println(c);
public static CrossOriginType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static CrossOriginType fromValue(String v)
Copyright © 2021 Project Mixer2. All rights reserved.