Uses of Interface
net.ygbstudio.jbrave.api.response.ApiResponse
Packages that use ApiResponse
-
Uses of ApiResponse in net.ygbstudio.jbrave.api.builders
Classes in net.ygbstudio.jbrave.api.builders with type parameters of type ApiResponseModifier and TypeInterfaceDescriptioninterfaceBraveQueryBuilder<T,E extends ApiResponse> An interface for Brave API query builders.Methods in net.ygbstudio.jbrave.api.builders that return types with arguments of type ApiResponseModifier and TypeMethodDescriptiondefault Optional<ApiResponse> BraveQueryBuilder.getEitherPOJO()Converts the current response to a POJO instance ofWebSearchApiResponseif the status code of the response is 200. -
Uses of ApiResponse in net.ygbstudio.jbrave.api.response
Classes in net.ygbstudio.jbrave.api.response that implement ApiResponseModifier and TypeClassDescriptionfinal recordError response object that the Brave Search API sends in case the client's request results in either 404, 422, or 429 http status codes.final recordRepresents the response from the Brave Search API for image searches.final recordRepresents the response from the Brave Search API for news searches.final recordRepresents the response from the Brave Search API for spell check.final recordRepresents the response from the Brave Search API for suggestions.final recordRepresents the response from the Brave Search API for video searches.final recordRepresents the top-level response from the Brave Search API.