use of io.gravitee.common.util.MultiValueMap in project gravitee-gateway by gravitee-io.
the class VertxHttpServerRequest method parameters.
@Override
public MultiValueMap<String, String> parameters() {
if (queryParameters == null) {
MultiMap parameters = httpServerRequest.params();
queryParameters = new LinkedMultiValueMap<>(parameters.size());
for (Map.Entry<String, String> param : httpServerRequest.params()) {
queryParameters.put(param.getKey(), parameters.getAll(param.getKey()));
}
}
return queryParameters;
}
Aggregations