Sdílet prostřednictvím


BingWebSearch.BingWebsSearchDefinitionStages.WithExecute Interface

public interface WithExecute extends BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions

The last stage of the definition which will make the operation call.

Method Summary

Modifier and Type Method and Description
SearchResponse execute()

Execute the request.

Observable<SearchResponse> executeAsync()

Execute the request asynchronously.

Inherited Members

BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withAcceptLanguage(String acceptLanguage) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withAnswerCount(Integer answerCount) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withClientId(String clientId) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withClientIp(String clientIp) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withCount(Integer count) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withCountryCode(String countryCode) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withFreshness(Freshness freshness) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withLocation(String location) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withMarket(String market) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withOffset(Integer offset) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withPragma(String pragma) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withPromote(List<AnswerType> promote) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withResponseFilter(List<AnswerType> responseFilter) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withSafeSearch(SafeSearch safeSearch) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withSetLang(String setLang) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withTextDecorations(Boolean textDecorations) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withTextFormat(TextFormat textFormat) BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions.withUserAgent(String userAgent)

Method Details

execute

public SearchResponse execute()

Execute the request.

Returns:

the SearchResponse object if successful.

executeAsync

public Observable executeAsync()

Execute the request asynchronously.

Returns:

the observable to the SearchResponse object

Applies to