Compartilhar via


BingWebSearch.BingWebsSearchDefinitionStages.WithExecute Interface

public interface WithExecute extends BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions

O último estágio da definição que fará a chamada de operação.

Resumo do método

Modificador e tipo Método e descrição
SearchResponse execute()

Execute a solicitação.

Observable<SearchResponse> executeAsync()

Execute a solicitação de forma assíncrona.

Membros herdados

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)

Detalhes do método

execute

public SearchResponse execute()

Execute a solicitação.

Returns:

o objeto SearchResponse se tiver êxito.

executeAsync

public Observable executeAsync()

Execute a solicitação de forma assíncrona.

Returns:

o observável para o objeto SearchResponse

Aplica-se a