Enum ProxyHostProperties.ProxyForScheme
- java.lang.Object
-
- java.lang.Enum<ProxyHostProperties.ProxyForScheme>
-
- org.springframework.cloud.config.server.proxy.ProxyHostProperties.ProxyForScheme
-
- All Implemented Interfaces:
Serializable,Comparable<ProxyHostProperties.ProxyForScheme>
- Enclosing class:
- ProxyHostProperties
public static enum ProxyHostProperties.ProxyForScheme extends Enum<ProxyHostProperties.ProxyForScheme>
Proxy for a given scheme.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProxyHostProperties.ProxyForSchemeforLowerCaseName(String lowerCaseName)StringlowercaseName()static ProxyHostProperties.ProxyForSchemevalueOf(String name)Returns the enum constant of this type with the specified name.static ProxyHostProperties.ProxyForScheme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP
public static final ProxyHostProperties.ProxyForScheme HTTP
HTTP scheme.
-
HTTPS
public static final ProxyHostProperties.ProxyForScheme HTTPS
HTTPS scheme.
-
-
Method Detail
-
values
public static ProxyHostProperties.ProxyForScheme[] 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 (ProxyHostProperties.ProxyForScheme c : ProxyHostProperties.ProxyForScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProxyHostProperties.ProxyForScheme valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forLowerCaseName
public static ProxyHostProperties.ProxyForScheme forLowerCaseName(String lowerCaseName)
-
lowercaseName
public String lowercaseName()
-
-