org.apache.camel.component.facebook.config
Class FacebookConfiguration

java.lang.Object
  extended by 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.


Constructor Summary
FacebookConfiguration()
           
 
Method Summary
 FacebookConfiguration copy()
           
 String getClientURL()
           
 String getClientVersion()
           
 facebook4j.conf.Configuration getConfiguration()
           
 Boolean getDebugEnabled()
           
 facebook4j.Facebook getFacebook()
          Returns Facebook instance.
 Boolean getGzipEnabled()
           
 Integer getHttpConnectionTimeout()
           
 Integer getHttpDefaultMaxPerRoute()
           
 Integer getHttpMaxTotalConnections()
           
 String getHttpProxyHost()
           
 String getHttpProxyPassword()
           
 Integer getHttpProxyPort()
           
 String getHttpProxyUser()
           
 Integer getHttpReadTimeout()
           
 Integer getHttpRetryCount()
           
 Integer getHttpRetryIntervalSeconds()
           
 Integer getHttpStreamingReadTimeout()
           
 Boolean getJsonStoreEnabled()
           
 Boolean getMbeanEnabled()
           
 String getOAuthAccessToken()
           
 String getOAuthAccessTokenURL()
           
 String getOAuthAppId()
           
 String getOAuthAppSecret()
           
 String getOAuthAuthorizationURL()
           
 String getOAuthPermissions()
           
 Boolean getPrettyDebugEnabled()
           
 String getRestBaseURL()
           
 Boolean getUseSSL()
           
 String getVideoBaseURL()
           
 void setClientURL(String clientURL)
           
 void setClientVersion(String clientVersion)
           
 void setDebugEnabled(Boolean debugEnabled)
           
 void setGzipEnabled(Boolean gzipEnabled)
           
 void setHttpConnectionTimeout(Integer httpConnectionTimeout)
           
 void setHttpDefaultMaxPerRoute(Integer httpDefaultMaxPerRoute)
           
 void setHttpMaxTotalConnections(Integer httpMaxTotalConnections)
           
 void setHttpProxyHost(String httpProxyHost)
           
 void setHttpProxyPassword(String httpProxyPassword)
           
 void setHttpProxyPort(Integer httpProxyPort)
           
 void setHttpProxyUser(String httpProxyUser)
           
 void setHttpReadTimeout(Integer httpReadTimeout)
           
 void setHttpRetryCount(Integer httpRetryCount)
           
 void setHttpRetryIntervalSeconds(Integer httpRetryIntervalSeconds)
           
 void setHttpStreamingReadTimeout(Integer httpStreamingReadTimeout)
           
 void setJsonStoreEnabled(Boolean jsonStoreEnabled)
           
 void setMbeanEnabled(Boolean mbeanEnabled)
           
 void setOAuthAccessToken(String oAuthAccessToken)
           
 void setOAuthAccessTokenURL(String oAuthAccessTokenURL)
           
 void setOAuthAppId(String oAuthAppId)
           
 void setOAuthAppSecret(String oAuthAppSecret)
           
 void setOAuthAuthorizationURL(String oAuthAuthorizationURL)
           
 void setOAuthPermissions(String oAuthPermissions)
           
 void setPrettyDebugEnabled(Boolean prettyDebugEnabled)
           
 void setRestBaseURL(String restBaseURL)
           
 void setUseSSL(Boolean useSSL)
           
 void setVideoBaseURL(String videoBaseURL)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FacebookConfiguration

public FacebookConfiguration()
Method Detail

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