@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class CredentialBasedAccessTokenProvider extends AccessTokenProvider
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
OAUTH_CREDENTIAL_KEY |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getAccessToken()
Obtain the access token that should be added to http connection's header.
|
abstract String |
getCredential() |
void |
setConf(Configuration conf)
Set the conf.
|
getConfpublic static final String OAUTH_CREDENTIAL_KEY
public abstract String getCredential()
public void setConf(Configuration conf)
AccessTokenProvidersetConf インタフェース内 ConfigurablesetConf クラス内 AccessTokenProviderconf - New configuration.public String getAccessToken() throws IOException
AccessTokenProvidergetAccessToken クラス内 AccessTokenProviderIOExceptionCopyright © 2016 Apache Software Foundation. All rights reserved.