code: private String multiParam(final MultivaluedMap<String, String> queryParams, final String... params) {
          for (final String param: params) {
              final String value = queryParams.getFirst(param);
              if (StringUtils.isNotBlank(value)) {
                  return value;
              }
          }
          return null;
      }
docs: Provides a facility to retrieve a param by more than one name. Different libraries
  and frameworks, expect (in some cases) different names for the same param.
  @param queryParams the parameters from the querystring
  @param params an array of one or more param names
  @return the value of the param, or null if not found