パッケージ twitter4j
クラス Twitter.TwitterBuilder
java.lang.Object
twitter4j.Twitter.TwitterBuilder
- 含まれているインタフェース:
builder for Twitter
-
メソッドの概要
修飾子とタイプメソッド説明applicationOnlyAuthEnabled
(boolean applicationOnlyAuthEnabled) build()
connectionLifeCycleListener
(@NotNull ConnectionLifeCycleListener listener) contributingTo
(long contributingTo) boolean
gzipEnabled
(boolean gzipEnabled) int
hashCode()
httpConnectionTimeout
(int httpConnectionTimeout) httpProxyHost
(String httpProxyHost) httpProxyPassword
(String httpProxyPassword) httpProxyPort
(int httpProxyPort) httpProxySocks
(boolean httpProxySocks) httpProxyUser
(String httpProxyUser) httpReadTimeout
(int httpReadTimeout) httpRetryCount
(int httpRetryCount) httpRetryIntervalSeconds
(int httpRetryIntervalSeconds) httpStreamingReadTimeout
(int httpStreamingReadTimeout) includeEntitiesEnabled
(boolean enabled) includeExtAltTextEnabled
(boolean enabled) jsonStoreEnabled
(boolean enabled) listener
(@NotNull RawStreamListener rawStreamListener) listener
(@NotNull StreamListener streamListener) load
(Properties props) mBeanEnabled
(boolean enabled) oAuth2Scope
(String oAuth2Scope) oAuth2Token
(String oAuth2TokenType, String oAuth2AccessToken) oAuth2Token
(OAuth2Token oAuth2Token) oAuthAccessToken
(String oAuthAccessToken, String oAuthAccessTokenSecret) oAuthAccessToken
(AccessToken accessToken) oAuthConsumer
(String oAuthConsumerKey, String oAuthConsumerSecret) onException
(Consumer<Exception> onException) Registers a RateLimitStatusListener for account associated rate limitsRegisters a lambda action for account associated rate limitsprettyDebugEnabled
(boolean prettyDebugEnabled) toString()
trimUserEnabled
(boolean enabled) tweetModeExtended
(boolean enabled)
-
メソッドの詳細
-
build
- 戻り値:
- constructs Twitter instance
-
connectionLifeCycleListener
public Twitter.TwitterBuilder connectionLifeCycleListener(@NotNull @NotNull ConnectionLifeCycleListener listener) - パラメータ:
listener
- listener- 戻り値:
- this instance
-
listener
- パラメータ:
streamListener
- adds listener- 戻り値:
- this instance
-
listener
- パラメータ:
rawStreamListener
- listener- 戻り値:
- this instance
-
onStatus
- パラメータ:
onStatus
- listener- 戻り値:
- this instance
-
onException
- パラメータ:
onException
- listener- 戻り値:
- this instance
-
equals
-
hashCode
public int hashCode() -
toString
-
prettyDebugEnabled
- パラメータ:
prettyDebugEnabled
- enabled- 戻り値:
- this instance
-
gzipEnabled
- パラメータ:
gzipEnabled
- enabled- 戻り値:
- this instance
-
applicationOnlyAuthEnabled
- パラメータ:
applicationOnlyAuthEnabled
- applicationOnlyAuthEnabled- 戻り値:
- this instance
-
load
- パラメータ:
props
- props- 戻り値:
- this instance
-
httpProxyHost
- パラメータ:
httpProxyHost
- http proxy host- 戻り値:
- this instance
-
httpProxyUser
- パラメータ:
httpProxyUser
- http proxy user- 戻り値:
- this instance
-
httpProxyPassword
- パラメータ:
httpProxyPassword
- http proxy password- 戻り値:
- this instance
-
httpProxyPort
- パラメータ:
httpProxyPort
- http proxy port- 戻り値:
- this instance
-
httpProxySocks
- パラメータ:
httpProxySocks
- http proxy socks- 戻り値:
- this instance
-
httpConnectionTimeout
- パラメータ:
httpConnectionTimeout
- http connection timeout in milliseconds- 戻り値:
- this instance
-
httpReadTimeout
- パラメータ:
httpReadTimeout
- http read timeout in milliseconds- 戻り値:
- this instance
-
httpStreamingReadTimeout
- パラメータ:
httpStreamingReadTimeout
- http streaming timeout in milliseconds- 戻り値:
- this instance
-
httpRetryCount
- パラメータ:
httpRetryCount
- http retry count- 戻り値:
- this instance
-
httpRetryIntervalSeconds
- パラメータ:
httpRetryIntervalSeconds
- http retry interval in seconds- 戻り値:
- this instance
-
oAuthConsumer
- パラメータ:
oAuthConsumerKey
- OAuth consumer keyoAuthConsumerSecret
- OAuth consumer secret- 戻り値:
- this instance
-
oAuthAccessToken
public Twitter.TwitterBuilder oAuthAccessToken(String oAuthAccessToken, String oAuthAccessTokenSecret) - パラメータ:
oAuthAccessToken
- OAuth access tokenoAuthAccessTokenSecret
- OAuth access token secret- 戻り値:
- this instance
-
oAuthAccessToken
- パラメータ:
accessToken
- access token- 戻り値:
- this instance
-
oAuth2Token
- パラメータ:
oAuth2TokenType
- OAuth2 token typeoAuth2AccessToken
- OAuth2 access token- 戻り値:
- this instance
-
oAuth2Token
- パラメータ:
oAuth2Token
- OAuth2 token- 戻り値:
- this instance
-
oAuth2Scope
- パラメータ:
oAuth2Scope
- OAuth2 scope- 戻り値:
- this instance
-
contributingTo
- パラメータ:
contributingTo
- contributing to user id- 戻り値:
- this instance
-
trimUserEnabled
- パラメータ:
enabled
- trim user enabled- 戻り値:
- this instance
-
includeExtAltTextEnabled
- パラメータ:
enabled
- include ext alt text enabled- 戻り値:
- this instance
-
tweetModeExtended
- パラメータ:
enabled
- tweet mode extended- 戻り値:
- this instance
-
includeEntitiesEnabled
- パラメータ:
enabled
- enabled- 戻り値:
- this instance
-
jsonStoreEnabled
- パラメータ:
enabled
- enabled- 戻り値:
- this instance
-
mBeanEnabled
- パラメータ:
enabled
- mbean enabled- 戻り値:
- this instance
-
onRateLimitStatus
Registers a lambda action for account associated rate limits- パラメータ:
action
- the action to be added- 戻り値:
- this instance
- 導入されたバージョン:
- Twitter4J 4.0.4
- 関連項目:
-
onRateLimitReached
Registers a RateLimitStatusListener for account associated rate limits- パラメータ:
action
- the action to be added- 戻り値:
- this instance
- 導入されたバージョン:
- Twitter4J 4.0.4
- 関連項目:
-