Interface UserAgentParser


public interface UserAgentParser
Parses user-agent strings into structured information.
  • Method Summary

    Modifier and Type
    Method
    Description
    parseUserAgentInfo(String agentString, boolean extractDeviceType)
    Parses the given user-agent string and returns a Details record.
  • Method Details

    • parseUserAgentInfo

      Details parseUserAgentInfo(String agentString, boolean extractDeviceType)
      Parses the given user-agent string and returns a Details record.
      Parameters:
      agentString - the user-agent header value to parse
      extractDeviceType - whether to extract the device type
      Returns:
      the parsed details