public static enum SslContextFactory.ClientAuth extends Enum<SslContextFactory.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) |
String |
toString() |
static SslContextFactory.ClientAuth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslContextFactory.ClientAuth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslContextFactory.ClientAuth WANT
public static final SslContextFactory.ClientAuth REQUIRED
public static final SslContextFactory.ClientAuth NONE
public static SslContextFactory.ClientAuth[] values()
for (SslContextFactory.ClientAuth c : SslContextFactory.ClientAuth.values()) System.out.println(c);
public static SslContextFactory.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<SslContextFactory.ClientAuth>
public static boolean isValidClientAuthType(String type)
Copyright © 2020 Apache NiFi Project. All rights reserved.