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