public class InstanceCredentialsUtils extends Object
限定符和类型 | 方法和说明 |
---|---|
static InstanceCredentialsUtils |
getInstance() |
String |
readResource(URI endpoint) |
String |
readResource(URI endpoint,
CredentialsEndpointRetryPolicy retryPolicy,
Map<String,String> headers) |
public static InstanceCredentialsUtils getInstance()
public String readResource(URI endpoint) throws IOException
IOException
public String readResource(URI endpoint, CredentialsEndpointRetryPolicy retryPolicy, Map<String,String> headers) throws IOException
IOException
Copyright © 2021. All rights reserved.