com.ksyun.api.sdk.client.IKscClient Maven / Gradle / Ivy
package com.ksyun.api.sdk.client;
import java.util.List;
import com.ksc.KscWebServiceRequest;
import com.ksyun.api.sdk.auth.Credential;
import com.ksyun.api.sdk.auth.ISigner;
import com.ksyun.api.sdk.exceptions.ClientException;
import com.ksyun.api.sdk.exceptions.ServerException;
import com.ksyun.api.sdk.http.FormatType;
import com.ksyun.api.sdk.regions.Endpoint;
import com.ksyun.api.sdk.reponse.HttpResponse;
import com.ksyun.api.sdk.reponse.KscResponse;
import com.ksyun.api.sdk.request.KscRequest;
public interface IKscClient {
public HttpResponse doAction(KscRequest request)
throws ClientException, ServerException ;
public HttpResponse doAction(KscRequest request,
boolean autoRetry, int maxRetryCounts) throws ClientException, ServerException ;
public HttpResponse doAction(KscRequest request, IClientProfile profile)
throws ClientException, ServerException;
public HttpResponse doAction(KscRequest request, String regionId,
Credential credential) throws ClientException, ServerException;
public T getKscResponse(KscRequest request)
throws ServerException, ClientException;
public T getKscResponse(KscWebServiceRequest request) throws Exception;
public T getKscResponse(KscRequest request,
boolean autoRetry, int maxRetryCounts) throws ServerException, ClientException;
public T getKscResponse(KscRequest request,
IClientProfile profile) throws ServerException, ClientException;
public T getKscResponse(KscRequest request,
String regionId, Credential credential) throws ServerException, ClientException;
public HttpResponse doAction(KscRequest request, boolean autoRetry,
int maxRetryCounts, IClientProfile profile) throws ClientException, ServerException;
public HttpResponse doAction(KscRequest request,
boolean autoRetry, int maxRetryNumber,
String regionId, Credential credential,
ISigner signer, FormatType format,
List endpoints) throws ClientException, ServerException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy