Enum Class AppContext

java.lang.Object
java.lang.Enum<AppContext>
org.eblocker.server.http.security.AppContext
All Implemented Interfaces:
Serializable, Comparable<AppContext>, java.lang.constant.Constable

public enum AppContext extends Enum<AppContext>
  • Enum Constant Details

    • PUBLIC

      public static final AppContext PUBLIC
    • CONSOLE

      public static final AppContext CONSOLE
    • ADMINCONSOLE

      public static final AppContext ADMINCONSOLE
    • ADVICE

      public static final AppContext ADVICE
    • CONTROLBAR

      public static final AppContext CONTROLBAR
    • SQUID_ERROR

      public static final AppContext SQUID_ERROR
    • DASHBOARD

      public static final AppContext DASHBOARD
    • ADMINDASHBOARD

      public static final AppContext ADMINDASHBOARD
    • SYSTEM

      public static final AppContext SYSTEM
  • Method Details

    • values

      public static AppContext[] 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 AppContext 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
    • isPasswordRequired

      public boolean isPasswordRequired()
    • isValidContextFor

      public boolean isValidContextFor(String route)
    • defaultValue

      public static AppContext defaultValue()
    • nullSafeValue

      public static AppContext nullSafeValue(String acx)