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

org.codehaus.httpcache4j.uri.QueryParam Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package org.codehaus.httpcache4j.uri;

/**
 * @author Erlend Hamnaberg
 */
public final class QueryParam {
    private String name;
    private String value;

    public QueryParam(String name, String value) {
        this.name = name;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public String getValue() {
        return value;
    }

    public boolean isEmpty() {
        return value == null || value.trim().isEmpty();
    }



}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy