com.branch.cos.auth.CredentialsEndpointProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of branch_cos_api Show documentation
Show all versions of branch_cos_api Show documentation
branch java sdk for qcloud cos
The newest version!
package com.branch.cos.auth;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.HashMap;
import java.util.Map;
public abstract class CredentialsEndpointProvider {
public abstract URI getCredentialsEndpoint() throws URISyntaxException, IOException;
public CredentialsEndpointRetryPolicy getRetryPolicy() {
return CredentialsEndpointRetryPolicy.NO_RETRY_POLICY;
}
public Map getHeaders() {
return new HashMap<>();
}
}