com.qcloud.cos.auth.CredentialsEndpointProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cos_api-bundle Show documentation
Show all versions of cos_api-bundle Show documentation
A single bundled dependency that includes all service and dependent JARs with third-party libraries
relocated to different namespaces.
package com.qcloud.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<>();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy