public String getUserAgent() {
        return Objects.requireNonNullElse(userAgent, UNKNOWN);
    }
Gets user agent.

@return the user agent
api/cas-server-core-api-audit/src/main/java/org/apereo/inspektr/common/web/ClientInfo.java