com.mozu.api.MozuClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mozu-api-core Show documentation
Show all versions of mozu-api-core Show documentation
Mozu Java is a SDK that enables you to create robust Java applications that integrate with the Mozu platform
package com.mozu.api;
import java.io.InputStream;
import java.util.Map;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.mozu.api.ApiContext;
import com.mozu.api.MozuUrl;
public interface MozuClient {
public void setContext(ApiContext apiContext);
public void setBaseAddress(String baseAddress);
public void addHeader(String header, String value);
public void setVerb(String verb);
public void setResourceUrl(MozuUrl resourceUrl);
public void setBody(TBody body) throws JsonProcessingException;
public void setBody(InputStream body) throws JsonProcessingException;
public void setBody(String body);
public String getStringResult() throws Exception;
public TResult getResult() throws Exception;
public void executeRequest() throws Exception;
public TResult executePostRequest(Object bodyObject, String resourceUrl, Map headers) throws ApiException;
public TResult executePutRequest(Object bodyObject, String resourceUrl, Map headers) throws ApiException;
public void executeDeleteRequest(String resourceUrl, Map headers) throws ApiException;
public void cleanupHttpConnection () throws Exception;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy