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

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

There is a newer version: 5.6.238.2
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