TLS@Deprecated public enum TLS extends Enum<TLS>
TLS protocol versions.| Enum Constant and Description |
|---|
V_1_0
Deprecated.
|
V_1_1
Deprecated.
|
V_1_2
Deprecated.
|
V_1_3
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
String |
ident
Deprecated.
|
org.apache.hc.core5.http.ProtocolVersion |
version
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
greaterEquals(org.apache.hc.core5.http.ProtocolVersion protocolVersion)
Deprecated.
|
boolean |
isComparable(org.apache.hc.core5.http.ProtocolVersion protocolVersion)
Deprecated.
|
boolean |
isSame(org.apache.hc.core5.http.ProtocolVersion protocolVersion)
Deprecated.
|
boolean |
lessEquals(org.apache.hc.core5.http.ProtocolVersion protocolVersion)
Deprecated.
|
static org.apache.hc.core5.http.ProtocolVersion |
parse(String s)
Deprecated.
|
static TLS |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static TLS[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TLS V_1_0
public static final TLS V_1_1
public static final TLS V_1_2
public static final TLS V_1_3
public final String ident
public final org.apache.hc.core5.http.ProtocolVersion version
public static TLS[] values()
for (TLS c : TLS.values()) System.out.println(c);
public static TLS 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 boolean isSame(org.apache.hc.core5.http.ProtocolVersion protocolVersion)
public boolean isComparable(org.apache.hc.core5.http.ProtocolVersion protocolVersion)
public boolean greaterEquals(org.apache.hc.core5.http.ProtocolVersion protocolVersion)
public boolean lessEquals(org.apache.hc.core5.http.ProtocolVersion protocolVersion)
public static org.apache.hc.core5.http.ProtocolVersion parse(String s) throws org.apache.hc.core5.http.ParseException
org.apache.hc.core5.http.ParseExceptionCopyright © 1999–2019 The Apache Software Foundation. All rights reserved.