code: public static Set<String> parseRequestScopes(final HttpServletRequest context) {
          val parameterValues = context.getParameter(OAuth20Constants.SCOPE);
          if (StringUtils.isBlank(parameterValues)) {
              return new HashSet<>(0);
          }
          return CollectionUtils.wrapSet(parameterValues.split(" "));
      }
docs: Parse request scopes set.
  
  @param context the context
  @return the set