public static String getHttpServletRequestUserAgentFromRequestContext(final RequestContext context) {
        val request = getHttpServletRequestFromExternalWebflowContext(context);
        return getHttpServletRequestUserAgentFromRequestContext(request);
    }
Gets http servlet request user agent from request context.

@param context the context
@return the http servlet request user agent from request context
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java