- java.lang.Object
- 
- java.lang.Enum<ClientAuth>
- 
- swim.io.ClientAuth
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<ClientAuth>,- Debug
 
 public enum ClientAuth extends Enum<ClientAuth> implements Debug Transport-layer security client authentication configuration.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.static Form<ClientAuth>form()Returns the structuralFormofClientAuth.static ClientAuthfrom(String name)Returns theClientAuthwith the given case-insensitivename, one of none, want, or need.static ClientAuthvalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
NONEpublic static final ClientAuth NONE Client authentication disabled.
 - 
WANTpublic static final ClientAuth WANT Client authentication requested.
 - 
NEEDpublic static final ClientAuth NEED Client authentication required.
 
- 
 - 
Method Detail- 
valuespublic static ClientAuth[] 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 (ClientAuth c : ClientAuth.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ClientAuth 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 name
- NullPointerException- if the argument is null
 
 - 
debugpublic <T> Output<T> debug(Output<T> output) Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
 - 
frompublic static ClientAuth from(String name) Returns theClientAuthwith the given case-insensitivename, one of none, want, or need.- Throws:
- IllegalArgumentException- if- nameis not a valid- ClientAuthtoken.
 
 - 
form@Kind public static Form<ClientAuth> form() Returns the structuralFormofClientAuth.
 
- 
 
-