org.apache.camel.component.facebook.config
Class FacebookConfiguration
java.lang.Object
org.apache.camel.component.facebook.config.FacebookConfiguration
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- FacebookEndpointConfiguration
@UriParams
public class FacebookConfiguration
- extends Object
- implements Cloneable
Facebook component configuration.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacebookConfiguration
public FacebookConfiguration()
getConfiguration
public facebook4j.conf.Configuration getConfiguration()
getFacebook
public facebook4j.Facebook getFacebook()
throws facebook4j.FacebookException
- Returns
Facebook
instance. If needed, creates one from configuration.
- Returns:
Facebook
instance
- Throws:
facebook4j.FacebookException
copy
public FacebookConfiguration copy()
throws CloneNotSupportedException
- Throws:
CloneNotSupportedException
getOAuthAccessToken
public String getOAuthAccessToken()
setOAuthAccessToken
public void setOAuthAccessToken(String oAuthAccessToken)
getOAuthAccessTokenURL
public String getOAuthAccessTokenURL()
setOAuthAccessTokenURL
public void setOAuthAccessTokenURL(String oAuthAccessTokenURL)
getOAuthAppId
public String getOAuthAppId()
setOAuthAppId
public void setOAuthAppId(String oAuthAppId)
getOAuthAppSecret
public String getOAuthAppSecret()
setOAuthAppSecret
public void setOAuthAppSecret(String oAuthAppSecret)
getOAuthAuthorizationURL
public String getOAuthAuthorizationURL()
setOAuthAuthorizationURL
public void setOAuthAuthorizationURL(String oAuthAuthorizationURL)
getClientURL
public String getClientURL()
setClientURL
public void setClientURL(String clientURL)
getClientVersion
public String getClientVersion()
setClientVersion
public void setClientVersion(String clientVersion)
getDebugEnabled
public Boolean getDebugEnabled()
setDebugEnabled
public void setDebugEnabled(Boolean debugEnabled)
getGzipEnabled
public Boolean getGzipEnabled()
setGzipEnabled
public void setGzipEnabled(Boolean gzipEnabled)
getHttpConnectionTimeout
public Integer getHttpConnectionTimeout()
setHttpConnectionTimeout
public void setHttpConnectionTimeout(Integer httpConnectionTimeout)
getHttpDefaultMaxPerRoute
public Integer getHttpDefaultMaxPerRoute()
setHttpDefaultMaxPerRoute
public void setHttpDefaultMaxPerRoute(Integer httpDefaultMaxPerRoute)
getHttpMaxTotalConnections
public Integer getHttpMaxTotalConnections()
setHttpMaxTotalConnections
public void setHttpMaxTotalConnections(Integer httpMaxTotalConnections)
getHttpProxyHost
public String getHttpProxyHost()
setHttpProxyHost
public void setHttpProxyHost(String httpProxyHost)
getHttpProxyPassword
public String getHttpProxyPassword()
setHttpProxyPassword
public void setHttpProxyPassword(String httpProxyPassword)
getHttpProxyPort
public Integer getHttpProxyPort()
setHttpProxyPort
public void setHttpProxyPort(Integer httpProxyPort)
getHttpProxyUser
public String getHttpProxyUser()
setHttpProxyUser
public void setHttpProxyUser(String httpProxyUser)
getHttpReadTimeout
public Integer getHttpReadTimeout()
setHttpReadTimeout
public void setHttpReadTimeout(Integer httpReadTimeout)
getHttpRetryCount
public Integer getHttpRetryCount()
setHttpRetryCount
public void setHttpRetryCount(Integer httpRetryCount)
getHttpRetryIntervalSeconds
public Integer getHttpRetryIntervalSeconds()
setHttpRetryIntervalSeconds
public void setHttpRetryIntervalSeconds(Integer httpRetryIntervalSeconds)
getHttpStreamingReadTimeout
public Integer getHttpStreamingReadTimeout()
setHttpStreamingReadTimeout
public void setHttpStreamingReadTimeout(Integer httpStreamingReadTimeout)
getJsonStoreEnabled
public Boolean getJsonStoreEnabled()
setJsonStoreEnabled
public void setJsonStoreEnabled(Boolean jsonStoreEnabled)
getMbeanEnabled
public Boolean getMbeanEnabled()
setMbeanEnabled
public void setMbeanEnabled(Boolean mbeanEnabled)
getOAuthPermissions
public String getOAuthPermissions()
setOAuthPermissions
public void setOAuthPermissions(String oAuthPermissions)
getPrettyDebugEnabled
public Boolean getPrettyDebugEnabled()
setPrettyDebugEnabled
public void setPrettyDebugEnabled(Boolean prettyDebugEnabled)
getRestBaseURL
public String getRestBaseURL()
setRestBaseURL
public void setRestBaseURL(String restBaseURL)
getUseSSL
public Boolean getUseSSL()
setUseSSL
public void setUseSSL(Boolean useSSL)
getVideoBaseURL
public String getVideoBaseURL()
setVideoBaseURL
public void setVideoBaseURL(String videoBaseURL)
validate
public void validate()
Apache Camel