com.groiss.gui
Class UserAgent
java.lang.Object
com.groiss.gui.UserAgent
public class UserAgent
- extends java.lang.Object
- Author:
- Andriy Vyedyeneyev
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserAgent
public UserAgent()
UserAgent
public UserAgent(javax.servlet.http.HttpServletRequest req)
isMobileClient
public boolean isMobileClient()
setMobileClient
public void setMobileClient(boolean mobileClient)
isSafari
public boolean isSafari()
isIE
public boolean isIE()
isFirefox
public boolean isFirefox()
getUserAgent
public static UserAgent getUserAgent(javax.servlet.http.HttpServletRequest req)
- Parameters:
req
-
- Returns:
- the user agent the request is coming from
getVersion
public float getVersion()
@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.