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

org.onetwo.common.http.URLFetch Maven / Gradle / Ivy

There is a newer version: 4.7.2
Show newest version
package org.onetwo.common.http;

import java.util.List;

public interface URLFetch {
	
	public HttpResponse fetch(HttpRequest request);
	public HttpResponse fetch(HttpRequest request, String method);
	public HttpResponse get(String url);
	public HttpResponse get(String url, String encode);
	public HttpResponse get(String url, boolean verify);
	public HttpResponse get(String url, boolean verify, Object...params);
	
	public HttpResponse post(String url, boolean verify, Object...values);
	public HttpResponse post(String url, List params);
	public HttpResponse post(String url, List params, boolean verify);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy