public class OSSClient extends Object
Constructor and Description |
---|
OSSClient() |
Modifier and Type | Method and Description |
---|---|
static boolean |
detectIfProxyExist() |
static AuthenticationType |
getAuthenticationType() |
static ClientConfiguration |
getClientConfiguration()
全局相关设置
|
static File |
getDataDir() |
static OSSFederationToken |
getFederationToken() |
static AccessControlList |
getGlobalDefaultACL() |
static String |
getGlobalDefaultHostId() |
static TokenGenerator |
getGlobalDefaultTokenGenerator() |
static long |
getStandardEpochTimeInSecond() |
static void |
setApplicationContext(Context ctx) |
static void |
setAuthenticationType(AuthenticationType authenticationType) |
static void |
setClientConfiguration(ClientConfiguration conf) |
static void |
setCustomStandardTimeWithEpochSec(long currentEpochTimeInSec) |
static void |
setGlobalDefaultACL(AccessControlList globalDefaultACL) |
static void |
setGlobalDefaultHostId(String hostId) |
static void |
setGlobalDefaultStsTokenGetter(StsTokenGetter stsTokenGetter) |
static void |
setGlobalDefaultTokenGenerator(TokenGenerator tokenGen) |
public static void setGlobalDefaultTokenGenerator(TokenGenerator tokenGen)
public static void setGlobalDefaultStsTokenGetter(StsTokenGetter stsTokenGetter)
public static void setAuthenticationType(AuthenticationType authenticationType)
public static AuthenticationType getAuthenticationType()
public static OSSFederationToken getFederationToken()
public static TokenGenerator getGlobalDefaultTokenGenerator()
public static void setGlobalDefaultACL(AccessControlList globalDefaultACL)
public static AccessControlList getGlobalDefaultACL()
public static void setCustomStandardTimeWithEpochSec(long currentEpochTimeInSec)
public static long getStandardEpochTimeInSecond()
public static void setGlobalDefaultHostId(String hostId)
public static String getGlobalDefaultHostId()
public static void setApplicationContext(Context ctx)
public static boolean detectIfProxyExist()
public static File getDataDir()
public static ClientConfiguration getClientConfiguration()
public static void setClientConfiguration(ClientConfiguration conf)
Copyright © 2015. All rights reserved.