Uses of Class
net.ygbstudio.jbrave.core.local.ClientInfo
Packages that use ClientInfo
Package
Description
Public, fluent builders for constructing, configuring, and executing Brave Search API queries.
Helpers for resolving client credentials and local environment configuration.
-
Uses of ClientInfo in net.ygbstudio.jbrave.api.builders
Methods in net.ygbstudio.jbrave.api.builders with parameters of type ClientInfoModifier and TypeMethodDescriptionBraveImageQuery.withToken(@NotNull ClientInfo clientInfo) Sets the subscription token header using the providedClientInfoinstance.BraveNewsQuery.withToken(@NotNull ClientInfo clientInfo) Sets the subscription token header using the providedClientInfoinstance.BraveSpellcheckQuery.withToken(@NotNull ClientInfo clientInfo) Sets the subscription token header using the providedClientInfoinstance.BraveSuggestQuery.withToken(@NotNull ClientInfo clientInfo) Sets the subscription token header using the providedClientInfoinstance.BraveVideoQuery.withToken(@NotNull ClientInfo clientInfo) Sets the subscription token header using the providedClientInfoinstance.BraveWebQuery.withToken(@NotNull ClientInfo clientInfo) Sets the subscription token header using the providedClientInfoinstance. -
Uses of ClientInfo in net.ygbstudio.jbrave.core.local
Methods in net.ygbstudio.jbrave.core.local that return ClientInfoModifier and TypeMethodDescriptionstatic @NotNull ClientInfoClientInfo.fromEnvironment()Create a new instance of ClientInfo from the preconfigured environment variableBRAVE_SUBSCRIPTION_TOKENstatic @NotNull ClientInfoClientInfo.fromEnvironment(String envVarName) Create a new instance of ClientInfo from environment variable.static @NotNull ClientInfoClientInfo.fromProperties(String propertiesFileName) Create a new instance of ClientInfo from properties file with the preconfigured property namebrave.subscriptionTokenstatic @NotNull ClientInfoClientInfo.fromProperties(String propertiesFileName, String customPropertyName) Create a new instance of ClientInfo from properties file.