Package org.briarproject.onionwrapper
Enum CircumventionProvider.BridgeType
- java.lang.Object
-
- java.lang.Enum<CircumventionProvider.BridgeType>
-
- org.briarproject.onionwrapper.CircumventionProvider.BridgeType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CircumventionProvider.BridgeType>
- Enclosing interface:
- CircumventionProvider
public static enum CircumventionProvider.BridgeType extends java.lang.Enum<CircumventionProvider.BridgeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_OBFS4MEEKNON_DEFAULT_OBFS4SNOWFLAKEVANILLA
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CircumventionProvider.BridgeTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CircumventionProvider.BridgeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_OBFS4
public static final CircumventionProvider.BridgeType DEFAULT_OBFS4
-
NON_DEFAULT_OBFS4
public static final CircumventionProvider.BridgeType NON_DEFAULT_OBFS4
-
VANILLA
public static final CircumventionProvider.BridgeType VANILLA
-
MEEK
public static final CircumventionProvider.BridgeType MEEK
-
SNOWFLAKE
public static final CircumventionProvider.BridgeType SNOWFLAKE
-
-
Method Detail
-
values
public static CircumventionProvider.BridgeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CircumventionProvider.BridgeType c : CircumventionProvider.BridgeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CircumventionProvider.BridgeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-