twitter4j.conf
Class PropertyConfiguration
java.lang.Object
twitter4j.conf.PropertyConfiguration
- All Implemented Interfaces:
- java.io.Serializable, AuthorizationConfiguration, Configuration, twitter4j.internal.http.HttpClientConfiguration, twitter4j.internal.http.HttpClientWrapperConfiguration
public final class PropertyConfiguration
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- Yusuke Yamamoto - yusuke at mac.com
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DEBUG
public static final java.lang.String DEBUG
- See Also:
- Constant Field Values
HTTP_USER_AGENT
public static final java.lang.String HTTP_USER_AGENT
- See Also:
- Constant Field Values
USER
public static final java.lang.String USER
- See Also:
- Constant Field Values
PASSWORD
public static final java.lang.String PASSWORD
- See Also:
- Constant Field Values
HTTP_USE_SSL
public static final java.lang.String HTTP_USE_SSL
- See Also:
- Constant Field Values
HTTP_PRETTY_DEBUG
public static final java.lang.String HTTP_PRETTY_DEBUG
- See Also:
- Constant Field Values
HTTP_GZIP
public static final java.lang.String HTTP_GZIP
- See Also:
- Constant Field Values
HTTP_PROXY_HOST
public static final java.lang.String HTTP_PROXY_HOST
- See Also:
- Constant Field Values
HTTP_PROXY_HOST_FALLBACK
public static final java.lang.String HTTP_PROXY_HOST_FALLBACK
- See Also:
- Constant Field Values
HTTP_PROXY_USER
public static final java.lang.String HTTP_PROXY_USER
- See Also:
- Constant Field Values
HTTP_PROXY_PASSWORD
public static final java.lang.String HTTP_PROXY_PASSWORD
- See Also:
- Constant Field Values
HTTP_PROXY_PORT
public static final java.lang.String HTTP_PROXY_PORT
- See Also:
- Constant Field Values
HTTP_PROXY_PORT_FALLBACK
public static final java.lang.String HTTP_PROXY_PORT_FALLBACK
- See Also:
- Constant Field Values
HTTP_CONNECTION_TIMEOUT
public static final java.lang.String HTTP_CONNECTION_TIMEOUT
- See Also:
- Constant Field Values
HTTP_READ_TIMEOUT
public static final java.lang.String HTTP_READ_TIMEOUT
- See Also:
- Constant Field Values
HTTP_STREAMING_READ_TIMEOUT
public static final java.lang.String HTTP_STREAMING_READ_TIMEOUT
- See Also:
- Constant Field Values
HTTP_RETRY_COUNT
public static final java.lang.String HTTP_RETRY_COUNT
- See Also:
- Constant Field Values
HTTP_RETRY_INTERVAL_SECS
public static final java.lang.String HTTP_RETRY_INTERVAL_SECS
- See Also:
- Constant Field Values
HTTP_MAX_TOTAL_CONNECTIONS
public static final java.lang.String HTTP_MAX_TOTAL_CONNECTIONS
- See Also:
- Constant Field Values
HTTP_DEFAULT_MAX_PER_ROUTE
public static final java.lang.String HTTP_DEFAULT_MAX_PER_ROUTE
- See Also:
- Constant Field Values
OAUTH_CONSUMER_KEY
public static final java.lang.String OAUTH_CONSUMER_KEY
- See Also:
- Constant Field Values
OAUTH_CONSUMER_SECRET
public static final java.lang.String OAUTH_CONSUMER_SECRET
- See Also:
- Constant Field Values
OAUTH_ACCESS_TOKEN
public static final java.lang.String OAUTH_ACCESS_TOKEN
- See Also:
- Constant Field Values
OAUTH_ACCESS_TOKEN_SECRET
public static final java.lang.String OAUTH_ACCESS_TOKEN_SECRET
- See Also:
- Constant Field Values
OAUTH_REQUEST_TOKEN_URL
public static final java.lang.String OAUTH_REQUEST_TOKEN_URL
- See Also:
- Constant Field Values
OAUTH_AUTHORIZATION_URL
public static final java.lang.String OAUTH_AUTHORIZATION_URL
- See Also:
- Constant Field Values
OAUTH_ACCESS_TOKEN_URL
public static final java.lang.String OAUTH_ACCESS_TOKEN_URL
- See Also:
- Constant Field Values
OAUTH_AUTHENTICATION_URL
public static final java.lang.String OAUTH_AUTHENTICATION_URL
- See Also:
- Constant Field Values
REST_BASE_URL
public static final java.lang.String REST_BASE_URL
- See Also:
- Constant Field Values
SEARCH_BASE_URL
public static final java.lang.String SEARCH_BASE_URL
- See Also:
- Constant Field Values
STREAM_BASE_URL
public static final java.lang.String STREAM_BASE_URL
- See Also:
- Constant Field Values
USER_STREAM_BASE_URL
public static final java.lang.String USER_STREAM_BASE_URL
- See Also:
- Constant Field Values
SITE_STREAM_BASE_URL
public static final java.lang.String SITE_STREAM_BASE_URL
- See Also:
- Constant Field Values
ASYNC_NUM_THREADS
public static final java.lang.String ASYNC_NUM_THREADS
- See Also:
- Constant Field Values
ASYNC_DISPATCHER_IMPL
public static final java.lang.String ASYNC_DISPATCHER_IMPL
- See Also:
- Constant Field Values
INCLUDE_RTS
public static final java.lang.String INCLUDE_RTS
- See Also:
- Constant Field Values
INCLUDE_ENTITIES
public static final java.lang.String INCLUDE_ENTITIES
- See Also:
- Constant Field Values
JSON_STORE_ENABLED
public static final java.lang.String JSON_STORE_ENABLED
- See Also:
- Constant Field Values
MBEAN_ENABLED
public static final java.lang.String MBEAN_ENABLED
- See Also:
- Constant Field Values
STREAM_USER_REPLIES_ALL
public static final java.lang.String STREAM_USER_REPLIES_ALL
- See Also:
- Constant Field Values
MEDIA_PROVIDER
public static final java.lang.String MEDIA_PROVIDER
- See Also:
- Constant Field Values
MEDIA_PROVIDER_API_KEY
public static final java.lang.String MEDIA_PROVIDER_API_KEY
- See Also:
- Constant Field Values
MEDIA_PROVIDER_PARAMETERS
public static final java.lang.String MEDIA_PROVIDER_PARAMETERS
- See Also:
- Constant Field Values
CLIENT_VERSION
public static final java.lang.String CLIENT_VERSION
- See Also:
- Constant Field Values
CLIENT_URL
public static final java.lang.String CLIENT_URL
- See Also:
- Constant Field Values
DALVIK
public static final java.lang.String DALVIK
- See Also:
- Constant Field Values
PropertyConfiguration
public PropertyConfiguration(java.io.InputStream is)
PropertyConfiguration
public PropertyConfiguration(java.util.Properties props)
PropertyConfiguration
public PropertyConfiguration(java.util.Properties props,
java.lang.String treePath)
isDalvik
public final boolean isDalvik()
- Specified by:
isDalvik
in interface Configuration
isDebugEnabled
public final boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interface Configuration
getUserAgent
public final java.lang.String getUserAgent()
- Specified by:
getUserAgent
in interface Configuration
getUser
public final java.lang.String getUser()
- Specified by:
getUser
in interface AuthorizationConfiguration
- Specified by:
getUser
in interface Configuration
getPassword
public final java.lang.String getPassword()
- Specified by:
getPassword
in interface AuthorizationConfiguration
- Specified by:
getPassword
in interface Configuration
isPrettyDebugEnabled
public boolean isPrettyDebugEnabled()
- Specified by:
isPrettyDebugEnabled
in interface twitter4j.internal.http.HttpClientConfiguration
isGZIPEnabled
public boolean isGZIPEnabled()
- Specified by:
isGZIPEnabled
in interface twitter4j.internal.http.HttpClientConfiguration
getRequestHeaders
public java.util.Map<java.lang.String,java.lang.String> getRequestHeaders()
- Specified by:
getRequestHeaders
in interface Configuration
- Specified by:
getRequestHeaders
in interface twitter4j.internal.http.HttpClientWrapperConfiguration
getHttpProxyHost
public final java.lang.String getHttpProxyHost()
- Specified by:
getHttpProxyHost
in interface Configuration
- Specified by:
getHttpProxyHost
in interface twitter4j.internal.http.HttpClientConfiguration
getHttpProxyUser
public final java.lang.String getHttpProxyUser()
- Specified by:
getHttpProxyUser
in interface Configuration
- Specified by:
getHttpProxyUser
in interface twitter4j.internal.http.HttpClientConfiguration
getHttpProxyPassword
public final java.lang.String getHttpProxyPassword()
- Specified by:
getHttpProxyPassword
in interface Configuration
- Specified by:
getHttpProxyPassword
in interface twitter4j.internal.http.HttpClientConfiguration
getHttpProxyPort
public final int getHttpProxyPort()
- Specified by:
getHttpProxyPort
in interface Configuration
- Specified by:
getHttpProxyPort
in interface twitter4j.internal.http.HttpClientConfiguration
getHttpConnectionTimeout
public final int getHttpConnectionTimeout()
- Specified by:
getHttpConnectionTimeout
in interface Configuration
- Specified by:
getHttpConnectionTimeout
in interface twitter4j.internal.http.HttpClientConfiguration
getHttpReadTimeout
public final int getHttpReadTimeout()
- Specified by:
getHttpReadTimeout
in interface Configuration
- Specified by:
getHttpReadTimeout
in interface twitter4j.internal.http.HttpClientConfiguration
getHttpStreamingReadTimeout
public int getHttpStreamingReadTimeout()
- Specified by:
getHttpStreamingReadTimeout
in interface Configuration
getHttpRetryCount
public final int getHttpRetryCount()
- Specified by:
getHttpRetryCount
in interface Configuration
- Specified by:
getHttpRetryCount
in interface twitter4j.internal.http.HttpClientConfiguration
getHttpRetryIntervalSeconds
public final int getHttpRetryIntervalSeconds()
- Specified by:
getHttpRetryIntervalSeconds
in interface Configuration
- Specified by:
getHttpRetryIntervalSeconds
in interface twitter4j.internal.http.HttpClientConfiguration
getHttpMaxTotalConnections
public final int getHttpMaxTotalConnections()
- Specified by:
getHttpMaxTotalConnections
in interface Configuration
- Specified by:
getHttpMaxTotalConnections
in interface twitter4j.internal.http.HttpClientConfiguration
getHttpDefaultMaxPerRoute
public final int getHttpDefaultMaxPerRoute()
- Specified by:
getHttpDefaultMaxPerRoute
in interface Configuration
- Specified by:
getHttpDefaultMaxPerRoute
in interface twitter4j.internal.http.HttpClientConfiguration
getOAuthConsumerKey
public final java.lang.String getOAuthConsumerKey()
- Specified by:
getOAuthConsumerKey
in interface AuthorizationConfiguration
- Specified by:
getOAuthConsumerKey
in interface Configuration
getOAuthConsumerSecret
public final java.lang.String getOAuthConsumerSecret()
- Specified by:
getOAuthConsumerSecret
in interface AuthorizationConfiguration
- Specified by:
getOAuthConsumerSecret
in interface Configuration
getOAuthAccessToken
public java.lang.String getOAuthAccessToken()
- Specified by:
getOAuthAccessToken
in interface AuthorizationConfiguration
- Specified by:
getOAuthAccessToken
in interface Configuration
getOAuthAccessTokenSecret
public java.lang.String getOAuthAccessTokenSecret()
- Specified by:
getOAuthAccessTokenSecret
in interface AuthorizationConfiguration
- Specified by:
getOAuthAccessTokenSecret
in interface Configuration
getAsyncNumThreads
public final int getAsyncNumThreads()
- Specified by:
getAsyncNumThreads
in interface Configuration
getClientVersion
public final java.lang.String getClientVersion()
- Specified by:
getClientVersion
in interface Configuration
getClientURL
public final java.lang.String getClientURL()
- Specified by:
getClientURL
in interface Configuration
getRestBaseURL
public java.lang.String getRestBaseURL()
- Specified by:
getRestBaseURL
in interface Configuration
getSearchBaseURL
public java.lang.String getSearchBaseURL()
- Specified by:
getSearchBaseURL
in interface Configuration
getStreamBaseURL
public java.lang.String getStreamBaseURL()
- Specified by:
getStreamBaseURL
in interface Configuration
getUserStreamBaseURL
public java.lang.String getUserStreamBaseURL()
- Specified by:
getUserStreamBaseURL
in interface Configuration
getSiteStreamBaseURL
public java.lang.String getSiteStreamBaseURL()
- Specified by:
getSiteStreamBaseURL
in interface Configuration
getOAuthRequestTokenURL
public java.lang.String getOAuthRequestTokenURL()
- Specified by:
getOAuthRequestTokenURL
in interface Configuration
getOAuthAuthorizationURL
public java.lang.String getOAuthAuthorizationURL()
- Specified by:
getOAuthAuthorizationURL
in interface Configuration
getOAuthAccessTokenURL
public java.lang.String getOAuthAccessTokenURL()
- Specified by:
getOAuthAccessTokenURL
in interface Configuration
getOAuthAuthenticationURL
public java.lang.String getOAuthAuthenticationURL()
- Specified by:
getOAuthAuthenticationURL
in interface Configuration
getDispatcherImpl
public java.lang.String getDispatcherImpl()
- Specified by:
getDispatcherImpl
in interface Configuration
isIncludeRTsEnabled
public boolean isIncludeRTsEnabled()
- Specified by:
isIncludeRTsEnabled
in interface Configuration
isIncludeEntitiesEnabled
public boolean isIncludeEntitiesEnabled()
- Specified by:
isIncludeEntitiesEnabled
in interface Configuration
isJSONStoreEnabled
public boolean isJSONStoreEnabled()
- Specified by:
isJSONStoreEnabled
in interface Configuration
isMBeanEnabled
public boolean isMBeanEnabled()
- Specified by:
isMBeanEnabled
in interface Configuration
isUserStreamRepliesAllEnabled
public boolean isUserStreamRepliesAllEnabled()
- Specified by:
isUserStreamRepliesAllEnabled
in interface Configuration
getMediaProvider
public java.lang.String getMediaProvider()
- Specified by:
getMediaProvider
in interface Configuration
getMediaProviderAPIKey
public java.lang.String getMediaProviderAPIKey()
- Specified by:
getMediaProviderAPIKey
in interface Configuration
getMediaProviderParameters
public java.util.Properties getMediaProviderParameters()
- Specified by:
getMediaProviderParameters
in interface Configuration
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011. All Rights Reserved.