org.codehaus.httpcache4j.uri.QueryParam Maven / Gradle / Ivy
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();
}
}