Package eu.webtoolkit.jwt
Enum Class UserAgent
- All Implemented Interfaces:
Serializable
,Comparable<UserAgent>
,Constable
An enumeration type for specific user agent.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionArora.Bot user agent.Chrome 0.Chrome 1.Chrome 2.Chrome 3.Chrome 4.Chrome 5 or later.Edge.Firefox 2 or older.Firefox 3.0.Firefox 3.1.Firefox 3.1b.Firefox 3.5.Firefox 3.6.Firefox 4.0.Firefox 5.0 or later.Gecko.Internet Explorer 10.Internet Explorer 11.Internet Explorer 6.Internet Explorer 7.Internet Explorer 8.Internet Explorer 9.Internet Explorer Mobile, 5 or older.Konqueror.Mobile WebKit.Mobile WebKit Android.Mobile WebKit iPhone/iPad.Opera.Opera 10 or later.Safari 2 or older.Safari 3.Safari 4 or later.Unknown user agent.WebKit. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Returns the numerical representation of this enum.static UserAgent
Returns the enum constant of this class with the specified name.static UserAgent[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Unknown
Unknown user agent. -
IEMobile
Internet Explorer Mobile, 5 or older. -
IE6
Internet Explorer 6. -
IE7
Internet Explorer 7. -
IE8
Internet Explorer 8. -
IE9
Internet Explorer 9. -
IE10
Internet Explorer 10. -
IE11
Internet Explorer 11. -
Edge
Edge. -
Opera
Opera. -
Opera10
Opera 10 or later. -
WebKit
WebKit. -
Safari
Safari 2 or older. -
Safari3
Safari 3. -
Safari4
Safari 4 or later. -
Chrome0
Chrome 0. -
Chrome1
Chrome 1. -
Chrome2
Chrome 2. -
Chrome3
Chrome 3. -
Chrome4
Chrome 4. -
Chrome5
Chrome 5 or later. -
Arora
Arora. -
MobileWebKit
Mobile WebKit. -
MobileWebKitiPhone
Mobile WebKit iPhone/iPad. -
MobileWebKitAndroid
Mobile WebKit Android. -
Konqueror
Konqueror. -
Gecko
Gecko. -
Firefox
Firefox 2 or older. -
Firefox3_0
Firefox 3.0. -
Firefox3_1
Firefox 3.1. -
Firefox3_1b
Firefox 3.1b. -
Firefox3_5
Firefox 3.5. -
Firefox3_6
Firefox 3.6. -
Firefox4_0
Firefox 4.0. -
Firefox5_0
Firefox 5.0 or later. -
BotAgent
Bot user agent.
-
-
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
-
getValue
public int getValue()Returns the numerical representation of this enum.
-