Package nl.basjes.parse.useragent
Interface Analyzer
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
AnalyzerPreHeater
- All Known Implementing Classes:
AbstractUserAgentAnalyzer
,AbstractUserAgentAnalyzerDirect
,UserAgentAnalyzer
,UserAgentAnalyzerDirect
,UserAgentAnalyzerTester
,UserAgentStringMatchMakerTester
-
Method Summary
Modifier and TypeMethodDescriptiondefault UserAgent.ImmutableUserAgent
Parses and analyzes the provided useragent stringdefault UserAgent.ImmutableUserAgent
Parses and analyzes the provided useragent string without looking at ClientHints
-
Method Details
-
parse
Parses and analyzes the provided useragent string without looking at ClientHints- Parameters:
requestHeaders
- The map of all relevant request headers. This must include atleast the User-Agent.- Returns:
- An ImmutableUserAgent record that holds all of the results.
-
parse
Parses and analyzes the provided useragent string- Parameters:
userAgentString
- The User-Agent String that is to be parsed and analyzed- Returns:
- An ImmutableUserAgent record that holds all of the results.
-