Partager via


BingWebSearch.BingWebsSearchDefinitionStages.WithExecute Interface

public interface WithExecute extends BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions

Dernière étape de la définition qui fera l’appel de l’opération.

Résumé de la méthode

Modificateur et type Méthode et description
SearchResponse execute()

Exécutez la demande.

Observable<SearchResponse> executeAsync()

Exécutez la demande de manière asynchrone.

Membres hérités

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)

Détails de la méthode

execute

public SearchResponse execute()

Exécutez la demande.

Returns:

l’objet SearchResponse en cas de réussite.

executeAsync

public Observable executeAsync()

Exécutez la demande de manière asynchrone.

Returns:

observable à l’objet SearchResponse

S’applique à