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

cn.hyperchain.sdk.provider.HttpProvider Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package cn.hyperchain.sdk.provider;

import cn.hyperchain.sdk.exception.RequestException;

import java.util.Map;

/**
 * HttpProvider interface.
 * @author tomkk
 * @version 0.0.1
 */
public interface HttpProvider {
    String post(String body, Map headers) throws RequestException;

    PStatus getStatus();

    void setStatus(PStatus status);

    String getUrl();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy