public class BrowserSnifferUtil
extends Object
Constructor and Description |
---|
BrowserSnifferUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
acceptsGzip(javax.servlet.http.HttpServletRequest request) |
static String |
getBrowserId(javax.servlet.http.HttpServletRequest request) |
static BrowserMetadata |
getBrowserMetadata(javax.servlet.http.HttpServletRequest request) |
static BrowserSniffer |
getBrowserSniffer() |
static float |
getMajorVersion(javax.servlet.http.HttpServletRequest request) |
static String |
getRevision(javax.servlet.http.HttpServletRequest request) |
static String |
getVersion(javax.servlet.http.HttpServletRequest request) |
static boolean |
isAir(javax.servlet.http.HttpServletRequest request) |
static boolean |
isAndroid(javax.servlet.http.HttpServletRequest request) |
static boolean |
isChrome(javax.servlet.http.HttpServletRequest request) |
static boolean |
isEdge(javax.servlet.http.HttpServletRequest request) |
static boolean |
isFirefox(javax.servlet.http.HttpServletRequest request) |
static boolean |
isGecko(javax.servlet.http.HttpServletRequest request) |
static boolean |
isIe(javax.servlet.http.HttpServletRequest request) |
static boolean |
isIeOnWin32(javax.servlet.http.HttpServletRequest request) |
static boolean |
isIeOnWin64(javax.servlet.http.HttpServletRequest request) |
static boolean |
isIphone(javax.servlet.http.HttpServletRequest request) |
static boolean |
isLinux(javax.servlet.http.HttpServletRequest request) |
static boolean |
isMac(javax.servlet.http.HttpServletRequest request) |
static boolean |
isMobile(javax.servlet.http.HttpServletRequest request) |
static boolean |
isMozilla(javax.servlet.http.HttpServletRequest request) |
static boolean |
isOpera(javax.servlet.http.HttpServletRequest request) |
static boolean |
isRtf(javax.servlet.http.HttpServletRequest request) |
static boolean |
isSafari(javax.servlet.http.HttpServletRequest request) |
static boolean |
isSun(javax.servlet.http.HttpServletRequest request) |
static boolean |
isWebKit(javax.servlet.http.HttpServletRequest request) |
static boolean |
isWindows(javax.servlet.http.HttpServletRequest request) |
void |
setBrowserSniffer(BrowserSniffer browserSniffer) |
public static boolean acceptsGzip(javax.servlet.http.HttpServletRequest request)
public static String getBrowserId(javax.servlet.http.HttpServletRequest request)
public static BrowserMetadata getBrowserMetadata(javax.servlet.http.HttpServletRequest request)
public static BrowserSniffer getBrowserSniffer()
public static float getMajorVersion(javax.servlet.http.HttpServletRequest request)
public static String getRevision(javax.servlet.http.HttpServletRequest request)
public static String getVersion(javax.servlet.http.HttpServletRequest request)
public static boolean isAir(javax.servlet.http.HttpServletRequest request)
public static boolean isAndroid(javax.servlet.http.HttpServletRequest request)
public static boolean isChrome(javax.servlet.http.HttpServletRequest request)
public static boolean isEdge(javax.servlet.http.HttpServletRequest request)
public static boolean isFirefox(javax.servlet.http.HttpServletRequest request)
public static boolean isGecko(javax.servlet.http.HttpServletRequest request)
public static boolean isIe(javax.servlet.http.HttpServletRequest request)
public static boolean isIeOnWin32(javax.servlet.http.HttpServletRequest request)
public static boolean isIeOnWin64(javax.servlet.http.HttpServletRequest request)
public static boolean isIphone(javax.servlet.http.HttpServletRequest request)
public static boolean isLinux(javax.servlet.http.HttpServletRequest request)
public static boolean isMac(javax.servlet.http.HttpServletRequest request)
public static boolean isMobile(javax.servlet.http.HttpServletRequest request)
public static boolean isMozilla(javax.servlet.http.HttpServletRequest request)
public static boolean isOpera(javax.servlet.http.HttpServletRequest request)
public static boolean isRtf(javax.servlet.http.HttpServletRequest request)
public static boolean isSafari(javax.servlet.http.HttpServletRequest request)
public static boolean isSun(javax.servlet.http.HttpServletRequest request)
public static boolean isWebKit(javax.servlet.http.HttpServletRequest request)
public static boolean isWindows(javax.servlet.http.HttpServletRequest request)
public void setBrowserSniffer(BrowserSniffer browserSniffer)