Uses of Class
net.ygbstudio.jbrave.api.builders.BraveSuggestQuery
Packages that use BraveSuggestQuery
-
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 ofBraveSuggestQueryBraveSuggestQuery.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()Executes the request and returns response of string.<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<BraveSuggestQuery.BraveRequestBuilder> 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.