你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
BingWebSearch.BingWebsSearchDefinitionStages.WithExecute 接口
public interface WithExecute extends BingWebSearch.BingWebsSearchDefinitionStages.WithAllOptions
将进行操作调用的定义的最后一个阶段。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Search |
execute()
执行请求。 |
Observable<Search |
executeAsync()
异步执行请求。 |
继承成员
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)
方法详细信息
execute
public SearchResponse execute()
执行请求。
Returns:
如果成功,则为 SearchResponse 对象。
executeAsync
public Observable
异步执行请求。
Returns:
可观测到 SearchResponse 对象的