Enum Class UserAgent

java.lang.Object
java.lang.Enum<UserAgent>
eu.webtoolkit.jwt.UserAgent
All Implemented Interfaces:
Serializable, Comparable<UserAgent>, Constable

public enum UserAgent extends Enum<UserAgent>
An enumeration type for specific user agent.
  • Enum Constant Details

    • Unknown

      public static final UserAgent Unknown
      Unknown user agent.
    • IEMobile

      public static final UserAgent IEMobile
      Internet Explorer Mobile, 5 or older.
    • IE6

      public static final UserAgent IE6
      Internet Explorer 6.
    • IE7

      public static final UserAgent IE7
      Internet Explorer 7.
    • IE8

      public static final UserAgent IE8
      Internet Explorer 8.
    • IE9

      public static final UserAgent IE9
      Internet Explorer 9.
    • IE10

      public static final UserAgent IE10
      Internet Explorer 10.
    • IE11

      public static final UserAgent IE11
      Internet Explorer 11.
    • Edge

      public static final UserAgent Edge
      Edge.
    • Opera

      public static final UserAgent Opera
      Opera.
    • Opera10

      public static final UserAgent Opera10
      Opera 10 or later.
    • WebKit

      public static final UserAgent WebKit
      WebKit.
    • Safari

      public static final UserAgent Safari
      Safari 2 or older.
    • Safari3

      public static final UserAgent Safari3
      Safari 3.
    • Safari4

      public static final UserAgent Safari4
      Safari 4 or later.
    • Chrome0

      public static final UserAgent Chrome0
      Chrome 0.
    • Chrome1

      public static final UserAgent Chrome1
      Chrome 1.
    • Chrome2

      public static final UserAgent Chrome2
      Chrome 2.
    • Chrome3

      public static final UserAgent Chrome3
      Chrome 3.
    • Chrome4

      public static final UserAgent Chrome4
      Chrome 4.
    • Chrome5

      public static final UserAgent Chrome5
      Chrome 5 or later.
    • Arora

      public static final UserAgent Arora
      Arora.
    • MobileWebKit

      public static final UserAgent MobileWebKit
      Mobile WebKit.
    • MobileWebKitiPhone

      public static final UserAgent MobileWebKitiPhone
      Mobile WebKit iPhone/iPad.
    • MobileWebKitAndroid

      public static final UserAgent MobileWebKitAndroid
      Mobile WebKit Android.
    • Konqueror

      public static final UserAgent Konqueror
      Konqueror.
    • Gecko

      public static final UserAgent Gecko
      Gecko.
    • Firefox

      public static final UserAgent Firefox
      Firefox 2 or older.
    • Firefox3_0

      public static final UserAgent Firefox3_0
      Firefox 3.0.
    • Firefox3_1

      public static final UserAgent Firefox3_1
      Firefox 3.1.
    • Firefox3_1b

      public static final UserAgent Firefox3_1b
      Firefox 3.1b.
    • Firefox3_5

      public static final UserAgent Firefox3_5
      Firefox 3.5.
    • Firefox3_6

      public static final UserAgent Firefox3_6
      Firefox 3.6.
    • Firefox4_0

      public static final UserAgent Firefox4_0
      Firefox 4.0.
    • Firefox5_0

      public static final UserAgent Firefox5_0
      Firefox 5.0 or later.
    • BotAgent

      public static final UserAgent BotAgent
      Bot user agent.
  • Method Details

    • values

      public static UserAgent[] 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 UserAgent 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
    • getValue

      public int getValue()
      Returns the numerical representation of this enum.