public enum ClientAuth extends Enum<ClientAuth>
| Modifier and Type | Field and Description |
|---|---|
private String |
description |
private String |
type |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
String |
getType() |
static boolean |
isValidClientAuthType(String type)
Returns
true if the provided type is a valid ClientAuth type. |
String |
toString() |
static ClientAuth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientAuth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientAuth WANT
public static final ClientAuth REQUIRED
public static final ClientAuth NONE
public static ClientAuth[] values()
for (ClientAuth c : ClientAuth.values()) System.out.println(c);
public static ClientAuth 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 getType()
public String getDescription()
public String toString()
toString in class Enum<ClientAuth>public static boolean isValidClientAuthType(String type)
true if the provided type is a valid ClientAuth type.type - the raw type stringCopyright © 2021 Apache NiFi Project. All rights reserved.