Package org.beangle.http.agent

Examples of org.beangle.http.agent.Useragent


   * @param request
   * @return
   */
  public static Useragent getUserAgent(HttpServletRequest request) {
    String head = request.getHeader("USER-AGENT");
    return new Useragent(getIpAddr(request), Browser.parse(head), Os.parse(head));
  }
View Full Code Here

TOP

Related Classes of org.beangle.http.agent.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.