@Immutable @LevelUpApi(contract=INTERNAL) public abstract class AbstractRequestFactory extends Object
Constructor and Description |
---|
AbstractRequestFactory(Context context,
AccessTokenRetriever retriever)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected AccessTokenRetriever |
getAccessTokenRetriever() |
protected Context |
getContext() |
public AbstractRequestFactory(Context context, AccessTokenRetriever retriever)
context
- Application contextretriever
- the implementation of AccessTokenRetriever
to use to get the
User
's
AccessToken
if needed.protected Context getContext()
protected AccessTokenRetriever getAccessTokenRetriever()
AccessTokenRetriever
to use to get the
User
's
AccessToken
if needed.