code: public static List<String> params(String name){
          String[] values = RequestContext.getHttpRequest().getParameterValues(name);
          List<String>valuesList = null;
          if (name.equals("id")) {
              if(values.length == 1){
                  valuesList = Collections.singletonList(values[0]);
              }else if(values.length > 1){
                  valuesList = asList(values);
              }
          } else {
              valuesList = values == null? new ArrayList<String>() : list(values);
              String userSegment = RequestContext.getRequestVo().getUserSegments().get(name);
              if(userSegment != null){
                  valuesList.add(userSegment);
              }
          }
          return valuesList;
      }
docs: Returns multiple request values for a name.
  
  @param name name of multiple values from request.
  @return multiple request values for a name.