Uses of Class
net.ygbstudio.jbrave.api.builders.BraveSuggestQuery
Packages that use BraveSuggestQuery
Package
Description
Public, fluent builders for constructing, configuring, and executing Brave Search API queries.
-
Uses of BraveSuggestQuery in net.ygbstudio.jbrave.api.builders
Methods in net.ygbstudio.jbrave.api.builders that return BraveSuggestQueryModifier and TypeMethodDescriptionstatic BraveSuggestQueryBraveSuggestQuery.builder()Creates a new instance ofBraveSuggestQuery.BraveSuggestQuery.count(int count) Adds the count option to the URL query.<T extends CountryIdentifier>
BraveSuggestQueryBraveSuggestQuery.country(T country) Adds the country option to the URL query.BraveSuggestQuery.execute()<T extends LanguageIdentifier>
BraveSuggestQueryBraveSuggestQuery.language(T searchLanguage) Adds the search language option to the URL query.Adds a search term to the URL query.BraveSuggestQuery.reset()Clears the current instance ofBraveSuggestQueryby resetting its state to its initial values.BraveSuggestQuery.rich(boolean rich) Adds the rich option to the URL query.BraveSuggestQuery.withHeaders(@NotNull Consumer<VerticalHeaderBuilder<BraveVerticalRequest>> headers) Sets the request headers using the provided consumer.BraveSuggestQuery.withRetries(int maxRetries) Sets the maximum number of retry attempts for rate-limited (HTTP 429) responses.BraveSuggestQuery.withToken(@NotNull ClientInfo clientInfo) Sets the subscription token header using the providedClientInfoinstance.