
com.lindar.wellrested.HeadersSupport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of well-rested-client Show documentation
Show all versions of well-rested-client Show documentation
A nice and easy java http client wrapper built on top of apache httpclient
package com.lindar.wellrested;
import com.lindar.wellrested.util.WellRestedUtil;
import org.apache.http.Header;
import java.util.List;
import java.util.Map;
interface HeadersSupport {
RequestResource headers(List headers);
default RequestResource headers(Map headers) {
return headers(WellRestedUtil.buildHeaders(headers));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy