A B C E G H I N O P Q S T 
All Classes All Packages

A

APPLICATION_JSON - Static variable in interface com.bisnode.opa.client.rest.ContentType.Values
 

B

build() - Method in class com.bisnode.opa.client.OpaClient.Builder
 
builder() - Static method in class com.bisnode.opa.client.OpaClient
 
Builder() - Constructor for class com.bisnode.opa.client.OpaClient.Builder
 

C

com.bisnode.opa.client - package com.bisnode.opa.client
 
com.bisnode.opa.client.data - package com.bisnode.opa.client.data
 
com.bisnode.opa.client.policy - package com.bisnode.opa.client.policy
 
com.bisnode.opa.client.query - package com.bisnode.opa.client.query
 
com.bisnode.opa.client.rest - package com.bisnode.opa.client.rest
 
com.bisnode.opa.client.rest.url - package com.bisnode.opa.client.rest.url
 
ContentType - Interface in com.bisnode.opa.client.rest
Content-Type header related information
ContentType.Values - Interface in com.bisnode.opa.client.rest
 
create() - Method in class com.bisnode.opa.client.rest.ObjectMapperFactory
 
createOrOverwriteDocument(OpaDocument) - Method in interface com.bisnode.opa.client.data.OpaDataApi
Updates or creates new OPA document
createOrOverwriteDocument(OpaDocument) - Method in class com.bisnode.opa.client.data.OpaDataClient
 
createOrOverwriteDocument(OpaDocument) - Method in class com.bisnode.opa.client.OpaClient
 
createOrUpdatePolicy(OpaPolicy) - Method in class com.bisnode.opa.client.OpaClient
 
createOrUpdatePolicy(OpaPolicy) - Method in interface com.bisnode.opa.client.policy.OpaPolicyApi
Updates or creates new OPA policy
createOrUpdatePolicy(OpaPolicy) - Method in class com.bisnode.opa.client.policy.OpaPolicyClient
 

E

equals(Object) - Method in class com.bisnode.opa.client.data.OpaDocument
 
equals(Object) - Method in class com.bisnode.opa.client.OpaConfiguration
 
equals(Object) - Method in class com.bisnode.opa.client.policy.OpaPolicy
 
equals(Object) - Method in class com.bisnode.opa.client.query.QueryForDocumentRequest
 

G

getBasicRequestBuilder(String) - Method in class com.bisnode.opa.client.rest.OpaRestClient
Create HttpRequest.Builder with configured url using provided endpoint
getContent() - Method in class com.bisnode.opa.client.data.OpaDocument
Content of the document (JSON format)
getContent() - Method in class com.bisnode.opa.client.policy.OpaPolicy
 
getHttpVersion() - Method in class com.bisnode.opa.client.OpaConfiguration
Get HTTP version configured for the client.
getId() - Method in class com.bisnode.opa.client.policy.OpaPolicy
 
getInput() - Method in class com.bisnode.opa.client.query.QueryForDocumentRequest
 
getInstance() - Static method in class com.bisnode.opa.client.rest.ObjectMapperFactory
 
getJsonBodyHandler(JavaType) - Method in class com.bisnode.opa.client.rest.OpaRestClient
Gets JsonBodyHandler that will deserialize JSON to desired class type
getJsonBodyPublisher(Object) - Method in class com.bisnode.opa.client.rest.OpaRestClient
Gets HttpRequest.BodyPublisher that is capable of serializing to JSON
getPath() - Method in class com.bisnode.opa.client.data.OpaDocument
Path to the document (eg.
getPath() - Method in class com.bisnode.opa.client.query.QueryForDocumentRequest
 
getUrl() - Method in class com.bisnode.opa.client.OpaConfiguration
 
getValue() - Method in class com.bisnode.opa.client.rest.url.OpaUrl
 

H

hashCode() - Method in class com.bisnode.opa.client.data.OpaDocument
 
hashCode() - Method in class com.bisnode.opa.client.OpaConfiguration
 
hashCode() - Method in class com.bisnode.opa.client.policy.OpaPolicy
 
hashCode() - Method in class com.bisnode.opa.client.query.QueryForDocumentRequest
 
HEADER_NAME - Static variable in interface com.bisnode.opa.client.rest.ContentType
 

I

InvalidEndpointException - Exception in com.bisnode.opa.client.rest.url
 
InvalidEndpointException() - Constructor for exception com.bisnode.opa.client.rest.url.InvalidEndpointException
 
InvalidEndpointException(String) - Constructor for exception com.bisnode.opa.client.rest.url.InvalidEndpointException
 
InvalidEndpointException(String, Throwable) - Constructor for exception com.bisnode.opa.client.rest.url.InvalidEndpointException
 
InvalidEndpointException(String, Throwable, boolean, boolean) - Constructor for exception com.bisnode.opa.client.rest.url.InvalidEndpointException
 
InvalidEndpointException(Throwable) - Constructor for exception com.bisnode.opa.client.rest.url.InvalidEndpointException
 

N

normalized() - Method in class com.bisnode.opa.client.rest.url.OpaUrl
 

O

objectMapper(ObjectMapper) - Method in class com.bisnode.opa.client.OpaClient.Builder
 
ObjectMapperFactory - Class in com.bisnode.opa.client.rest
Creates and configures ObjectMapper
ObjectMapperFactory() - Constructor for class com.bisnode.opa.client.rest.ObjectMapperFactory
 
of(String, String) - Static method in class com.bisnode.opa.client.rest.url.OpaUrl
Creates OpaUrl
OpaClient - Class in com.bisnode.opa.client
Opa client featuring OpaDataApi, OpaQueryApi and OpaPolicyApi
OpaClient.Builder - Class in com.bisnode.opa.client
Builder for OpaClient
OpaClientException - Exception in com.bisnode.opa.client
Exception returned by OpaClient All exceptions that will be thrown inside OpaClient will be mapped to this one
OpaClientException() - Constructor for exception com.bisnode.opa.client.OpaClientException
 
OpaClientException(String) - Constructor for exception com.bisnode.opa.client.OpaClientException
 
OpaClientException(String, Throwable) - Constructor for exception com.bisnode.opa.client.OpaClientException
 
OpaClientException(String, Throwable, boolean, boolean) - Constructor for exception com.bisnode.opa.client.OpaClientException
 
OpaClientException(Throwable) - Constructor for exception com.bisnode.opa.client.OpaClientException
 
opaConfiguration(String) - Method in class com.bisnode.opa.client.OpaClient.Builder
 
OpaConfiguration - Class in com.bisnode.opa.client
Contains all configuration needed to set up OpaClient
OpaConfiguration(String) - Constructor for class com.bisnode.opa.client.OpaConfiguration
 
OpaConfiguration(String, HttpClient.Version) - Constructor for class com.bisnode.opa.client.OpaConfiguration
 
OpaDataApi - Interface in com.bisnode.opa.client.data
This is the interface responsible for OPA Data Api, please see OPA Data API docs
OpaDataClient - Class in com.bisnode.opa.client.data
 
OpaDataClient(OpaRestClient) - Constructor for class com.bisnode.opa.client.data.OpaDataClient
 
OpaDocument - Class in com.bisnode.opa.client.data
Class wrapping OPA document content and path to it
OpaDocument(String, String) - Constructor for class com.bisnode.opa.client.data.OpaDocument
 
OpaPolicy - Class in com.bisnode.opa.client.policy
Class wrapping OPA document content and path to it
OpaPolicy(String, String) - Constructor for class com.bisnode.opa.client.policy.OpaPolicy
 
OpaPolicyApi - Interface in com.bisnode.opa.client.policy
This is the interface responsible for OPA Policy Api @see OPA Policy API docs
OpaPolicyClient - Class in com.bisnode.opa.client.policy
 
OpaPolicyClient(OpaRestClient) - Constructor for class com.bisnode.opa.client.policy.OpaPolicyClient
 
OpaQueryApi - Interface in com.bisnode.opa.client.query
This is the interface responsible for OPA Query API @see OPA Query API docs
OpaQueryClient - Class in com.bisnode.opa.client.query
 
OpaQueryClient(OpaRestClient) - Constructor for class com.bisnode.opa.client.query.OpaQueryClient
 
OpaRestClient - Class in com.bisnode.opa.client.rest
Class wrapping Java's HttpClient in OPA and JSON requests
OpaRestClient(OpaConfiguration, HttpClient, ObjectMapper) - Constructor for class com.bisnode.opa.client.rest.OpaRestClient
 
OpaServerConnectionException - Exception in com.bisnode.opa.client.rest
Exception returned by OpaClient Exception which is thrown when OpaClient cannot reach Open Policy Agent server.
OpaServerConnectionException() - Constructor for exception com.bisnode.opa.client.rest.OpaServerConnectionException
 
OpaServerConnectionException(String) - Constructor for exception com.bisnode.opa.client.rest.OpaServerConnectionException
 
OpaServerConnectionException(String, Throwable) - Constructor for exception com.bisnode.opa.client.rest.OpaServerConnectionException
 
OpaServerConnectionException(String, Throwable, boolean, boolean) - Constructor for exception com.bisnode.opa.client.rest.OpaServerConnectionException
 
OpaServerConnectionException(Throwable) - Constructor for exception com.bisnode.opa.client.rest.OpaServerConnectionException
 
OpaUrl - Class in com.bisnode.opa.client.rest.url
Contains request URL which is then used to call OPA server Provides methods useful in URL validation/manipulation

P

POLICY_ENDPOINT - Static variable in class com.bisnode.opa.client.policy.OpaPolicyClient
 

Q

queryForDocument(QueryForDocumentRequest, Class<R>) - Method in class com.bisnode.opa.client.OpaClient
 
queryForDocument(QueryForDocumentRequest, Class<R>) - Method in interface com.bisnode.opa.client.query.OpaQueryApi
Executes simple query for document
queryForDocument(QueryForDocumentRequest, Class<R>) - Method in class com.bisnode.opa.client.query.OpaQueryClient
Executes simple query for document
queryForDocument(QueryForDocumentRequest, ParameterizedType) - Method in class com.bisnode.opa.client.OpaClient
 
queryForDocument(QueryForDocumentRequest, ParameterizedType) - Method in interface com.bisnode.opa.client.query.OpaQueryApi
Executes simple query for document
queryForDocument(QueryForDocumentRequest, ParameterizedType) - Method in class com.bisnode.opa.client.query.OpaQueryClient
 
QueryForDocumentRequest - Class in com.bisnode.opa.client.query
Class wrapping OPA query response
QueryForDocumentRequest(Object, String) - Constructor for class com.bisnode.opa.client.query.QueryForDocumentRequest
 

S

sendRequest(HttpRequest, HttpResponse.BodyHandler<T>) - Method in class com.bisnode.opa.client.rest.OpaRestClient
Sends provided request and returns response mapped using HttpResponse.BodyHandler

T

TEXT_PLAIN - Static variable in interface com.bisnode.opa.client.rest.ContentType.Values
 
toString() - Method in class com.bisnode.opa.client.data.OpaDocument
 
toString() - Method in class com.bisnode.opa.client.OpaConfiguration
 
toString() - Method in class com.bisnode.opa.client.policy.OpaPolicy
 
toString() - Method in class com.bisnode.opa.client.query.QueryForDocumentRequest
 
toUri() - Method in class com.bisnode.opa.client.rest.url.OpaUrl
 
A B C E G H I N O P Q S T 
All Classes All Packages