@ Nullable public static EHttpVersion getHttpVersion ( @ Nonnull final HttpServletRequest aHttpRequest ) { ValueEnforcer . notNull ( aHttpRequest , "HttpRequest" ) ; final String sProtocol = aHttpRequest . getProtocol ( ) ; return EHttpVersion . getFromNameOrNull ( sProtocol ) ; }
Get the HTTP version associated with the given HTTP request