Uses of Record Class
net.ygbstudio.jbrave.api.response.ErrorResponse
Packages that use ErrorResponse
Package
Description
Public, fluent builders for constructing, configuring, and executing Brave Search API queries.
Sealed response model returned by the Brave Search API.
-
Uses of ErrorResponse in net.ygbstudio.jbrave.api.builders
Methods in net.ygbstudio.jbrave.api.builders that return types with arguments of type ErrorResponseModifier and TypeMethodDescriptiondefault Optional<ErrorResponse> BraveQueryBuilder.getErrorPOJO()Converts the current response to a POJO instance ofErrorResponseif the status code of the response is not 200. -
Uses of ErrorResponse in net.ygbstudio.jbrave.api.response
Methods in net.ygbstudio.jbrave.api.response that return ErrorResponseModifier and TypeMethodDescriptionstatic ErrorResponseDeserializes aErrorResponsefrom a JSONFile.static ErrorResponseDeserializes aErrorResponsefrom a JSONReader.static ErrorResponseDeserializes aErrorResponsefrom a JSONString.static ErrorResponseErrorResponse.from(@NotNull HttpResponse<String> dataResponse) Deserializes aErrorResponsefrom the body of an HTTP response.