facebook4j.conf
Class ConfigurationBase
java.lang.Object
facebook4j.conf.ConfigurationBase
- All Implemented Interfaces:
- AuthorizationConfiguration, Configuration, facebook4j.internal.http.HttpClientConfiguration, facebook4j.internal.http.HttpClientWrapperConfiguration, Serializable
- Direct Known Subclasses:
- PropertyConfiguration
public class ConfigurationBase
- extends Object
- implements Configuration, Serializable
Configuration base class with default settings.
- Author:
- Yusuke Yamamoto - yusuke at mac.com, Ryuji Yamashita - roundrop at gmail.com
- See Also:
- Serialized Form
DALVIK
public static final String DALVIK
- See Also:
- Constant Field Values
GAE
public static final String GAE
- See Also:
- Constant Field Values
isDalvik
public final boolean isDalvik()
- Specified by:
isDalvik
in interface Configuration
isGAE
public boolean isGAE()
- Specified by:
isGAE
in interface Configuration
isDebugEnabled
public final boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface Configuration
getUserAgent
public final String getUserAgent()
- Specified by:
getUserAgent
in interface Configuration
isPrettyDebugEnabled
public boolean isPrettyDebugEnabled()
- Specified by:
isPrettyDebugEnabled
in interface facebook4j.internal.http.HttpClientConfiguration
isGZIPEnabled
public boolean isGZIPEnabled()
- Specified by:
isGZIPEnabled
in interface facebook4j.internal.http.HttpClientConfiguration
getRequestHeaders
public Map<String,String> getRequestHeaders()
- Specified by:
getRequestHeaders
in interface facebook4j.internal.http.HttpClientWrapperConfiguration
- Returns:
- request headers
getHttpProxyHost
public final String getHttpProxyHost()
- Specified by:
getHttpProxyHost
in interface facebook4j.internal.http.HttpClientConfiguration
getHttpProxyUser
public final String getHttpProxyUser()
- Specified by:
getHttpProxyUser
in interface facebook4j.internal.http.HttpClientConfiguration
getHttpProxyPassword
public final String getHttpProxyPassword()
- Specified by:
getHttpProxyPassword
in interface facebook4j.internal.http.HttpClientConfiguration
getHttpProxyPort
public final int getHttpProxyPort()
- Specified by:
getHttpProxyPort
in interface facebook4j.internal.http.HttpClientConfiguration
getHttpConnectionTimeout
public final int getHttpConnectionTimeout()
- Specified by:
getHttpConnectionTimeout
in interface facebook4j.internal.http.HttpClientConfiguration
getHttpReadTimeout
public final int getHttpReadTimeout()
- Specified by:
getHttpReadTimeout
in interface facebook4j.internal.http.HttpClientConfiguration
getHttpStreamingReadTimeout
public int getHttpStreamingReadTimeout()
getHttpRetryCount
public final int getHttpRetryCount()
- Specified by:
getHttpRetryCount
in interface facebook4j.internal.http.HttpClientConfiguration
getHttpRetryIntervalSeconds
public final int getHttpRetryIntervalSeconds()
- Specified by:
getHttpRetryIntervalSeconds
in interface facebook4j.internal.http.HttpClientConfiguration
getHttpMaxTotalConnections
public final int getHttpMaxTotalConnections()
- Specified by:
getHttpMaxTotalConnections
in interface facebook4j.internal.http.HttpClientConfiguration
getHttpDefaultMaxPerRoute
public final int getHttpDefaultMaxPerRoute()
- Specified by:
getHttpDefaultMaxPerRoute
in interface facebook4j.internal.http.HttpClientConfiguration
getOAuthAppId
public final String getOAuthAppId()
- Specified by:
getOAuthAppId
in interface AuthorizationConfiguration
getOAuthAppSecret
public final String getOAuthAppSecret()
- Specified by:
getOAuthAppSecret
in interface AuthorizationConfiguration
getOAuthAccessToken
public String getOAuthAccessToken()
- Specified by:
getOAuthAccessToken
in interface AuthorizationConfiguration
getClientVersion
public final String getClientVersion()
- Specified by:
getClientVersion
in interface Configuration
getClientURL
public final String getClientURL()
- Specified by:
getClientURL
in interface Configuration
getRestBaseURL
public String getRestBaseURL()
- Specified by:
getRestBaseURL
in interface Configuration
getVideoBaseURL
public String getVideoBaseURL()
- Specified by:
getVideoBaseURL
in interface Configuration
getOAuthAuthorizationURL
public String getOAuthAuthorizationURL()
- Specified by:
getOAuthAuthorizationURL
in interface Configuration
getOAuthAccessTokenURL
public String getOAuthAccessTokenURL()
- Specified by:
getOAuthAccessTokenURL
in interface Configuration
getOAuthAccessTokenInfoURL
public String getOAuthAccessTokenInfoURL()
- Specified by:
getOAuthAccessTokenInfoURL
in interface Configuration
getOAuthDeviceTokenURL
public String getOAuthDeviceTokenURL()
- Specified by:
getOAuthDeviceTokenURL
in interface Configuration
isJSONStoreEnabled
public boolean isJSONStoreEnabled()
- Specified by:
isJSONStoreEnabled
in interface Configuration
isMBeanEnabled
public boolean isMBeanEnabled()
- Specified by:
isMBeanEnabled
in interface Configuration
getOAuthPermissions
public String getOAuthPermissions()
- Specified by:
getOAuthPermissions
in interface AuthorizationConfiguration
getOAuthCallbackURL
public String getOAuthCallbackURL()
- Specified by:
getOAuthCallbackURL
in interface AuthorizationConfiguration
setOAuthCallbackURL
public void setOAuthCallbackURL(String oAuthCallbackURL)
isAppSecretProofEnabled
public boolean isAppSecretProofEnabled()
- Specified by:
isAppSecretProofEnabled
in interface AuthorizationConfiguration
setAppSecretProofEnabled
public void setAppSecretProofEnabled(boolean enabled)
getAppSecretProofCacheSize
public int getAppSecretProofCacheSize()
- Specified by:
getAppSecretProofCacheSize
in interface AuthorizationConfiguration
setAppSecretProofCacheSize
public void setAppSecretProofCacheSize(int appSecretProofCacheSize)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2019. All rights reserved.