All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qcloud.cos.auth.CredentialsEndpointProvider Maven / Gradle / Ivy

Go to download

A single bundled dependency that includes all service and dependent JARs with third-party libraries relocated to different namespaces.

There is a newer version: 5.6.228
Show newest version
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