com.visenze.visearch.internal.http.ViSearchHttpClient Maven / Gradle / Ivy
package com.visenze.visearch.internal.http;
import com.google.common.collect.Multimap;
import org.apache.http.auth.UsernamePasswordCredentials;
import java.io.File;
import java.io.InputStream;
public interface ViSearchHttpClient {
UsernamePasswordCredentials getCredentials();
ViSearchHttpResponse get(String url, Multimap params);
ViSearchHttpResponse post(String url, Multimap params);
ViSearchHttpResponse postImage(String url, Multimap params, File file);
ViSearchHttpResponse postImage(String url, Multimap params, InputStream inputStream, String filename);
ViSearchHttpResponse postImFeature(String url, Multimap params, String imFeature , String transId);
}