code: private static Object readQueryString(String queryName,
                                            Class<?> paramType,
                                            Type genericType,
                                            Annotation[] paramAnns,
                                            Message m,
                                            String defaultValue,
                                            boolean decode) {
  
          MultivaluedMap<String, String> queryMap = new UriInfoImpl(m, null).getQueryParameters(decode);
  
          if ("".equals(queryName)) {
              return InjectionUtils.handleBean(paramType, paramAnns, queryMap, ParameterType.QUERY, m, false);
          }
          return InjectionUtils.createParameterObject(queryMap.get(queryName),
                                                      paramType,
                                                      genericType,
                                                      paramAnns,
                                                      defaultValue,
                                                      false,
                                                      ParameterType.QUERY, m);
      }
docs: TODO : multiple query string parsing, do it once