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

com.visenze.visearch.internal.http.ViSearchHttpClient Maven / Gradle / Ivy

There is a newer version: 1.14.5
Show newest version
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);


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy