Uses of Class
net.ygbstudio.jbrave.core.builders.BraveWebSearchRequest
Packages that use BraveWebSearchRequest
Package
Description
Internal building blocks that assemble Brave Search API request URLs and HTTP requests.
-
Uses of BraveWebSearchRequest in net.ygbstudio.jbrave.core.builders
Methods in net.ygbstudio.jbrave.core.builders that return BraveWebSearchRequestModifier and TypeMethodDescriptionstatic BraveWebSearchRequestBraveWebSearchRequest.builder()Creates a new instance ofBraveWebSearchRequest.BraveWebSearchRequest.queryAddress(URI uri) Sets the URI for the request.BraveWebSearchRequest.withApiVersion(String apiVersion) Adds an API version header to the request.BraveWebSearchRequest.withCacheControl(String cacheControl) Adds a cache control header to the request.Adds a city header to the request.BraveWebSearchRequest.withCountry(String country) Adds a country header to the request.BraveWebSearchRequest.withLatitude(double latitude) Adds a latitude header to the request.BraveWebSearchRequest.withLongitude(double longitude) Adds a longitude header to the request.BraveWebSearchRequest.withPostalCode(String postalCode) Adds a postal code header to the request.Adds a state header to the request.BraveWebSearchRequest.withStateName(String stateName) Adds a state name header to the request.BraveWebSearchRequest.withTimezone(@NotNull ZoneId timezone) Adds a timezone header to the request.Adds a brave subscription token header to the request.BraveWebSearchRequest.withUserAgent(String userAgent) Adds a user agent header to the request.