Enum SslEvent

java.lang.Object
java.lang.Enum<SslEvent>
org.apache.mina.filter.ssl.SslEvent
All Implemented Interfaces:
Serializable, Comparable<SslEvent>, FilterEvent

public enum SslEvent extends Enum<SslEvent> implements FilterEvent
A SSL event sent by SslFilter when the session is secured or not secured.
  • Enum Constant Details

    • SECURED

      public static final SslEvent SECURED
    • UNSECURED

      public static final SslEvent UNSECURED
  • Constructor Details

    • SslEvent

      private SslEvent()
  • Method Details

    • values

      public static SslEvent[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SslEvent 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