Package org.elasticsearch.useragent.api
Interface UserAgentParser
public interface UserAgentParser
Parses user-agent strings into structured information.
-
Method Summary
Modifier and TypeMethodDescriptionparseUserAgentInfo(String agentString, boolean extractDeviceType) Parses the given user-agent string and returns aDetailsrecord.
-
Method Details
-
parseUserAgentInfo
Parses the given user-agent string and returns aDetailsrecord.- Parameters:
agentString- the user-agent header value to parseextractDeviceType- whether to extract the device type- Returns:
- the parsed details
-