Enum Class ResponseType

java.lang.Object
java.lang.Enum<ResponseType>
ro.sync.ui.application.security.ResponseType
All Implemented Interfaces:
Serializable, Comparable<ResponseType>, Constable

@API(type=NOT_EXTENDABLE, src=PUBLIC) public enum ResponseType extends Enum<ResponseType>
The types of responses allowed when an external link wants to connect to the application.
Since:
22
  • Enum Constant Details

    • TRUSTED

      public static final ResponseType TRUSTED
      Trusted means the connection is accepted without user interaction/confirmation.
    • UNKNOWN

      public static final ResponseType UNKNOWN
      This provider doesn't know or care about this host. The security engine will probably ask the user for confirmation.
    • UNTRUSTED

      public static final ResponseType UNTRUSTED
      The provider marks this host as untrusted and the connection is refused no matter what other providers say.
  • Method Details

    • values

      public static ResponseType[] 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

      public static ResponseType valueOf(String name)
      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 name
      NullPointerException - if the argument is null