@UriParams public class FacebookConfiguration extends Object implements Cloneable
Constructor and Description |
---|
FacebookConfiguration() |
Modifier and Type | Method and Description |
---|---|
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)
Facebook4J API client URL
|
void |
setClientVersion(String clientVersion)
Facebook4J client API version
|
void |
setDebugEnabled(Boolean debugEnabled)
Enables deubg output.
|
void |
setGzipEnabled(Boolean gzipEnabled)
Use Facebook GZIP encoding
|
void |
setHttpConnectionTimeout(Integer httpConnectionTimeout)
Http connection timeout in milliseconds
|
void |
setHttpDefaultMaxPerRoute(Integer httpDefaultMaxPerRoute)
HTTP maximum connections per route
|
void |
setHttpMaxTotalConnections(Integer httpMaxTotalConnections)
HTTP maximum total connections
|
void |
setHttpProxyHost(String httpProxyHost)
HTTP proxy server host name
|
void |
setHttpProxyPassword(String httpProxyPassword)
HTTP proxy server password
|
void |
setHttpProxyPort(Integer httpProxyPort)
HTTP proxy server port
|
void |
setHttpProxyUser(String httpProxyUser)
HTTP proxy server user name
|
void |
setHttpReadTimeout(Integer httpReadTimeout)
Http read timeout in milliseconds
|
void |
setHttpRetryCount(Integer httpRetryCount)
Number of HTTP retries
|
void |
setHttpRetryIntervalSeconds(Integer httpRetryIntervalSeconds)
HTTP retry interval in seconds
|
void |
setHttpStreamingReadTimeout(Integer httpStreamingReadTimeout)
HTTP streaming read timeout in milliseconds
|
void |
setJsonStoreEnabled(Boolean jsonStoreEnabled)
If set to true, raw JSON forms will be stored in DataObjectFactory
|
void |
setMbeanEnabled(Boolean mbeanEnabled)
If set to true, Facebook4J mbean will be registerd
|
void |
setOAuthAccessToken(String oAuthAccessToken)
The user access token
|
void |
setOAuthAccessTokenURL(String oAuthAccessTokenURL)
OAuth access token URL
|
void |
setOAuthAppId(String oAuthAppId)
The application Id
|
void |
setOAuthAppSecret(String oAuthAppSecret)
The application Secret
|
void |
setOAuthAuthorizationURL(String oAuthAuthorizationURL)
OAuth authorization URL
|
void |
setOAuthPermissions(String oAuthPermissions)
Default OAuth permissions.
|
void |
setPrettyDebugEnabled(Boolean prettyDebugEnabled)
Prettify JSON debug output if set to true
|
void |
setRestBaseURL(String restBaseURL)
API base URL
|
void |
setUseSSL(Boolean useSSL)
Use SSL
|
void |
setVideoBaseURL(String videoBaseURL)
Video API base URL
|
void |
validate() |
public facebook4j.conf.Configuration getConfiguration()
public facebook4j.Facebook getFacebook() throws facebook4j.FacebookException
Facebook
instance. If needed, creates one from configuration.Facebook
instancefacebook4j.FacebookException
public FacebookConfiguration copy() throws CloneNotSupportedException
CloneNotSupportedException
public String getOAuthAccessToken()
public void setOAuthAccessToken(String oAuthAccessToken)
public String getOAuthAccessTokenURL()
public void setOAuthAccessTokenURL(String oAuthAccessTokenURL)
public String getOAuthAppId()
public void setOAuthAppId(String oAuthAppId)
public String getOAuthAppSecret()
public void setOAuthAppSecret(String oAuthAppSecret)
public String getOAuthAuthorizationURL()
public void setOAuthAuthorizationURL(String oAuthAuthorizationURL)
public String getClientURL()
public void setClientURL(String clientURL)
public String getClientVersion()
public void setClientVersion(String clientVersion)
public Boolean getDebugEnabled()
public void setDebugEnabled(Boolean debugEnabled)
public Boolean getGzipEnabled()
public void setGzipEnabled(Boolean gzipEnabled)
public Integer getHttpConnectionTimeout()
public void setHttpConnectionTimeout(Integer httpConnectionTimeout)
public Integer getHttpDefaultMaxPerRoute()
public void setHttpDefaultMaxPerRoute(Integer httpDefaultMaxPerRoute)
public Integer getHttpMaxTotalConnections()
public void setHttpMaxTotalConnections(Integer httpMaxTotalConnections)
public String getHttpProxyHost()
public void setHttpProxyHost(String httpProxyHost)
public String getHttpProxyPassword()
public void setHttpProxyPassword(String httpProxyPassword)
public Integer getHttpProxyPort()
public void setHttpProxyPort(Integer httpProxyPort)
public String getHttpProxyUser()
public void setHttpProxyUser(String httpProxyUser)
public Integer getHttpReadTimeout()
public void setHttpReadTimeout(Integer httpReadTimeout)
public Integer getHttpRetryCount()
public void setHttpRetryCount(Integer httpRetryCount)
public Integer getHttpRetryIntervalSeconds()
public void setHttpRetryIntervalSeconds(Integer httpRetryIntervalSeconds)
public Integer getHttpStreamingReadTimeout()
public void setHttpStreamingReadTimeout(Integer httpStreamingReadTimeout)
public Boolean getJsonStoreEnabled()
public void setJsonStoreEnabled(Boolean jsonStoreEnabled)
public Boolean getMbeanEnabled()
public void setMbeanEnabled(Boolean mbeanEnabled)
public String getOAuthPermissions()
public void setOAuthPermissions(String oAuthPermissions)
public Boolean getPrettyDebugEnabled()
public void setPrettyDebugEnabled(Boolean prettyDebugEnabled)
public String getRestBaseURL()
public void setRestBaseURL(String restBaseURL)
public Boolean getUseSSL()
public void setUseSSL(Boolean useSSL)
public String getVideoBaseURL()
public void setVideoBaseURL(String videoBaseURL)
public void validate()
Apache Camel