public final class UserAgent extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static UserAgent |
DEFAULT |
static String |
DEFAULT_NAME |
static UserAgent |
GECKO
e. g.
|
static UserAgent |
GECKO_1_8
e. g.
|
static UserAgent |
GECKO_1_9
e. g.
|
static UserAgent |
GECKO_2_0
e. g.
|
static UserAgent |
GECKO_23_0
e. g.
|
static UserAgent |
MOZILLA
Deprecated.
no longer supported, since Tobago 1.5
|
static UserAgent |
MOZILLA_4_7
Deprecated.
no longer supported, since Tobago 1.5
|
static UserAgent |
MOZILLA_5_0
Deprecated.
no longer supported, since Tobago 1.5
|
static UserAgent |
MOZILLA_5_0_R1_6
Deprecated.
no longer supported, since Tobago 1.5
|
static UserAgent |
MSIE |
static UserAgent |
MSIE_10_0 |
static UserAgent |
MSIE_11_0 |
static UserAgent |
MSIE_5_0
Deprecated.
no longer supported, since Tobago 1.5
|
static UserAgent |
MSIE_5_0_MAC
Deprecated.
no longer supported, since Tobago 1.5
|
static UserAgent |
MSIE_5_5
Deprecated.
no longer supported, since Tobago 1.5
|
static UserAgent |
MSIE_6_0 |
static UserAgent |
MSIE_6_0_MAC
Deprecated.
no longer supported, since Tobago 1.5
|
static UserAgent |
MSIE_7_0 |
static UserAgent |
MSIE_7_0_COMPAT |
static UserAgent |
MSIE_7_O
Deprecated.
no longer supported, since Tobago 1.5. Misspelled. Use
MSIE_7_0 |
static UserAgent |
MSIE_8_0 |
static UserAgent |
MSIE_9_0 |
static UserAgent |
OPERA
Deprecated.
no longer supported, since Tobago 1.5. Please use
PRESTO . |
static UserAgent |
OPERA_5_0
Deprecated.
no longer supported, since Tobago 1.5. Please use
PRESTO . |
static UserAgent |
OPERA_6_0
Deprecated.
no longer supported, since Tobago 1.5. Please use
PRESTO . |
static UserAgent |
OPERA_7_11
Deprecated.
no longer supported, since Tobago 1.5. Please use
PRESTO . |
static UserAgent |
PRESTO
e. g.
|
static UserAgent |
WEBKIT
e. g.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getCspHeaders() |
String[] |
getCspReportOnlyHeaders() |
List<String> |
getFallbackList() |
static UserAgent |
getInstance(String header) |
static UserAgent |
getInstanceForId(String id)
Deprecated.
no longer supported, since Tobago 1.5
|
boolean |
hasCapability(Capability capability) |
boolean |
isMozilla()
Deprecated.
no longer supported, since Tobago 1.5
|
boolean |
isMsie() |
boolean |
isMsie6() |
String |
toString()
Deprecated.
don't use toString() functionality, but for logging!
|
public static final String DEFAULT_NAME
public static final UserAgent DEFAULT
public static final UserAgent MSIE
@Deprecated public static final UserAgent MSIE_5_0
@Deprecated public static final UserAgent MSIE_5_5
public static final UserAgent MSIE_6_0
public static final UserAgent MSIE_7_0
public static final UserAgent MSIE_7_0_COMPAT
@Deprecated public static final UserAgent MSIE_7_O
MSIE_7_0
public static final UserAgent MSIE_8_0
public static final UserAgent MSIE_9_0
public static final UserAgent MSIE_10_0
public static final UserAgent MSIE_11_0
@Deprecated public static final UserAgent MSIE_5_0_MAC
@Deprecated public static final UserAgent MSIE_6_0_MAC
public static final UserAgent PRESTO
public static final UserAgent OPERA
PRESTO
.@Deprecated public static final UserAgent OPERA_5_0
PRESTO
.@Deprecated public static final UserAgent OPERA_6_0
PRESTO
.@Deprecated public static final UserAgent OPERA_7_11
PRESTO
.@Deprecated public static final UserAgent MOZILLA
@Deprecated public static final UserAgent MOZILLA_4_7
@Deprecated public static final UserAgent MOZILLA_5_0
@Deprecated public static final UserAgent MOZILLA_5_0_R1_6
public static final UserAgent GECKO
public static final UserAgent GECKO_1_8
public static final UserAgent GECKO_1_9
public static final UserAgent GECKO_2_0
public static final UserAgent GECKO_23_0
public static final UserAgent WEBKIT
public boolean hasCapability(Capability capability)
public boolean isMsie()
public boolean isMsie6()
@Deprecated public boolean isMozilla()
public String[] getCspHeaders()
public String[] getCspReportOnlyHeaders()
@Deprecated public static UserAgent getInstanceForId(String id)
@Deprecated public String toString()
Copyright © 2002-2016 The Apache Software Foundation. All Rights Reserved.