Class TwitterSearchEndpointBuilderFactory.TwitterSearchHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.TwitterSearchEndpointBuilderFactory.TwitterSearchHeaderNameBuilder
-
- Enclosing interface:
- TwitterSearchEndpointBuilderFactory
public static class TwitterSearchEndpointBuilderFactory.TwitterSearchHeaderNameBuilder extends Object
The builder of headers' name for the Twitter Search component.
-
-
Constructor Summary
Constructors Constructor Description TwitterSearchHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtwitterCount()Limiting number of results per page.StringtwitterEventType()The type of event.StringtwitterKeywords()The keywords to search.StringtwitterMaxId()If specified, returns tweets with status ids less than the given id.StringtwitterNumberOfPages()The number of pages result which you want camel-twitter to consume.StringtwitterSearchLanguage()The lang string ISO_639-1 which will be used for searching.StringtwitterSinceId()The last tweet id which will be used for pulling the tweets.
-
-
-
Method Detail
-
twitterKeywords
public String twitterKeywords()
The keywords to search. The option is a:Stringtype. Group: common- Returns:
- the name of the header
TwitterKeywords.
-
twitterSearchLanguage
public String twitterSearchLanguage()
The lang string ISO_639-1 which will be used for searching. The option is a:Stringtype. Group: common- Returns:
- the name of the header
TwitterSearchLanguage.
-
twitterCount
public String twitterCount()
Limiting number of results per page. The option is a:Integertype. Group: common- Returns:
- the name of the header
TwitterCount.
-
twitterNumberOfPages
public String twitterNumberOfPages()
The number of pages result which you want camel-twitter to consume. The option is a:Integertype. Group: common- Returns:
- the name of the header
TwitterNumberOfPages.
-
twitterSinceId
public String twitterSinceId()
The last tweet id which will be used for pulling the tweets. It is useful when the camel route is restarted after a long-running. The option is a:Longtype. Group: common- Returns:
- the name of the header
TwitterSinceId.
-
twitterMaxId
public String twitterMaxId()
If specified, returns tweets with status ids less than the given id. The option is a:Longtype. Group: common- Returns:
- the name of the header
TwitterMaxId.
-
twitterEventType
public String twitterEventType()
The type of event. The supported values are the values of the enum org.apache.camel.component.twitter.consumer.TwitterEventType. The option is a:Stringtype. Group: common- Returns:
- the name of the header
TwitterEventType.
-
-