
net.anthavio.httl.transport.HttpUrlConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hatatitla Show documentation
Show all versions of hatatitla Show documentation
Compact but tweakable REST client library you have been dreaming of
The newest version!
package net.anthavio.httl.transport;
import java.net.URL;
import net.anthavio.httl.TransportBuilder.BaseTransBuilder;
/**
* -Dhttp.keepAlive=true
* -Dhttp.maxConnections=200
* -Dsun.net.http.errorstream.enableBuffering=true
*
* @author martin.vanek
*
*/
public class HttpUrlConfig extends BaseTransBuilder {
public HttpUrlConfig(String url) {
super(url);
}
public HttpUrlConfig(URL url) {
super(url);
}
@Override
public HttpUrlTransport build() {
return new HttpUrlTransport(this);
}
@Override
public HttpUrlConfig getSelf() {
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy