Package ro.sync.ui.application.security
Enum Class ResponseType
- All Implemented Interfaces:
Serializable
,Comparable<ResponseType>
,Constable
The types of responses allowed when an external link wants to connect to the application.
- Since:
- 22
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ResponseType
Returns the enum constant of this class with the specified name.static ResponseType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TRUSTED
Trusted means the connection is accepted without user interaction/confirmation. -
UNKNOWN
This provider doesn't know or care about this host. The security engine will probably ask the user for confirmation. -
UNTRUSTED
The provider marks this host as untrusted and the connection is refused no matter what other providers say.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-