Uses of Class
net.ygbstudio.jbrave.api.builders.BraveImageQuery
Packages that use BraveImageQuery
-
Uses of BraveImageQuery in net.ygbstudio.jbrave.api.builders
Methods in net.ygbstudio.jbrave.api.builders that return BraveImageQueryModifier and TypeMethodDescriptionstatic BraveImageQueryBraveImageQuery.builder()Returns a new instance ofBraveImageQueryBraveImageQuery.count(int count) Adds the count option to the URL query.<T extends CountryIdentifier>
BraveImageQueryBraveImageQuery.country(T country) Adds the country option to the URL query.BraveImageQuery.execute()Executes the request and returns response of string.<T extends LanguageIdentifier>
BraveImageQueryBraveImageQuery.language(T searchLanguage) Adds the search language option to the URL query.Adds a search term to the URL query.BraveImageQuery.reset()Clears the current instance ofBraveImageQueryby resetting its state to its initial values.BraveImageQuery.safeSearch(@NotNull SafeSearch safeSearch) Adds a safe search option to the URL query.BraveImageQuery.spellcheck(boolean spellCheck) Adds the spell check option to the URL query.BraveImageQuery.withHeaders(@NotNull Consumer<BraveImageQuery.BraveRequestBuilder> headers) Sets the request headers using the provided consumer.BraveImageQuery.withRetries(int maxRetries) Sets the maximum number of retry attempts for rate-limited (HTTP 429) responses.BraveImageQuery.withToken(@NotNull ClientInfo clientInfo) Sets the subscription token header using the providedClientInfoinstance.