All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.rest.client.reactive.runtime.ClientQueryParamSupport Maven / Gradle / Ivy

There is a newer version: 3.17.0.CR1
Show newest version
package io.quarkus.rest.client.reactive.runtime;

import org.jboss.resteasy.reactive.client.impl.WebTargetImpl;

@SuppressWarnings("unused")
public final class ClientQueryParamSupport {

    private ClientQueryParamSupport() {
    }

    public static boolean isQueryParamPresent(WebTargetImpl webTarget, String name) {
        String query = webTarget.getUriBuilderUnsafe().getQuery();
        return query != null && query.contains(name + "=");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy