UserAgentDetectionBrowser.javaUserAgentBrowser enum values.This is a package-private (default visibility) class within org.projectforge.web.session. It serves as a simple struct-like container with three fields:
identity (String) — A substring or regex pattern matched against the User-Agent header to identify a browser. For example, "Firefox" or "MSIE".versionSearch (String) — A pattern to extract the browser version number from the User-Agent string (e.g., "Firefox/" with the version following after).browser (UserAgentBrowser) — The enum value this detection rule maps to.Instances of this class are created and assembled in UserAgentDetection (the actual detection engine) which iterates over a list of these detection rules, testing each against the incoming User-Agent header. The first match wins. The class has no methods — it is purely a data transfer object between the detection rules configuration and the matching loop.
868d6abb7 2025 -> 2026 63081666f Source file headers: 2024-> 2025. b6092df09 Copyright 2023 -> 2024 ab45d51fa Copyright 2001-2022 -> 2001-2023. 5f7ef41b8 Copyright 2021 -> 2022 ceb63e8a1 Source code header: (C) 2001-2021. 7c79f1922 Copyright of source header -> 2020. dd5ca38ac CopyRight of all java file-header updated or created. 9ebb88522 Initial commit