Uses of Class
net.ygbstudio.jbrave.api.builders.BraveNewsQuery
Packages that use BraveNewsQuery
-
Uses of BraveNewsQuery in net.ygbstudio.jbrave.api.builders
Methods in net.ygbstudio.jbrave.api.builders that return BraveNewsQueryModifier and TypeMethodDescriptionstatic BraveNewsQueryBraveNewsQuery.builder()Creates a new instance ofBraveNewsQueryBraveNewsQuery.count(int count) Adds the count option to the URL query.BraveNewsQuery.enableOperators(boolean enableOperators) Adds the operators option to the URL query.BraveNewsQuery.execute()Executes the request and returns response of string.BraveNewsQuery.extraSnippets(boolean extraSnippets) Adds the extra_snippets option to the URL query.Adds a freshness option to the URL query using an existingFreshnessinstance.Adds a freshness option to the URL query using an existingFreshnessinstance.Adds a goggles URL option to the URL query.BraveNewsQuery.includeFetchMetadata(boolean includeFetchMetadata) Adds the include_fetch_metadata option to the URL query.<T extends LanguageIdentifier>
BraveNewsQueryBraveNewsQuery.language(T searchLanguage) Adds the search language option to the URL query.<T extends RegionLocaleIdentifier>
BraveNewsQueryBraveNewsQuery.market(T uiLanguage) Adds the market option to the URL query.BraveNewsQuery.offset(int offset) Adds the offset option to the URL query.Adds a search term to the URL query.BraveNewsQuery.reset()Clears the current instance ofBraveNewsQueryby resetting its state to its initial values.BraveNewsQuery.safeSearch(@NotNull SafeSearch safeSearch) Adds a safe search option to the URL query.BraveNewsQuery.spellcheck(boolean spellcheck) Adds the spell check option to the URL query.BraveNewsQuery.withHeaders(@NotNull Consumer<BraveNewsQuery.BraveRequestBuilder> headers) Sets the request headers using the provided consumer.BraveNewsQuery.withRetries(int maxRetries) Sets the maximum number of retry attempts for rate-limited (HTTP 429) responses.BraveNewsQuery.withSearchOperators(@NotNull Consumer<SearchOperatorBuilder> operators) Adds search operations to the query term for advanced result filtering.BraveNewsQuery.withToken(@NotNull ClientInfo clientInfo) Sets the subscription token header using the providedClientInfoinstance.