Package com.knife.web.browser

Examples of com.knife.web.browser.UserAgent


   *            - This is the standard in a browser header and can be found in
   *            the <code>HttpServletRequest</code> object.
   * @return <code>WebClient</code> object
   */
  public static WebClient detect(String userAgentString) {
    UserAgent ua = UserAgent.UNKNOWN;
    int major = 0;
    String ver = "<unknown>";

    if (!StringUtils.isEmpty(userAgentString)) {
      if (userAgentString.contains("Yahoo! Slurp")) {
View Full Code Here

TOP

Related Classes of com.knife.web.browser.UserAgent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.