hr.com.vgv.verano.http.Kvp Maven / Gradle / Ivy
package hr.com.vgv.verano.http;
/**
* @author Vedran Vatavuk ([email protected])
* @version $Id$
* @since 1.0
*/
public interface Kvp {
String key();
String value();
class Simple implements Kvp {
private final Kvp kvp;
public Simple(final Kvp kvp) {
this.kvp = kvp;
}
@Override
public final String key() {
return this.kvp.key();
}
@Override
public final String value() {
return this.kvp.value();
}
}
}