public enum SslNegotiation extends java.lang.Enum<SslNegotiation>
Modifier and Type | Method and Description |
---|---|
static SslNegotiation |
of(java.lang.String mode) |
java.lang.String |
value() |
static SslNegotiation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SslNegotiation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslNegotiation POSTGRES
public static final SslNegotiation DIRECT
public static SslNegotiation[] values()
for (SslNegotiation c : SslNegotiation.values()) System.out.println(c);
public static SslNegotiation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SslNegotiation of(java.lang.String mode)
public java.lang.String value()
Copyright © 2025 PostgreSQL Global Development Group. All rights reserved.