
com.github.chen0040.magento.services.BasicHttpComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-magento-client Show documentation
Show all versions of java-magento-client Show documentation
Java client that communicate with magento site in Java
package com.github.chen0040.magento.services;
import com.github.chen0040.magento.utils.HttpClient;
import java.util.Map;
/**
* Created by xschen on 4/7/2017.
*/
public class BasicHttpComponent implements HttpComponent {
@Override
public String post(String url, String body, Map headers){
return HttpClient.post(url, body, headers);
}
@Override public String put(String url, String body, Map headers) {
return HttpClient.put(url, body, headers);
}
@Override public String delete(String url, Map headers) {
return HttpClient.delete(url, headers);
}
@Override public String get(String uri, Map headers) {
return HttpClient.get(uri, headers);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy