A B C D E F G H I J L M N O P Q R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acceptEncoding() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding(GzipAcceptEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding(GzipAcceptEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest.Builder
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding(GzipAcceptEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequestBuilder
- acceptEncoding(GzipAcceptEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding(GzipAcceptEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding(Optional<? extends GzipAcceptEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding(Optional<? extends GzipAcceptEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest.Builder
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding(Optional<? extends GzipAcceptEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequestBuilder
- acceptEncoding(Optional<? extends GzipAcceptEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
Indicates the server should respond with a gzip encoded body.
- acceptEncoding(Optional<? extends GzipAcceptEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Indicates the server should respond with a gzip encoded body.
- action(Callable<HttpResponse<InputStream>>) - Method in class com.styra.opa.openapi.utils.Retries.Builder
-
Sets the HTTP callback to be retried.
- addHeader(String, String) - Method in class com.styra.opa.openapi.utils.HTTPRequest
- addHeaders(Map<String, List<String>>) - Method in class com.styra.opa.openapi.utils.HTTPRequest
- addQueryParam(String, String) - Method in class com.styra.opa.openapi.utils.HTTPRequest
- addQueryParam(NameValuePair) - Method in class com.styra.opa.openapi.utils.HTTPRequest
- addQueryParams(Collection<NameValuePair>) - Method in class com.styra.opa.openapi.utils.HTTPRequest
- afterError(Hook.AfterErrorContext, Optional<HttpResponse<InputStream>>, Optional<Exception>) - Method in interface com.styra.opa.openapi.utils.Hook.AfterError
-
Either returns an HttpResponse or throws an Exception.
- afterError(Hook.AfterErrorContext, Optional<HttpResponse<InputStream>>, Optional<Exception>) - Method in class com.styra.opa.openapi.utils.Hooks
- AfterErrorContextImpl(String, Optional<List<String>>, Optional<SecuritySource>) - Constructor for class com.styra.opa.openapi.utils.Hook.AfterErrorContextImpl
- afterSuccess(Hook.AfterSuccessContext, HttpResponse<InputStream>) - Method in interface com.styra.opa.openapi.utils.Hook.AfterSuccess
-
Transforms the given response before response processing occurs.
- afterSuccess(Hook.AfterSuccessContext, HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.utils.Hooks
- AfterSuccessContextImpl(String, Optional<List<String>>, Optional<SecuritySource>) - Constructor for class com.styra.opa.openapi.utils.Hook.AfterSuccessContextImpl
- allowIntrospection(Class<?>) - Static method in class com.styra.opa.openapi.utils.Utils
- apply(S) - Method in interface com.styra.opa.openapi.utils.Utils.Function
- applyMatchPreferences(List<OneOfDeserializer.Match<T>>, String) - Static method in class com.styra.opa.openapi.utils.OneOfDeserializer
- ARRAY - com.styra.opa.openapi.utils.Types
- asType(EventStreamMessage, ObjectMapper, TypeReference<T>) - Static method in class com.styra.opa.openapi.utils.Utils
- AuthException - Exception in com.styra.opa.openapi.models.errors
-
An exception associated with Authentication or Authorization.
- AuthException(int, String) - Constructor for exception com.styra.opa.openapi.models.errors.AuthException
- AuthException(String) - Constructor for exception com.styra.opa.openapi.models.errors.AuthException
B
- backoff() - Method in class com.styra.opa.openapi.utils.RetryConfig
- backoff() - Method in class com.styra.opa.openapi.utils.RetryConfig.Builder
-
Selects the default backoff retry strategy.
- backoff(BackoffStrategy) - Method in class com.styra.opa.openapi.utils.RetryConfig.Builder
-
Selects and configures the backoff retry strategy.
- BACKOFF - com.styra.opa.openapi.utils.RetryConfig.Strategy
- BackoffStrategy - Class in com.styra.opa.openapi.utils
-
Exponential Backoff Strategy with Jitter The duration between consecutive attempts is calculated as follows: intervalMs = min(maxIntervalMs, initialIntervalMs*(baseFactor^attempts) +/- r) where baseFactor is the base factor and r a random value between 0 and jitterFactor*intervalMs.
- BackoffStrategy.Builder - Class in com.styra.opa.openapi.utils
- baseFactor() - Method in class com.styra.opa.openapi.utils.BackoffStrategy
- baseFactor(double) - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
-
Sets the backoff base factor.
- baseUrl() - Method in class com.styra.opa.openapi.utils.Hook.SdkInitData
- batchDecisionId() - Method in exception com.styra.opa.openapi.models.errors.BatchServerError
- batchDecisionId() - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
- batchDecisionId() - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- batchDecisionId(String) - Method in class com.styra.opa.openapi.models.errors.BatchServerError.Builder
- batchDecisionId(String) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults.Builder
- batchDecisionId(String) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation.Builder
- batchDecisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.errors.BatchServerError.Builder
- batchDecisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults.Builder
- batchDecisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation.Builder
- batchMixedResults() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
Mixed success and failures.
- batchMixedResults(BatchMixedResults) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
-
Mixed success and failures.
- batchMixedResults(Optional<? extends BatchMixedResults>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
-
Mixed success and failures.
- BatchMixedResults - Class in com.styra.opa.openapi.models.shared
-
BatchMixedResults - Mixed success and failures.
- BatchMixedResults() - Constructor for class com.styra.opa.openapi.models.shared.BatchMixedResults
- BatchMixedResults(Optional<String>, Optional<? extends Map<String, Object>>, Optional<? extends Map<String, Responses>>) - Constructor for class com.styra.opa.openapi.models.shared.BatchMixedResults
- BatchMixedResults.Builder - Class in com.styra.opa.openapi.models.shared
- BatchServerError - Exception in com.styra.opa.openapi.models.errors
-
BatchServerError - Server Error.
- BatchServerError() - Constructor for exception com.styra.opa.openapi.models.errors.BatchServerError
- BatchServerError(Optional<String>, Optional<? extends Map<String, ServerError>>) - Constructor for exception com.styra.opa.openapi.models.errors.BatchServerError
- BatchServerError.Builder - Class in com.styra.opa.openapi.models.errors
- batchSuccessfulPolicyEvaluation() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
All batched policy executions succeeded.
- batchSuccessfulPolicyEvaluation(BatchSuccessfulPolicyEvaluation) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
-
All batched policy executions succeeded.
- batchSuccessfulPolicyEvaluation(Optional<? extends BatchSuccessfulPolicyEvaluation>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
-
All batched policy executions succeeded.
- BatchSuccessfulPolicyEvaluation - Class in com.styra.opa.openapi.models.shared
-
BatchSuccessfulPolicyEvaluation - All batched policy executions succeeded.
- BatchSuccessfulPolicyEvaluation() - Constructor for class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- BatchSuccessfulPolicyEvaluation(Optional<String>, Optional<? extends Map<String, Object>>, Optional<? extends Map<String, SuccessfulPolicyResponse>>) - Constructor for class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- BatchSuccessfulPolicyEvaluation.Builder - Class in com.styra.opa.openapi.models.shared
- bearerAuth() - Method in class com.styra.opa.openapi.models.shared.Security
- bearerAuth(String) - Method in class com.styra.opa.openapi.models.shared.Security.Builder
- bearerAuth(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.Security.Builder
- beforeRequest(Hook.BeforeRequestContext, HttpRequest) - Method in interface com.styra.opa.openapi.utils.Hook.BeforeRequest
-
Transforms the given
HttpRequest
before sending. - beforeRequest(Hook.BeforeRequestContext, HttpRequest) - Method in class com.styra.opa.openapi.utils.Hook.IdempotencyHook
- beforeRequest(Hook.BeforeRequestContext, HttpRequest) - Method in class com.styra.opa.openapi.utils.Hooks
- BeforeRequestContextImpl(String, Optional<List<String>>, Optional<SecuritySource>) - Constructor for class com.styra.opa.openapi.utils.Hook.BeforeRequestContextImpl
- BigDecimalString - Class in com.styra.opa.openapi.utils
- BigDecimalString(String) - Constructor for class com.styra.opa.openapi.utils.BigDecimalString
- BigDecimalString(BigDecimal) - Constructor for class com.styra.opa.openapi.utils.BigDecimalString
- BigDecimalString.BigDecimalStringDeserializer - Class in com.styra.opa.openapi.utils
- BigDecimalString.BigDecimalStringSerializer - Class in com.styra.opa.openapi.utils
- BigDecimalStringDeserializer() - Constructor for class com.styra.opa.openapi.utils.BigDecimalString.BigDecimalStringDeserializer
- BigDecimalStringDeserializer(Class<BigDecimalString>) - Constructor for class com.styra.opa.openapi.utils.BigDecimalString.BigDecimalStringDeserializer
- BigDecimalStringSerializer() - Constructor for class com.styra.opa.openapi.utils.BigDecimalString.BigDecimalStringSerializer
- BigDecimalStringSerializer(Class<BigDecimalString>) - Constructor for class com.styra.opa.openapi.utils.BigDecimalString.BigDecimalStringSerializer
- BigIntegerString - Class in com.styra.opa.openapi.utils
- BigIntegerString(String) - Constructor for class com.styra.opa.openapi.utils.BigIntegerString
- BigIntegerString(BigInteger) - Constructor for class com.styra.opa.openapi.utils.BigIntegerString
- BigIntegerString.BigIntegerStringDeserializer - Class in com.styra.opa.openapi.utils
- BigIntegerString.BigIntegerStringSerializer - Class in com.styra.opa.openapi.utils
- BigIntegerStringDeserializer() - Constructor for class com.styra.opa.openapi.utils.BigIntegerString.BigIntegerStringDeserializer
- BigIntegerStringDeserializer(Class<BigIntegerString>) - Constructor for class com.styra.opa.openapi.utils.BigIntegerString.BigIntegerStringDeserializer
- BigIntegerStringSerializer() - Constructor for class com.styra.opa.openapi.utils.BigIntegerString.BigIntegerStringSerializer
- BigIntegerStringSerializer(Class<BigIntegerString>) - Constructor for class com.styra.opa.openapi.utils.BigIntegerString.BigIntegerStringSerializer
- body() - Method in exception com.styra.opa.openapi.models.errors.SDKError
- body() - Method in class com.styra.opa.openapi.utils.SerializedBody
- body() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- bodyAsBytes() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- bodyAsUtf8() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- BOOLEAN_STRICT - Static variable in class com.styra.opa.openapi.utils.Deserializers
- build() - Method in class com.styra.opa.openapi.models.errors.BatchServerError.Builder
- build() - Method in class com.styra.opa.openapi.models.errors.ClientError.Builder
- build() - Method in class com.styra.opa.openapi.models.errors.ClientError1.Builder
- build() - Method in class com.styra.opa.openapi.models.errors.Errors.Builder
- build() - Method in class com.styra.opa.openapi.models.errors.Location.Builder
- build() - Method in class com.styra.opa.openapi.models.errors.ServerError.Builder
- build() - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors.Builder
- build() - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation.Builder
- build() - Method in class com.styra.opa.openapi.models.errors.UnhealthyServer.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBody.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBody.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.HealthRequest.Builder
- build() - Method in class com.styra.opa.openapi.models.operations.HealthResponse.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.Errors.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.HealthyServer.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.Location.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.Revision.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.Security.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.ServerError.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse.Builder
- build() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
- build() - Method in class com.styra.opa.openapi.OpaApiClient.Builder
-
Builds a new instance of the SDK.
- build() - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
- build() - Method in class com.styra.opa.openapi.utils.HTTPRequest
- build() - Method in class com.styra.opa.openapi.utils.Options.Builder
- build() - Method in class com.styra.opa.openapi.utils.Retries.Builder
- build() - Method in class com.styra.opa.openapi.utils.RetryConfig.Builder
- buildCommit() - Method in class com.styra.opa.openapi.models.shared.Provenance
- buildCommit(String) - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
- buildCommit(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
- builder() - Static method in exception com.styra.opa.openapi.models.errors.BatchServerError
- builder() - Static method in exception com.styra.opa.openapi.models.errors.ClientError
- builder() - Static method in exception com.styra.opa.openapi.models.errors.ClientError1
- builder() - Static method in class com.styra.opa.openapi.models.errors.Errors
- builder() - Static method in class com.styra.opa.openapi.models.errors.Location
- builder() - Static method in exception com.styra.opa.openapi.models.errors.ServerError
- builder() - Static method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- builder() - Static method in class com.styra.opa.openapi.models.errors.ServerErrorLocation
- builder() - Static method in exception com.styra.opa.openapi.models.errors.UnhealthyServer
- builder() - Static method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
- builder() - Static method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBody
- builder() - Static method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
- builder() - Static method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
- builder() - Static method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
- builder() - Static method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
- builder() - Static method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
- builder() - Static method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
- builder() - Static method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBody
- builder() - Static method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
- builder() - Static method in class com.styra.opa.openapi.models.operations.HealthRequest
- builder() - Static method in class com.styra.opa.openapi.models.operations.HealthResponse
- builder() - Static method in class com.styra.opa.openapi.models.shared.BatchMixedResults
- builder() - Static method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- builder() - Static method in class com.styra.opa.openapi.models.shared.Errors
- builder() - Static method in class com.styra.opa.openapi.models.shared.HealthyServer
- builder() - Static method in class com.styra.opa.openapi.models.shared.Location
- builder() - Static method in class com.styra.opa.openapi.models.shared.Provenance
- builder() - Static method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- builder() - Static method in class com.styra.opa.openapi.models.shared.ResponsesLocation
- builder() - Static method in class com.styra.opa.openapi.models.shared.Revision
- builder() - Static method in class com.styra.opa.openapi.models.shared.Security
- builder() - Static method in class com.styra.opa.openapi.models.shared.ServerError
- builder() - Static method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- builder() - Static method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
- builder() - Static method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
- builder() - Static method in class com.styra.opa.openapi.OpaApiClient
-
Get a new instance of the SDK builder to configure a new instance of the SDK.
- builder() - Static method in class com.styra.opa.openapi.utils.BackoffStrategy
- builder() - Static method in class com.styra.opa.openapi.utils.Options
- builder() - Static method in class com.styra.opa.openapi.utils.Retries
- builder() - Static method in class com.styra.opa.openapi.utils.RetryConfig
- buildHost() - Method in class com.styra.opa.openapi.models.shared.Provenance
- buildHost(String) - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
- buildHost(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
- buildTimestamp() - Method in class com.styra.opa.openapi.models.shared.Provenance
- buildTimestamp(OffsetDateTime) - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
- buildTimestamp(Optional<OffsetDateTime>) - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
- bundles() - Method in class com.styra.opa.openapi.models.operations.HealthRequest
-
Boolean parameter to account for bundle activation status in response.
- bundles() - Method in class com.styra.opa.openapi.models.shared.Provenance
- bundles(boolean) - Method in class com.styra.opa.openapi.models.operations.HealthRequest.Builder
-
Boolean parameter to account for bundle activation status in response.
- bundles(boolean) - Method in class com.styra.opa.openapi.models.operations.HealthRequestBuilder
- bundles(Map<String, Revision>) - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
- bundles(Optional<? extends Map<String, Revision>>) - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
- bundles(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.HealthRequest.Builder
-
Boolean parameter to account for bundle activation status in response.
- bundles(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.HealthRequestBuilder
- bytesToLowerCaseHex(byte[]) - Static method in class com.styra.opa.openapi.utils.Utils
C
- cache(HttpResponse<InputStream>) - Static method in class com.styra.opa.openapi.utils.Utils
-
Fully reads the body of the given response and caches it in memory.
- call() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBuilder
- call() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequestBuilder
- call() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequestBuilder
- call() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBuilder
- call() - Method in class com.styra.opa.openapi.models.operations.HealthRequestBuilder
- check(boolean) - Method in class com.styra.opa.OPAClient
- check(double) - Method in class com.styra.opa.OPAClient
- check(Object) - Method in class com.styra.opa.OPAClient
- check(String, boolean) - Method in class com.styra.opa.OPAClient
- check(String, double) - Method in class com.styra.opa.OPAClient
- check(String, Object) - Method in class com.styra.opa.OPAClient
- check(String, String) - Method in class com.styra.opa.OPAClient
- check(String, List<Object>) - Method in class com.styra.opa.OPAClient
- check(String, Map<String, Object>) - Method in class com.styra.opa.OPAClient
-
Perform a query with an input document against a Rego rule head by its path, and coerce the result to a boolean.
- check(List<Object>) - Method in class com.styra.opa.OPAClient
- check(Map<String, Object>) - Method in class com.styra.opa.OPAClient
- checkArgument(boolean, String) - Static method in class com.styra.opa.openapi.utils.Utils
- checkNotNull(T, String) - Static method in class com.styra.opa.openapi.utils.Utils
- client() - Method in class com.styra.opa.openapi.utils.Hook.SdkInitData
- client(HTTPClient) - Method in class com.styra.opa.openapi.OpaApiClient.Builder
-
Allows the default HTTP client to be overridden with a custom implementation.
- ClientError - Exception in com.styra.opa.openapi.models.errors
-
ClientError - Bad Request
- ClientError(String, String) - Constructor for exception com.styra.opa.openapi.models.errors.ClientError
- ClientError(String, String, Optional<? extends List<Errors>>) - Constructor for exception com.styra.opa.openapi.models.errors.ClientError
- ClientError.Builder - Class in com.styra.opa.openapi.models.errors
- ClientError1 - Exception in com.styra.opa.openapi.models.errors
-
ClientError1 - Bad Request
- ClientError1(String, String) - Constructor for exception com.styra.opa.openapi.models.errors.ClientError1
- ClientError1(String, String, Optional<? extends List<Errors>>) - Constructor for exception com.styra.opa.openapi.models.errors.ClientError1
- ClientError1.Builder - Class in com.styra.opa.openapi.models.errors
- close() - Method in class com.styra.opa.openapi.utils.EventStream
- close() - Method in class com.styra.opa.openapi.utils.EventStreamLineReader
- close() - Method in class com.styra.opa.openapi.utils.EventStreamReader
- code() - Method in exception com.styra.opa.openapi.models.errors.ClientError
- code() - Method in exception com.styra.opa.openapi.models.errors.ClientError1
- code() - Method in class com.styra.opa.openapi.models.errors.Errors
- code() - Method in exception com.styra.opa.openapi.models.errors.SDKError
- code() - Method in exception com.styra.opa.openapi.models.errors.ServerError
- code() - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- code() - Method in exception com.styra.opa.openapi.models.errors.UnhealthyServer
- code() - Method in class com.styra.opa.openapi.models.shared.Errors
- code() - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- code() - Method in class com.styra.opa.openapi.models.shared.ServerError
- code() - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- code(String) - Method in class com.styra.opa.openapi.models.errors.ClientError.Builder
- code(String) - Method in class com.styra.opa.openapi.models.errors.ClientError1.Builder
- code(String) - Method in class com.styra.opa.openapi.models.errors.Errors.Builder
- code(String) - Method in class com.styra.opa.openapi.models.errors.ServerError.Builder
- code(String) - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors.Builder
- code(String) - Method in class com.styra.opa.openapi.models.errors.UnhealthyServer.Builder
- code(String) - Method in class com.styra.opa.openapi.models.shared.Errors.Builder
- code(String) - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors.Builder
- code(String) - Method in class com.styra.opa.openapi.models.shared.ServerError.Builder
- code(String) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode.Builder
- code(Optional<String>) - Method in class com.styra.opa.openapi.models.errors.UnhealthyServer.Builder
- col() - Method in class com.styra.opa.openapi.models.errors.Location
- col() - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation
- col() - Method in class com.styra.opa.openapi.models.shared.Location
- col() - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation
- col(long) - Method in class com.styra.opa.openapi.models.errors.Location.Builder
- col(long) - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation.Builder
- col(long) - Method in class com.styra.opa.openapi.models.shared.Location.Builder
- col(long) - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation.Builder
- com.styra.opa - package com.styra.opa
- com.styra.opa.openapi - package com.styra.opa.openapi
- com.styra.opa.openapi.hooks - package com.styra.opa.openapi.hooks
- com.styra.opa.openapi.models.errors - package com.styra.opa.openapi.models.errors
- com.styra.opa.openapi.models.operations - package com.styra.opa.openapi.models.operations
- com.styra.opa.openapi.models.shared - package com.styra.opa.openapi.models.shared
- com.styra.opa.openapi.utils - package com.styra.opa.openapi.utils
- com.styra.opa.utils - package com.styra.opa.utils
- configureSecurity(HTTPRequest, Object) - Static method in class com.styra.opa.openapi.utils.Security
- configureSecurity(HTTPRequest, Object) - Static method in class com.styra.opa.openapi.utils.Utils
- contentEncoding() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Indicates that the request body is gzip encoded
- contentEncoding() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Indicates that the request body is gzip encoded
- contentEncoding(GzipContentEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Indicates that the request body is gzip encoded
- contentEncoding(GzipContentEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Indicates that the request body is gzip encoded
- contentEncoding(Optional<? extends GzipContentEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Indicates that the request body is gzip encoded
- contentEncoding(Optional<? extends GzipContentEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Indicates that the request body is gzip encoded
- contentType() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
HTTP response content type for this operation
- contentType() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
-
HTTP response content type for this operation
- contentType() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
-
HTTP response content type for this operation
- contentType() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
-
HTTP response content type for this operation
- contentType() - Method in class com.styra.opa.openapi.models.operations.HealthResponse
-
HTTP response content type for this operation
- contentType() - Method in interface com.styra.opa.openapi.utils.Response
-
Returns the value of the Content-Type header.
- contentType() - Method in class com.styra.opa.openapi.utils.SerializedBody
- contentType(String) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
-
HTTP response content type for this operation
- contentType(String) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse.Builder
-
HTTP response content type for this operation
- contentType(String) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse.Builder
-
HTTP response content type for this operation
- contentType(String) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse.Builder
-
HTTP response content type for this operation
- contentType(String) - Method in class com.styra.opa.openapi.models.operations.HealthResponse.Builder
-
HTTP response content type for this operation
- contentTypeMatches(String, String) - Static method in class com.styra.opa.openapi.utils.Utils
- convertToShape(Object, Utils.JsonShape, TypeReference<?>) - Static method in class com.styra.opa.openapi.utils.Utils
- convertToStringShape(TypeFactory, JavaType) - Static method in class com.styra.opa.openapi.utils.Utils
- copy(HttpRequest) - Static method in class com.styra.opa.openapi.utils.Helpers
-
Returns an
HttpRequest.Builder
which is initialized with the state of the givenHttpRequest
. - copy(HttpRequest) - Static method in class com.styra.opa.openapi.utils.Utils
-
Returns an
HttpRequest.Builder
which is initialized with the state of the givenHttpRequest
. - copy(HttpRequest, BiPredicate<String, String>) - Static method in class com.styra.opa.openapi.utils.Helpers
-
Returns an
HttpRequest.Builder
which is initialized with the state of the givenHttpRequest
. - copy(HttpRequest, BiPredicate<String, String>) - Static method in class com.styra.opa.openapi.utils.Utils
-
Returns an
HttpRequest.Builder
which is initialized with the state of the givenHttpRequest
.
D
- data() - Method in class com.styra.opa.openapi.utils.EventStreamMessage
- DEBUG - com.styra.opa.openapi.models.shared.Explain
- decisionId() - Method in exception com.styra.opa.openapi.models.errors.ServerError
- decisionId() - Method in class com.styra.opa.openapi.models.shared.ServerError
- decisionId() - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- decisionId() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
If decision logging is enabled, this field contains a string that uniquely identifies the decision.
- decisionId() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
If decision logging is enabled, this field contains a string that uniquely identifies the decision.
- decisionId(String) - Method in class com.styra.opa.openapi.models.errors.ServerError.Builder
- decisionId(String) - Method in class com.styra.opa.openapi.models.shared.ServerError.Builder
- decisionId(String) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode.Builder
- decisionId(String) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse.Builder
-
If decision logging is enabled, this field contains a string that uniquely identifies the decision.
- decisionId(String) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
-
If decision logging is enabled, this field contains a string that uniquely identifies the decision.
- decisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.errors.ServerError.Builder
- decisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.ServerError.Builder
- decisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode.Builder
- decisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse.Builder
-
If decision logging is enabled, this field contains a string that uniquely identifies the decision.
- decisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
-
If decision logging is enabled, this field contains a string that uniquely identifies the decision.
- DEFAULT - com.styra.opa.openapi.utils.Utils.JsonShape
- DEFAULT - Static variable in interface com.styra.opa.openapi.utils.Hook.AfterError
-
The default action is to rethrow the given error.
- DEFAULT - Static variable in interface com.styra.opa.openapi.utils.Hook.AfterSuccess
-
The default action is to return the response untouched.
- DEFAULT - Static variable in interface com.styra.opa.openapi.utils.Hook.BeforeRequest
-
The default action is to return the request untouched.
- DEFAULT - Static variable in interface com.styra.opa.openapi.utils.Hook.SdkInit
-
The default action is to return the client untouched.
- DefaultSecuritySource(Security) - Constructor for class com.styra.opa.openapi.SecuritySource.DefaultSecuritySource
- deserialize(JsonParser, DeserializationContext) - Method in class com.styra.opa.openapi.utils.BigDecimalString.BigDecimalStringDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class com.styra.opa.openapi.utils.BigIntegerString.BigIntegerStringDeserializer
- deserialize(JsonParser, DeserializationContext) - Method in class com.styra.opa.openapi.utils.OneOfDeserializer
- Deserializers - Class in com.styra.opa.openapi.utils
- Deserializers() - Constructor for class com.styra.opa.openapi.utils.Deserializers
- discriminatorToString(Object) - Static method in class com.styra.opa.openapi.utils.Utils
- DOUBLE_STRICT - Static variable in class com.styra.opa.openapi.utils.Deserializers
E
- emptyMapIfNull(Map<K, V>) - Static method in class com.styra.opa.openapi.utils.Utils
- enable() - Method in class com.styra.opa.openapi.utils.RetryConfig.Builder
-
Enables the selected strategy.
- enable(boolean) - Method in class com.styra.opa.openapi.utils.RetryConfig.Builder
-
Enables or disables the selected strategy.
- ENUM - com.styra.opa.openapi.utils.Types
- equals(Object) - Method in exception com.styra.opa.openapi.models.errors.BatchServerError
- equals(Object) - Method in exception com.styra.opa.openapi.models.errors.ClientError
- equals(Object) - Method in exception com.styra.opa.openapi.models.errors.ClientError1
- equals(Object) - Method in class com.styra.opa.openapi.models.errors.Errors
- equals(Object) - Method in class com.styra.opa.openapi.models.errors.Location
- equals(Object) - Method in exception com.styra.opa.openapi.models.errors.SDKError
- equals(Object) - Method in exception com.styra.opa.openapi.models.errors.ServerError
- equals(Object) - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- equals(Object) - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation
- equals(Object) - Method in exception com.styra.opa.openapi.models.errors.UnhealthyServer
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBody
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBody
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.HealthRequest
- equals(Object) - Method in class com.styra.opa.openapi.models.operations.HealthResponse
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.Errors
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.HealthyServer
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.Input
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.Location
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.Provenance
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.Result
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.Revision
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.Security
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.ServerError
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
- equals(Object) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
- equals(Object) - Method in class com.styra.opa.openapi.utils.BigDecimalString
- equals(Object) - Method in class com.styra.opa.openapi.utils.BigIntegerString
- errors() - Method in exception com.styra.opa.openapi.models.errors.ClientError
- errors() - Method in exception com.styra.opa.openapi.models.errors.ClientError1
- errors() - Method in exception com.styra.opa.openapi.models.errors.ServerError
- errors() - Method in class com.styra.opa.openapi.models.shared.ServerError
- errors() - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- errors(List<Errors>) - Method in class com.styra.opa.openapi.models.errors.ClientError.Builder
- errors(List<Errors>) - Method in class com.styra.opa.openapi.models.errors.ClientError1.Builder
- errors(List<ServerErrorErrors>) - Method in class com.styra.opa.openapi.models.errors.ServerError.Builder
- errors(List<Errors>) - Method in class com.styra.opa.openapi.models.shared.ServerError.Builder
- errors(List<ResponsesErrors>) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode.Builder
- errors(Optional<? extends List<Errors>>) - Method in class com.styra.opa.openapi.models.errors.ClientError.Builder
- errors(Optional<? extends List<Errors>>) - Method in class com.styra.opa.openapi.models.errors.ClientError1.Builder
- errors(Optional<? extends List<ServerErrorErrors>>) - Method in class com.styra.opa.openapi.models.errors.ServerError.Builder
- errors(Optional<? extends List<Errors>>) - Method in class com.styra.opa.openapi.models.shared.ServerError.Builder
- errors(Optional<? extends List<ResponsesErrors>>) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode.Builder
- Errors - Class in com.styra.opa.openapi.models.errors
- Errors - Class in com.styra.opa.openapi.models.shared
- Errors(String, String) - Constructor for class com.styra.opa.openapi.models.errors.Errors
- Errors(String, String) - Constructor for class com.styra.opa.openapi.models.shared.Errors
- Errors(String, String, Optional<? extends Location>) - Constructor for class com.styra.opa.openapi.models.errors.Errors
- Errors(String, String, Optional<? extends Location>) - Constructor for class com.styra.opa.openapi.models.shared.Errors
- Errors.Builder - Class in com.styra.opa.openapi.models.errors
- Errors.Builder - Class in com.styra.opa.openapi.models.shared
- evaluate(boolean) - Method in class com.styra.opa.OPAClient
- evaluate(boolean, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(boolean, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(boolean, Class<T>) - Method in class com.styra.opa.OPAClient
- evaluate(double) - Method in class com.styra.opa.OPAClient
- evaluate(double, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(double, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(double, Class<T>) - Method in class com.styra.opa.OPAClient
- evaluate(Object) - Method in class com.styra.opa.OPAClient
- evaluate(Object, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(Object, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(Object, Class<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String) - Method in class com.styra.opa.OPAClient
-
Special case where a single string argument is used as the path rather than the input, unlike other single argument overloads.
- evaluate(String, boolean) - Method in class com.styra.opa.OPAClient
- evaluate(String, boolean, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, boolean, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(String, boolean, Class<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, double) - Method in class com.styra.opa.OPAClient
- evaluate(String, double, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, double, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(String, double, Class<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, TypeReference<T>) - Method in class com.styra.opa.OPAClient
-
Special case where a single string argument is used as the path rather than the input, unlike other single argument overloads.
- evaluate(String, JavaType) - Method in class com.styra.opa.OPAClient
-
Special case where a single string argument is used as the path rather than the input, unlike other single argument overloads.
- evaluate(String, Class<T>) - Method in class com.styra.opa.OPAClient
-
Special case where a single string argument is used as the path rather than the input, unlike other single argument overloads.
- evaluate(String, Object) - Method in class com.styra.opa.OPAClient
- evaluate(String, Object, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, Object, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(String, Object, Class<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, String) - Method in class com.styra.opa.OPAClient
- evaluate(String, String, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, String, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(String, String, Class<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, List<Object>) - Method in class com.styra.opa.OPAClient
- evaluate(String, List<Object>, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, List<Object>, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(String, List<Object>, Class<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, Map<String, Object>) - Method in class com.styra.opa.OPAClient
- evaluate(String, Map<String, Object>, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(String, Map<String, Object>, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(String, Map<String, Object>, Class<T>) - Method in class com.styra.opa.OPAClient
-
Perform a query with an input document against a Rego rule head by its path.
- evaluate(List<Object>) - Method in class com.styra.opa.OPAClient
- evaluate(List<Object>, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(List<Object>, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(List<Object>, Class<T>) - Method in class com.styra.opa.OPAClient
- evaluate(Map<String, Object>) - Method in class com.styra.opa.OPAClient
- evaluate(Map<String, Object>, TypeReference<T>) - Method in class com.styra.opa.OPAClient
- evaluate(Map<String, Object>, JavaType) - Method in class com.styra.opa.OPAClient
- evaluate(Map<String, Object>, Class<T>) - Method in class com.styra.opa.OPAClient
- evaluateBatch(String, Map<String, Object>) - Method in class com.styra.opa.OPAClient
-
Shorthand for evaluateBatch(path, input, true).
- evaluateBatch(String, Map<String, Object>, boolean) - Method in class com.styra.opa.OPAClient
-
Evaluate a batch of multiple different inputs and paths at once using Enterprise OPA's batch API.
- evaluateDeferred(String, boolean) - Method in class com.styra.opa.OPAClient
- evaluateDeferred(String, double) - Method in class com.styra.opa.OPAClient
- evaluateDeferred(String, Object) - Method in class com.styra.opa.OPAClient
- evaluateDeferred(String, String) - Method in class com.styra.opa.OPAClient
- evaluateDeferred(String, List<Object>) - Method in class com.styra.opa.OPAClient
- evaluateDeferred(String, Map<String, Object>) - Method in class com.styra.opa.OPAClient
-
This method performs a scalar policy evaluation similar to evaluate(), but does not immediately handle the result, instead packing it into an OPAResult similar to how the batch evaluation methods work.
- evaluateDeferred(Map<String, Object>) - Method in class com.styra.opa.OPAClient
- event() - Method in class com.styra.opa.openapi.utils.EventStreamMessage
- EventStream<T> - Class in com.styra.opa.openapi.utils
- EventStream(InputStream, TypeReference<T>, ObjectMapper) - Constructor for class com.styra.opa.openapi.utils.EventStream
- EventStreamLineReader - Class in com.styra.opa.openapi.utils
-
Converts CR-LF, LF, CR to LF
- EventStreamLineReader(Reader) - Constructor for class com.styra.opa.openapi.utils.EventStreamLineReader
- EventStreamMessage - Class in com.styra.opa.openapi.utils
- EventStreamMessage(Optional<String>, Optional<String>, Optional<Integer>, String) - Constructor for class com.styra.opa.openapi.utils.EventStreamMessage
- EventStreamReader - Class in com.styra.opa.openapi.utils
- EventStreamReader(InputStream) - Constructor for class com.styra.opa.openapi.utils.EventStreamReader
- exception() - Method in exception com.styra.opa.openapi.utils.Retries.NonRetryableException
- excludePlugin() - Method in class com.styra.opa.openapi.models.operations.HealthRequest
-
String parameter to exclude a plugin from status checks.
- excludePlugin(List<String>) - Method in class com.styra.opa.openapi.models.operations.HealthRequest.Builder
-
String parameter to exclude a plugin from status checks.
- excludePlugin(List<String>) - Method in class com.styra.opa.openapi.models.operations.HealthRequestBuilder
- excludePlugin(Optional<? extends List<String>>) - Method in class com.styra.opa.openapi.models.operations.HealthRequest.Builder
-
String parameter to exclude a plugin from status checks.
- excludePlugin(Optional<? extends List<String>>) - Method in class com.styra.opa.openapi.models.operations.HealthRequestBuilder
- executeBatchPolicyWithInput() - Method in class com.styra.opa.openapi.OpaApiClient
-
Execute a policy given a batch of inputs
- executeBatchPolicyWithInput(ExecuteBatchPolicyWithInputRequest) - Method in interface com.styra.opa.openapi.models.operations.SDKMethodInterfaces.MethodCallExecuteBatchPolicyWithInput
- executeBatchPolicyWithInput(ExecuteBatchPolicyWithInputRequest) - Method in class com.styra.opa.openapi.OpaApiClient
-
Execute a policy given a batch of inputs
- ExecuteBatchPolicyWithInputRequest - Class in com.styra.opa.openapi.models.operations
- ExecuteBatchPolicyWithInputRequest(String, ExecuteBatchPolicyWithInputRequestBody) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
- ExecuteBatchPolicyWithInputRequest(String, Optional<? extends GzipContentEncoding>, Optional<? extends GzipAcceptEncoding>, Optional<Boolean>, Optional<Boolean>, Optional<? extends Explain>, Optional<Boolean>, Optional<Boolean>, Optional<Boolean>, ExecuteBatchPolicyWithInputRequestBody) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
- ExecuteBatchPolicyWithInputRequest.Builder - Class in com.styra.opa.openapi.models.operations
- ExecuteBatchPolicyWithInputRequestBody - Class in com.styra.opa.openapi.models.operations
-
ExecuteBatchPolicyWithInputRequestBody - The batch of inputs
- ExecuteBatchPolicyWithInputRequestBody(Map<String, Input>) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBody
- ExecuteBatchPolicyWithInputRequestBody.Builder - Class in com.styra.opa.openapi.models.operations
- ExecuteBatchPolicyWithInputRequestBuilder - Class in com.styra.opa.openapi.models.operations
- ExecuteBatchPolicyWithInputRequestBuilder(SDKMethodInterfaces.MethodCallExecuteBatchPolicyWithInput) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBuilder
- ExecuteBatchPolicyWithInputResponse - Class in com.styra.opa.openapi.models.operations
- ExecuteBatchPolicyWithInputResponse(String, int, HttpResponse<InputStream>, Map<String, List<String>>) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
- ExecuteBatchPolicyWithInputResponse(String, int, HttpResponse<InputStream>, Optional<? extends BatchSuccessfulPolicyEvaluation>, Optional<? extends BatchMixedResults>, Map<String, List<String>>) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
- ExecuteBatchPolicyWithInputResponse.Builder - Class in com.styra.opa.openapi.models.operations
- executeDefaultPolicyWithInput() - Method in class com.styra.opa.openapi.OpaApiClient
-
Execute the default decision given an input
- executeDefaultPolicyWithInput(Input) - Method in class com.styra.opa.openapi.OpaApiClient
-
Execute the default decision given an input
- executeDefaultPolicyWithInput(Optional<Boolean>, Optional<? extends GzipAcceptEncoding>, Input) - Method in interface com.styra.opa.openapi.models.operations.SDKMethodInterfaces.MethodCallExecuteDefaultPolicyWithInput
- executeDefaultPolicyWithInput(Optional<Boolean>, Optional<? extends GzipAcceptEncoding>, Input) - Method in class com.styra.opa.openapi.OpaApiClient
-
Execute the default decision given an input
- ExecuteDefaultPolicyWithInputRequest - Class in com.styra.opa.openapi.models.operations
- ExecuteDefaultPolicyWithInputRequest(Input) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
- ExecuteDefaultPolicyWithInputRequest(Optional<Boolean>, Optional<? extends GzipAcceptEncoding>, Input) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
- ExecuteDefaultPolicyWithInputRequest.Builder - Class in com.styra.opa.openapi.models.operations
- ExecuteDefaultPolicyWithInputRequestBuilder - Class in com.styra.opa.openapi.models.operations
- ExecuteDefaultPolicyWithInputRequestBuilder(SDKMethodInterfaces.MethodCallExecuteDefaultPolicyWithInput) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequestBuilder
- ExecuteDefaultPolicyWithInputResponse - Class in com.styra.opa.openapi.models.operations
- ExecuteDefaultPolicyWithInputResponse(String, int, HttpResponse<InputStream>, Map<String, List<String>>) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
- ExecuteDefaultPolicyWithInputResponse(String, int, HttpResponse<InputStream>, Optional<? extends Result>, Map<String, List<String>>) - Constructor for class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
- ExecuteDefaultPolicyWithInputResponse.Builder - Class in com.styra.opa.openapi.models.operations
- executePolicy() - Method in class com.styra.opa.openapi.OpaApiClient
-
Execute a policy
- executePolicy(ExecutePolicyRequest) - Method in interface com.styra.opa.openapi.models.operations.SDKMethodInterfaces.MethodCallExecutePolicy
- executePolicy(ExecutePolicyRequest) - Method in class com.styra.opa.openapi.OpaApiClient
-
Execute a policy
- ExecutePolicyRequest - Class in com.styra.opa.openapi.models.operations
- ExecutePolicyRequest(String) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
- ExecutePolicyRequest(String, Optional<? extends GzipAcceptEncoding>, Optional<Boolean>, Optional<Boolean>, Optional<? extends Explain>, Optional<Boolean>, Optional<Boolean>, Optional<Boolean>) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
- ExecutePolicyRequest.Builder - Class in com.styra.opa.openapi.models.operations
- ExecutePolicyRequestBuilder - Class in com.styra.opa.openapi.models.operations
- ExecutePolicyRequestBuilder(SDKMethodInterfaces.MethodCallExecutePolicy) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyRequestBuilder
- ExecutePolicyResponse - Class in com.styra.opa.openapi.models.operations
- ExecutePolicyResponse(String, int, HttpResponse<InputStream>, Map<String, List<String>>) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
- ExecutePolicyResponse(String, int, HttpResponse<InputStream>, Optional<? extends SuccessfulPolicyResponse>, Map<String, List<String>>) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
- ExecutePolicyResponse.Builder - Class in com.styra.opa.openapi.models.operations
- executePolicyWithInput() - Method in class com.styra.opa.openapi.OpaApiClient
-
Execute a policy given an input
- executePolicyWithInput(ExecutePolicyWithInputRequest) - Method in interface com.styra.opa.openapi.models.operations.SDKMethodInterfaces.MethodCallExecutePolicyWithInput
- executePolicyWithInput(ExecutePolicyWithInputRequest) - Method in class com.styra.opa.openapi.OpaApiClient
-
Execute a policy given an input
- ExecutePolicyWithInputRequest - Class in com.styra.opa.openapi.models.operations
- ExecutePolicyWithInputRequest(String, ExecutePolicyWithInputRequestBody) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
- ExecutePolicyWithInputRequest(String, Optional<? extends GzipContentEncoding>, Optional<? extends GzipAcceptEncoding>, Optional<Boolean>, Optional<Boolean>, Optional<? extends Explain>, Optional<Boolean>, Optional<Boolean>, Optional<Boolean>, ExecutePolicyWithInputRequestBody) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
- ExecutePolicyWithInputRequest.Builder - Class in com.styra.opa.openapi.models.operations
- ExecutePolicyWithInputRequestBody - Class in com.styra.opa.openapi.models.operations
-
ExecutePolicyWithInputRequestBody - The input document
- ExecutePolicyWithInputRequestBody(Input) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBody
- ExecutePolicyWithInputRequestBody.Builder - Class in com.styra.opa.openapi.models.operations
- ExecutePolicyWithInputRequestBuilder - Class in com.styra.opa.openapi.models.operations
- ExecutePolicyWithInputRequestBuilder(SDKMethodInterfaces.MethodCallExecutePolicyWithInput) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBuilder
- ExecutePolicyWithInputResponse - Class in com.styra.opa.openapi.models.operations
- ExecutePolicyWithInputResponse(String, int, HttpResponse<InputStream>, Map<String, List<String>>) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
- ExecutePolicyWithInputResponse(String, int, HttpResponse<InputStream>, Optional<? extends SuccessfulPolicyResponse>, Map<String, List<String>>) - Constructor for class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
- ExecutePolicyWithInputResponse.Builder - Class in com.styra.opa.openapi.models.operations
- explain() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Return query explanation in addition to result.
- explain() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Return query explanation in addition to result.
- explain() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Return query explanation in addition to result.
- explain(Explain) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Return query explanation in addition to result.
- explain(Explain) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
Return query explanation in addition to result.
- explain(Explain) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Return query explanation in addition to result.
- explain(Optional<? extends Explain>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Return query explanation in addition to result.
- explain(Optional<? extends Explain>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
Return query explanation in addition to result.
- explain(Optional<? extends Explain>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Return query explanation in addition to result.
- Explain - Enum in com.styra.opa.openapi.models.shared
- exponent() - Method in class com.styra.opa.openapi.utils.BackoffStrategy
-
Deprecated.use
BackoffStrategy.baseFactor()
instead. - exponent(double) - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
-
Deprecated.use
BackoffStrategy.Builder.baseFactor(double)
instead. - extractByteArrayFromBody(HttpResponse<InputStream>) - Static method in class com.styra.opa.openapi.utils.Utils
F
- FailEarlyException(Exception) - Constructor for exception com.styra.opa.openapi.utils.Hooks.FailEarlyException
- FAILS - com.styra.opa.openapi.models.shared.Explain
- file() - Method in class com.styra.opa.openapi.models.errors.Location
- file() - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation
- file() - Method in class com.styra.opa.openapi.models.shared.Location
- file() - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation
- file(String) - Method in class com.styra.opa.openapi.models.errors.Location.Builder
- file(String) - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation.Builder
- file(String) - Method in class com.styra.opa.openapi.models.shared.Location.Builder
- file(String) - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation.Builder
- FLOAT_STRICT - Static variable in class com.styra.opa.openapi.utils.Deserializers
- forceBatchFallback(boolean) - Method in class com.styra.opa.OPAClient
-
Bypass batch mode support detection and force the API client to enable or disable fallback mode.
- FULL - com.styra.opa.openapi.models.shared.Explain
G
- generateURL(Class<T>, String, String, Optional<? extends T>, Map<String, Map<String, Map<String, Object>>>) - Static method in class com.styra.opa.openapi.utils.Utils
- generateURL(Class<T>, String, String, JsonNullable<? extends T>, Map<String, Map<String, Map<String, Object>>>) - Static method in class com.styra.opa.openapi.utils.Utils
- generateURL(Class<T>, String, String, T, Map<String, Map<String, Map<String, Object>>>) - Static method in class com.styra.opa.openapi.utils.Utils
- generateURL(String, String) - Static method in class com.styra.opa.openapi.utils.Utils
- get() - Method in class com.styra.opa.OPAResult
-
Attempt to retrieve the value stored in this result, throwing the stored exception if one is present.
- get(TypeReference<T>) - Method in class com.styra.opa.OPAResult
- get(JavaType) - Method in class com.styra.opa.OPAResult
- get(Class<T>) - Method in class com.styra.opa.OPAResult
- getException() - Method in class com.styra.opa.OPAResult
-
Retrieves the deferred exception, if any.
- getHeadersFromMetadata(Object, Map<String, Map<String, Map<String, Object>>>) - Static method in class com.styra.opa.openapi.utils.Utils
- getMapper() - Static method in class com.styra.opa.openapi.utils.JSON
- getQueryParams(Class<T>, Optional<? extends T>, Map<String, Map<String, Map<String, Object>>>) - Static method in class com.styra.opa.openapi.utils.Utils
- getQueryParams(Class<T>, JsonNullable<? extends T>, Map<String, Map<String, Map<String, Object>>>) - Static method in class com.styra.opa.openapi.utils.Utils
- getQueryParams(Class<T>, T, Map<String, Map<String, Map<String, Object>>>) - Static method in class com.styra.opa.openapi.utils.Utils
- getSecurity() - Method in class com.styra.opa.openapi.SecuritySource.DefaultSecuritySource
- getSecurity() - Method in interface com.styra.opa.openapi.SecuritySource
- getType(Class<?>) - Static method in enum com.styra.opa.openapi.utils.Types
- getValue() - Method in class com.styra.opa.OPAResult
-
Retrieves the deferred value if one is present.
- GZIP - com.styra.opa.openapi.models.shared.GzipAcceptEncoding
- GZIP - com.styra.opa.openapi.models.shared.GzipContentEncoding
- GzipAcceptEncoding - Enum in com.styra.opa.openapi.models.shared
- GzipContentEncoding - Enum in com.styra.opa.openapi.models.shared
H
- hashCode() - Method in exception com.styra.opa.openapi.models.errors.BatchServerError
- hashCode() - Method in exception com.styra.opa.openapi.models.errors.ClientError
- hashCode() - Method in exception com.styra.opa.openapi.models.errors.ClientError1
- hashCode() - Method in class com.styra.opa.openapi.models.errors.Errors
- hashCode() - Method in class com.styra.opa.openapi.models.errors.Location
- hashCode() - Method in exception com.styra.opa.openapi.models.errors.SDKError
- hashCode() - Method in exception com.styra.opa.openapi.models.errors.ServerError
- hashCode() - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- hashCode() - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation
- hashCode() - Method in exception com.styra.opa.openapi.models.errors.UnhealthyServer
- hashCode() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
- hashCode() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBody
- hashCode() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
- hashCode() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
- hashCode() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
- hashCode() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
- hashCode() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
- hashCode() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
- hashCode() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBody
- hashCode() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
- hashCode() - Method in class com.styra.opa.openapi.models.operations.HealthRequest
- hashCode() - Method in class com.styra.opa.openapi.models.operations.HealthResponse
- hashCode() - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
- hashCode() - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- hashCode() - Method in class com.styra.opa.openapi.models.shared.Errors
- hashCode() - Method in class com.styra.opa.openapi.models.shared.HealthyServer
- hashCode() - Method in class com.styra.opa.openapi.models.shared.Input
- hashCode() - Method in class com.styra.opa.openapi.models.shared.Location
- hashCode() - Method in class com.styra.opa.openapi.models.shared.Provenance
- hashCode() - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- hashCode() - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation
- hashCode() - Method in class com.styra.opa.openapi.models.shared.Result
- hashCode() - Method in class com.styra.opa.openapi.models.shared.Revision
- hashCode() - Method in class com.styra.opa.openapi.models.shared.Security
- hashCode() - Method in class com.styra.opa.openapi.models.shared.ServerError
- hashCode() - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- hashCode() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
- hashCode() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
- hashCode() - Method in class com.styra.opa.openapi.utils.BigDecimalString
- hashCode() - Method in class com.styra.opa.openapi.utils.BigIntegerString
- headers() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
- headers() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
- headers() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
- headers() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
- headers() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- headers(Map<String, List<String>>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
- headers(Map<String, List<String>>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse.Builder
- headers(Map<String, List<String>>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse.Builder
- headers(Map<String, List<String>>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse.Builder
- health() - Method in class com.styra.opa.openapi.OpaApiClient
-
Verify the server is operational The health API endpoint executes a simple built-in policy query to verify that the server is operational.
- health(Optional<Boolean>, Optional<Boolean>, Optional<? extends List<String>>) - Method in interface com.styra.opa.openapi.models.operations.SDKMethodInterfaces.MethodCallHealth
- health(Optional<Boolean>, Optional<Boolean>, Optional<? extends List<String>>) - Method in class com.styra.opa.openapi.OpaApiClient
-
Verify the server is operational The health API endpoint executes a simple built-in policy query to verify that the server is operational.
- healthDirect() - Method in class com.styra.opa.openapi.OpaApiClient
-
Verify the server is operational The health API endpoint executes a simple built-in policy query to verify that the server is operational.
- HealthRequest - Class in com.styra.opa.openapi.models.operations
- HealthRequest() - Constructor for class com.styra.opa.openapi.models.operations.HealthRequest
- HealthRequest(Optional<Boolean>, Optional<Boolean>, Optional<? extends List<String>>) - Constructor for class com.styra.opa.openapi.models.operations.HealthRequest
- HealthRequest.Builder - Class in com.styra.opa.openapi.models.operations
- HealthRequestBuilder - Class in com.styra.opa.openapi.models.operations
- HealthRequestBuilder(SDKMethodInterfaces.MethodCallHealth) - Constructor for class com.styra.opa.openapi.models.operations.HealthRequestBuilder
- HealthResponse - Class in com.styra.opa.openapi.models.operations
- HealthResponse(String, int, HttpResponse<InputStream>) - Constructor for class com.styra.opa.openapi.models.operations.HealthResponse
- HealthResponse(String, int, HttpResponse<InputStream>, Optional<? extends HealthyServer>) - Constructor for class com.styra.opa.openapi.models.operations.HealthResponse
- HealthResponse.Builder - Class in com.styra.opa.openapi.models.operations
- healthyServer() - Method in class com.styra.opa.openapi.models.operations.HealthResponse
-
OPA service is healthy.
- healthyServer(HealthyServer) - Method in class com.styra.opa.openapi.models.operations.HealthResponse.Builder
-
OPA service is healthy.
- healthyServer(Optional<? extends HealthyServer>) - Method in class com.styra.opa.openapi.models.operations.HealthResponse.Builder
-
OPA service is healthy.
- HealthyServer - Class in com.styra.opa.openapi.models.shared
-
HealthyServer - OPA service is healthy.
- HealthyServer() - Constructor for class com.styra.opa.openapi.models.shared.HealthyServer
- HealthyServer.Builder - Class in com.styra.opa.openapi.models.shared
- Helpers - Class in com.styra.opa.openapi.utils
-
Public helper methods for use by customers and end-users.
- Helpers() - Constructor for class com.styra.opa.openapi.utils.Helpers
- Hook - Class in com.styra.opa.openapi.utils
-
Holder class for hook-associated types.
- Hook.AfterError - Interface in com.styra.opa.openapi.utils
-
Specifies what happens if a request action throws an Exception.
- Hook.AfterErrorContext - Interface in com.styra.opa.openapi.utils
-
Context for an AfterError hook call.
- Hook.AfterErrorContextImpl - Class in com.styra.opa.openapi.utils
- Hook.AfterSuccess - Interface in com.styra.opa.openapi.utils
-
Specifies how a response is transformed before response processing.
- Hook.AfterSuccessContext - Interface in com.styra.opa.openapi.utils
-
Context for an AfterSuccess hook call.
- Hook.AfterSuccessContextImpl - Class in com.styra.opa.openapi.utils
- Hook.BeforeRequest - Interface in com.styra.opa.openapi.utils
-
Specifies how a request is transformed before sending.
- Hook.BeforeRequestContext - Interface in com.styra.opa.openapi.utils
-
Context for a BeforeRequest hook call.
- Hook.BeforeRequestContextImpl - Class in com.styra.opa.openapi.utils
- Hook.HookContext - Interface in com.styra.opa.openapi.utils
-
Context for a hook call.
- Hook.IdempotencyHook - Class in com.styra.opa.openapi.utils
- Hook.SdkInit - Interface in com.styra.opa.openapi.utils
-
Transforms the HTTPClient before use.
- Hook.SdkInitData - Class in com.styra.opa.openapi.utils
- Hooks - Class in com.styra.opa.openapi.utils
-
Registers hooks for use at runtime by an end-user or for use by a customer that may edit the SDKHooks.java file.
- Hooks() - Constructor for class com.styra.opa.openapi.utils.Hooks
-
Constructor.
- Hooks.FailEarlyException - Exception in com.styra.opa.openapi.utils
- HTTPClient - Interface in com.styra.opa.openapi.utils
- HTTPRequest - Class in com.styra.opa.openapi.utils
- HTTPRequest(String, String) - Constructor for class com.styra.opa.openapi.utils.HTTPRequest
- HttpResponseCached(HttpResponse<InputStream>) - Constructor for class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- httpStatusCode() - Method in interface com.styra.opa.openapi.models.shared.Responses
- httpStatusCode() - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- httpStatusCode() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
- httpStatusCode(String) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode.Builder
- httpStatusCode(String) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
- httpStatusCode(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode.Builder
- httpStatusCode(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
I
- id() - Method in class com.styra.opa.openapi.utils.EventStreamMessage
- IdempotencyHook() - Constructor for class com.styra.opa.openapi.utils.Hook.IdempotencyHook
- initialInterval(long, TimeUnit) - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
-
Sets the initial interval
- initialIntervalMs() - Method in class com.styra.opa.openapi.utils.BackoffStrategy
- initialize(Hooks) - Static method in class com.styra.opa.openapi.hooks.SDKHooks
- input() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
-
The input document
- input() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBody
-
Arbitrary JSON used within your policies by accessing `input`
- input(Input) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest.Builder
-
The input document
- input(Input) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequestBuilder
- input(Input) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBody.Builder
-
Arbitrary JSON used within your policies by accessing `input`
- Input - Class in com.styra.opa.openapi.models.shared
-
Input - Arbitrary JSON used within your policies by accessing `input`
- Input._Deserializer - Class in com.styra.opa.openapi.models.shared
- inputs() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBody
- inputs(Map<String, Input>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBody.Builder
- instrument() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- instrument() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- instrument() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- instrument(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- instrument(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- instrument(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- instrument(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- instrument(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- instrument(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- INTEGER_STRICT - Static variable in class com.styra.opa.openapi.utils.Deserializers
- isEmpty() - Method in class com.styra.opa.openapi.utils.EventStreamMessage
- isPresentAndNotNull(Optional<?>) - Static method in class com.styra.opa.openapi.utils.Utils
- isPresentAndNotNull(JsonNullable<?>) - Static method in class com.styra.opa.openapi.utils.Utils
J
- jitterFactor() - Method in class com.styra.opa.openapi.utils.BackoffStrategy
- jitterFactor(double) - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
-
Sets the jitter factor used to randomize the backoff interval.
- json(EventStreamMessage, ObjectMapper, boolean) - Static method in class com.styra.opa.openapi.utils.Utils
- JSON - Class in com.styra.opa.openapi.utils
- JSON() - Constructor for class com.styra.opa.openapi.utils.JSON
L
- LazySingletonValue<T> - Class in com.styra.opa.openapi.utils
- LazySingletonValue(String, String, TypeReference<T>) - Constructor for class com.styra.opa.openapi.utils.LazySingletonValue
- LOCAL_DATE_STRICT - Static variable in class com.styra.opa.openapi.utils.Deserializers
- location() - Method in class com.styra.opa.openapi.models.errors.Errors
- location() - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- location() - Method in class com.styra.opa.openapi.models.shared.Errors
- location() - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- location(Location) - Method in class com.styra.opa.openapi.models.errors.Errors.Builder
- location(ServerErrorLocation) - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors.Builder
- location(Location) - Method in class com.styra.opa.openapi.models.shared.Errors.Builder
- location(ResponsesLocation) - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors.Builder
- location(Optional<? extends Location>) - Method in class com.styra.opa.openapi.models.errors.Errors.Builder
- location(Optional<? extends ServerErrorLocation>) - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors.Builder
- location(Optional<? extends Location>) - Method in class com.styra.opa.openapi.models.shared.Errors.Builder
- location(Optional<? extends ResponsesLocation>) - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors.Builder
- Location - Class in com.styra.opa.openapi.models.errors
- Location - Class in com.styra.opa.openapi.models.shared
- Location(String, long, long) - Constructor for class com.styra.opa.openapi.models.errors.Location
- Location(String, long, long) - Constructor for class com.styra.opa.openapi.models.shared.Location
- Location.Builder - Class in com.styra.opa.openapi.models.errors
- Location.Builder - Class in com.styra.opa.openapi.models.shared
- LONG_STRICT - Static variable in class com.styra.opa.openapi.utils.Deserializers
M
- MAP - com.styra.opa.openapi.utils.Types
- mapper() - Static method in class com.styra.opa.openapi.utils.Utils
- matchPossible(JavaType, String) - Static method in class com.styra.opa.openapi.utils.OneOfDeserializer
- maxElapsedTime(long, TimeUnit) - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
-
Sets the maximum elapsed time
- maxElapsedTimeMs() - Method in class com.styra.opa.openapi.utils.BackoffStrategy
- maxInterval(long, TimeUnit) - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
-
Sets the maximum interval
- maxIntervalMs() - Method in class com.styra.opa.openapi.utils.BackoffStrategy
- message() - Method in exception com.styra.opa.openapi.models.errors.ClientError
- message() - Method in exception com.styra.opa.openapi.models.errors.ClientError1
- message() - Method in class com.styra.opa.openapi.models.errors.Errors
- message() - Method in exception com.styra.opa.openapi.models.errors.SDKError
- message() - Method in exception com.styra.opa.openapi.models.errors.ServerError
- message() - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- message() - Method in class com.styra.opa.openapi.models.shared.Errors
- message() - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- message() - Method in class com.styra.opa.openapi.models.shared.ServerError
- message() - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- message(String) - Method in class com.styra.opa.openapi.models.errors.ClientError.Builder
- message(String) - Method in class com.styra.opa.openapi.models.errors.ClientError1.Builder
- message(String) - Method in class com.styra.opa.openapi.models.errors.Errors.Builder
- message(String) - Method in class com.styra.opa.openapi.models.errors.ServerError.Builder
- message(String) - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors.Builder
- message(String) - Method in class com.styra.opa.openapi.models.shared.Errors.Builder
- message(String) - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors.Builder
- message(String) - Method in class com.styra.opa.openapi.models.shared.ServerError.Builder
- message(String) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode.Builder
- metrics() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Return query performance metrics in addition to result.
- metrics() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Return query performance metrics in addition to result.
- metrics() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Return query performance metrics in addition to result.
- metrics() - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics() - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Return query performance metrics in addition to result.
- metrics(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
Return query performance metrics in addition to result.
- metrics(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Return query performance metrics in addition to result.
- metrics(Map<String, Object>) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults.Builder
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics(Map<String, Object>) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation.Builder
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics(Map<String, Object>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse.Builder
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics(Map<String, Object>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics(Optional<? extends Map<String, Object>>) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults.Builder
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics(Optional<? extends Map<String, Object>>) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation.Builder
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics(Optional<? extends Map<String, Object>>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse.Builder
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics(Optional<? extends Map<String, Object>>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- metrics(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Return query performance metrics in addition to result.
- metrics(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
Return query performance metrics in addition to result.
- metrics(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Return query performance metrics in addition to result.
N
- next() - Method in class com.styra.opa.openapi.utils.EventStream
-
Returns the next message.
- NONE - com.styra.opa.openapi.utils.RetryConfig.Strategy
- NonRetryableException(Exception) - Constructor for exception com.styra.opa.openapi.utils.Retries.NonRetryableException
- noRetries() - Method in class com.styra.opa.openapi.utils.RetryConfig.Builder
-
Disables retries (sets strategy to "none").
- noRetries() - Static method in class com.styra.opa.openapi.utils.RetryConfig
- NOTES - com.styra.opa.openapi.models.shared.Explain
O
- oauthScopes() - Method in class com.styra.opa.openapi.utils.Hook.AfterErrorContextImpl
- oauthScopes() - Method in class com.styra.opa.openapi.utils.Hook.AfterSuccessContextImpl
- oauthScopes() - Method in class com.styra.opa.openapi.utils.Hook.BeforeRequestContextImpl
- oauthScopes() - Method in interface com.styra.opa.openapi.utils.Hook.HookContext
- OBJECT - com.styra.opa.openapi.utils.Types
- of(boolean) - Static method in class com.styra.opa.openapi.models.shared.Input
- of(boolean) - Static method in class com.styra.opa.openapi.models.shared.Result
- of(double) - Static method in class com.styra.opa.openapi.models.shared.Input
- of(double) - Static method in class com.styra.opa.openapi.models.shared.Result
- of(TypeReference<?>, Utils.JsonShape) - Static method in class com.styra.opa.openapi.utils.Utils.TypeReferenceWithShape
- of(Security) - Static method in interface com.styra.opa.openapi.SecuritySource
- of(String) - Static method in class com.styra.opa.openapi.models.shared.Input
- of(String) - Static method in class com.styra.opa.openapi.models.shared.Result
- of(List<Object>) - Static method in class com.styra.opa.openapi.models.shared.Input
- of(List<Object>) - Static method in class com.styra.opa.openapi.models.shared.Result
- of(Map<String, Object>) - Static method in class com.styra.opa.openapi.models.shared.Input
- of(Map<String, Object>) - Static method in class com.styra.opa.openapi.models.shared.Result
- of(T, Utils.JsonShape, TypeReference<T>) - Static method in class com.styra.opa.openapi.utils.TypedObject
- OFFSET_DATE_TIME_STRICT - Static variable in class com.styra.opa.openapi.utils.Deserializers
- OneOfDeserializer<T> - Class in com.styra.opa.openapi.utils
- OneOfDeserializer(Class<T>, boolean, Utils.TypeReferenceWithShape...) - Constructor for class com.styra.opa.openapi.utils.OneOfDeserializer
-
Constructor.
- OpaApiClient - Class in com.styra.opa.openapi
-
https://docs.styra.com/enterprise-opa - Enterprise OPA documentation
- OpaApiClient.Builder - Class in com.styra.opa.openapi
-
The Builder class allows the configuration of a new instance of the SDK.
- OPAClient - Class in com.styra.opa
-
The OPA class contains all the functionality and configuration needed to make "happy path" queries against an OPA server.
- OPAClient() - Constructor for class com.styra.opa.OPAClient
-
Instantiate a new OPA wrapper with default settings.
- OPAClient(OpaApiClient) - Constructor for class com.styra.opa.OPAClient
-
This constructor acts as an escape hatch, allowing you to provide your own instance of the Speakeasy generated client.
- OPAClient(String) - Constructor for class com.styra.opa.OPAClient
-
Instantiates an OPA API wrapper with a custom OPA URL.
- OPAClient(String, HTTPClient) - Constructor for class com.styra.opa.OPAClient
-
This constructor can be used to instantiate an OPAClient which uses a custom HTTP client implementation for the underlying OpaApiClient.
- OPAClient(String, Map<String, String>) - Constructor for class com.styra.opa.OPAClient
-
This constructor allows instantiating the OPA wrapper with additional HTTP headers to be injected into every request.
- OPAException - Exception in com.styra.opa
- OPAException(String) - Constructor for exception com.styra.opa.OPAException
- OPAException(String, Throwable) - Constructor for exception com.styra.opa.OPAException
- OPAException(Throwable) - Constructor for exception com.styra.opa.OPAException
- OPAHTTPClient - Class in com.styra.opa.utils
-
This HTTPClient implementation also injects additional headers provided to its constructor into each HTTP request that it sends.
- OPAHTTPClient() - Constructor for class com.styra.opa.utils.OPAHTTPClient
-
If instantiated with this constructor, OPAHTTPClient will be initialized with an empty list of extra headers to inject.
- OPAHTTPClient(Map<String, String>) - Constructor for class com.styra.opa.utils.OPAHTTPClient
-
Instantiates a new HTTP client suitable for use with the Speakeasy SDK, but with additional headers included in every request.
- OPALatencyMeasuringHTTPClient - Class in com.styra.opa.utils
-
This HTTPClient implementation wraps OPAHTTPClient and has the same functionality, but also creates log messages indicating the latency for each request processed.
- OPALatencyMeasuringHTTPClient() - Constructor for class com.styra.opa.utils.OPALatencyMeasuringHTTPClient
- OPALatencyMeasuringHTTPClient(Map<String, String>) - Constructor for class com.styra.opa.utils.OPALatencyMeasuringHTTPClient
-
This constructor allows providing additional headers that should be passed to OPAHTTPClient.
- OPAResult - Class in com.styra.opa
-
This class encapsulates a result of a previous OPA request for deferred access.
- OPAResult(Object) - Constructor for class com.styra.opa.OPAResult
- OPAResult(Object, OPAException) - Constructor for class com.styra.opa.OPAResult
- operationId() - Method in class com.styra.opa.openapi.utils.Hook.AfterErrorContextImpl
- operationId() - Method in class com.styra.opa.openapi.utils.Hook.AfterSuccessContextImpl
- operationId() - Method in class com.styra.opa.openapi.utils.Hook.BeforeRequestContextImpl
- operationId() - Method in interface com.styra.opa.openapi.utils.Hook.HookContext
- Options - Class in com.styra.opa.openapi.utils
- Options.Builder - Class in com.styra.opa.openapi.utils
- Options.Option - Enum in com.styra.opa.openapi.utils
P
- parseMessage(String) - Static method in class com.styra.opa.openapi.utils.EventStreamReader
- parseQueryParams(Class<T>, T, Map<String, Map<String, Map<String, Object>>>) - Static method in class com.styra.opa.openapi.utils.QueryParameters
- path() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
The path separator is used to access values inside object and array documents.
- path() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
The path separator is used to access values inside object and array documents.
- path() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
The path separator is used to access values inside object and array documents.
- path(String) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
The path separator is used to access values inside object and array documents.
- path(String) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
The path separator is used to access values inside object and array documents.
- path(String) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
The path separator is used to access values inside object and array documents.
- plugins() - Method in class com.styra.opa.openapi.models.operations.HealthRequest
-
Boolean parameter to account for plugin status in response.
- plugins(boolean) - Method in class com.styra.opa.openapi.models.operations.HealthRequest.Builder
-
Boolean parameter to account for plugin status in response.
- plugins(boolean) - Method in class com.styra.opa.openapi.models.operations.HealthRequestBuilder
- plugins(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.HealthRequest.Builder
-
Boolean parameter to account for plugin status in response.
- plugins(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.HealthRequestBuilder
- populateGlobal(Object, String, String, Map<String, Map<String, Map<String, Object>>>) - Static method in class com.styra.opa.openapi.utils.Utils
- prefixBearer(String) - Static method in class com.styra.opa.openapi.utils.Utils
- pretty() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
If parameter is `true`, response will formatted for humans.
- pretty() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
-
If parameter is `true`, response will formatted for humans.
- pretty() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
If parameter is `true`, response will formatted for humans.
- pretty() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
If parameter is `true`, response will formatted for humans.
- pretty(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
If parameter is `true`, response will formatted for humans.
- pretty(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest.Builder
-
If parameter is `true`, response will formatted for humans.
- pretty(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequestBuilder
- pretty(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
If parameter is `true`, response will formatted for humans.
- pretty(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
If parameter is `true`, response will formatted for humans.
- pretty(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
If parameter is `true`, response will formatted for humans.
- pretty(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest.Builder
-
If parameter is `true`, response will formatted for humans.
- pretty(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequestBuilder
- pretty(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
If parameter is `true`, response will formatted for humans.
- pretty(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
If parameter is `true`, response will formatted for humans.
- previousResponse() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- PRIMITIVE - com.styra.opa.openapi.utils.Types
- provenance() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
If parameter is true, response will include build/version info in addition to the result.
- provenance() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
If parameter is true, response will include build/version info in addition to the result.
- provenance() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
If parameter is true, response will include build/version info in addition to the result.
- provenance() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
Provenance information can be requested on individual API calls and are returned inline with the API response.
- provenance() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
Provenance information can be requested on individual API calls and are returned inline with the API response.
- provenance(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
If parameter is true, response will include build/version info in addition to the result.
- provenance(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
If parameter is true, response will include build/version info in addition to the result.
- provenance(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
If parameter is true, response will include build/version info in addition to the result.
- provenance(Provenance) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse.Builder
-
Provenance information can be requested on individual API calls and are returned inline with the API response.
- provenance(Provenance) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
-
Provenance information can be requested on individual API calls and are returned inline with the API response.
- provenance(Optional<? extends Provenance>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse.Builder
-
Provenance information can be requested on individual API calls and are returned inline with the API response.
- provenance(Optional<? extends Provenance>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
-
Provenance information can be requested on individual API calls and are returned inline with the API response.
- provenance(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
If parameter is true, response will include build/version info in addition to the result.
- provenance(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
If parameter is true, response will include build/version info in addition to the result.
- provenance(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
If parameter is true, response will include build/version info in addition to the result.
- Provenance - Class in com.styra.opa.openapi.models.shared
-
Provenance - Provenance information can be requested on individual API calls and are returned inline with the API response.
- Provenance() - Constructor for class com.styra.opa.openapi.models.shared.Provenance
- Provenance(Optional<String>, Optional<String>, Optional<OffsetDateTime>, Optional<String>, Optional<? extends Map<String, Revision>>) - Constructor for class com.styra.opa.openapi.models.shared.Provenance
- Provenance.Builder - Class in com.styra.opa.openapi.models.shared
Q
- QueryParameters - Class in com.styra.opa.openapi.utils
- QueryParameters() - Constructor for class com.styra.opa.openapi.utils.QueryParameters
R
- rawResponse() - Method in exception com.styra.opa.openapi.models.errors.SDKError
- rawResponse() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
Raw HTTP response; suitable for custom response parsing
- rawResponse() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
-
Raw HTTP response; suitable for custom response parsing
- rawResponse() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
-
Raw HTTP response; suitable for custom response parsing
- rawResponse() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
-
Raw HTTP response; suitable for custom response parsing
- rawResponse() - Method in class com.styra.opa.openapi.models.operations.HealthResponse
-
Raw HTTP response; suitable for custom response parsing
- rawResponse() - Method in interface com.styra.opa.openapi.utils.Response
-
Returns the raw response.
- rawResponse(HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
-
Raw HTTP response; suitable for custom response parsing
- rawResponse(HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse.Builder
-
Raw HTTP response; suitable for custom response parsing
- rawResponse(HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse.Builder
-
Raw HTTP response; suitable for custom response parsing
- rawResponse(HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse.Builder
-
Raw HTTP response; suitable for custom response parsing
- rawResponse(HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.models.operations.HealthResponse.Builder
-
Raw HTTP response; suitable for custom response parsing
- read() - Method in class com.styra.opa.openapi.utils.EventStreamLineReader
- read(char[], int, int) - Method in class com.styra.opa.openapi.utils.EventStreamLineReader
- readDefaultOrConstValue(String, String, TypeReference<T>) - Static method in class com.styra.opa.openapi.utils.Utils
- readMessage() - Method in class com.styra.opa.openapi.utils.EventStreamReader
- readRawMessage() - Method in class com.styra.opa.openapi.utils.EventStreamReader
-
Returns the event message (lines separated by \n) without the terminating \n\n.
- recordTest(String) - Static method in class com.styra.opa.openapi.utils.Utils
- referenceEquals(Object, Object) - Static method in class com.styra.opa.openapi.utils.Utils
- registerAfterError(Hook.AfterError) - Method in class com.styra.opa.openapi.utils.Hooks
-
Registers an
Hook.AfterError
hook to be applied in order of registration (multiple can be registered). - registerAfterSuccess(Hook.AfterSuccess) - Method in class com.styra.opa.openapi.utils.Hooks
-
Registers an
Hook.AfterSuccess
hook to be applied in order of registration (multiple can be registered). - registerBeforeRequest(Hook.BeforeRequest) - Method in class com.styra.opa.openapi.utils.Hooks
-
Registers a
Hook.BeforeRequest
hook to be applied in order of registration. - registerSdkInit(Hook.SdkInit) - Method in class com.styra.opa.openapi.utils.Hooks
-
Registers a
Hook.SdkInit
hook to be applied in order of registration (multiple can be registered). - request() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- request(ExecuteBatchPolicyWithInputRequest) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBuilder
- request(ExecutePolicyRequest) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequestBuilder
- request(ExecutePolicyWithInputRequest) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBuilder
- requestBody() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
The batch of inputs
- requestBody() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
The input document
- requestBody(ExecuteBatchPolicyWithInputRequestBody) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
The batch of inputs
- requestBody(ExecutePolicyWithInputRequestBody) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
The input document
- RequestBody - Class in com.styra.opa.openapi.utils
- resolveOptionals(Object) - Static method in class com.styra.opa.openapi.utils.Utils
- response() - Method in exception com.styra.opa.openapi.utils.Retries.RetryableException
- Response - Interface in com.styra.opa.openapi.utils
- responses() - Method in exception com.styra.opa.openapi.models.errors.BatchServerError
- responses() - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
- responses() - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- responses(Map<String, Responses>) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults.Builder
- responses(Map<String, ServerError>) - Method in class com.styra.opa.openapi.models.errors.BatchServerError.Builder
- responses(Map<String, SuccessfulPolicyResponse>) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation.Builder
- responses(Optional<? extends Map<String, Responses>>) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults.Builder
- responses(Optional<? extends Map<String, ServerError>>) - Method in class com.styra.opa.openapi.models.errors.BatchServerError.Builder
- responses(Optional<? extends Map<String, SuccessfulPolicyResponse>>) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation.Builder
- Responses - Interface in com.styra.opa.openapi.models.shared
- ResponsesErrors - Class in com.styra.opa.openapi.models.shared
- ResponsesErrors(String, String) - Constructor for class com.styra.opa.openapi.models.shared.ResponsesErrors
- ResponsesErrors(String, String, Optional<? extends ResponsesLocation>) - Constructor for class com.styra.opa.openapi.models.shared.ResponsesErrors
- ResponsesErrors.Builder - Class in com.styra.opa.openapi.models.shared
- ResponsesLocation - Class in com.styra.opa.openapi.models.shared
- ResponsesLocation(String, long, long) - Constructor for class com.styra.opa.openapi.models.shared.ResponsesLocation
- ResponsesLocation.Builder - Class in com.styra.opa.openapi.models.shared
- result() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
-
Success.
- result() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
The base or virtual document referred to by the URL path.
- result() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
The base or virtual document referred to by the URL path.
- result(Result) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse.Builder
-
Success.
- result(Result) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse.Builder
-
The base or virtual document referred to by the URL path.
- result(Result) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
-
The base or virtual document referred to by the URL path.
- result(Optional<? extends Result>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse.Builder
-
Success.
- result(Optional<? extends Result>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse.Builder
-
The base or virtual document referred to by the URL path.
- result(Optional<? extends Result>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode.Builder
-
The base or virtual document referred to by the URL path.
- Result - Class in com.styra.opa.openapi.models.shared
-
Result - The base or virtual document referred to by the URL path.
- Result._Deserializer - Class in com.styra.opa.openapi.models.shared
- Retries - Class in com.styra.opa.openapi.utils
- Retries.Builder - Class in com.styra.opa.openapi.utils
- Retries.NonRetryableException - Exception in com.styra.opa.openapi.utils
- Retries.RetryableException - Exception in com.styra.opa.openapi.utils
- RETRY_CONFIG - com.styra.opa.openapi.utils.Options.Option
- RetryableException(HttpResponse<InputStream>) - Constructor for exception com.styra.opa.openapi.utils.Retries.RetryableException
- retryConfig() - Method in class com.styra.opa.openapi.utils.Options
- retryConfig(RetryConfig) - Method in class com.styra.opa.openapi.OpaApiClient.Builder
-
Overrides the default configuration for retries
- retryConfig(RetryConfig) - Method in class com.styra.opa.openapi.utils.Options.Builder
- retryConfig(RetryConfig) - Method in class com.styra.opa.openapi.utils.Retries.Builder
-
Defines the retry configuration.
- retryConfig(Optional<RetryConfig>) - Method in class com.styra.opa.openapi.utils.Options.Builder
- RetryConfig - Class in com.styra.opa.openapi.utils
- RetryConfig.Builder - Class in com.styra.opa.openapi.utils
- RetryConfig.Strategy - Enum in com.styra.opa.openapi.utils
- retryConnectError() - Method in class com.styra.opa.openapi.utils.BackoffStrategy
- retryConnectError(boolean) - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
-
Specifies whether connection errors should be retried.
- retryMs() - Method in class com.styra.opa.openapi.utils.EventStreamMessage
- retryReadTimeoutError() - Method in class com.styra.opa.openapi.utils.BackoffStrategy
- retryReadTimeoutError(boolean) - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
-
Specifies whether Read Timeout errors should be retried.
- revision() - Method in class com.styra.opa.openapi.models.shared.Revision
- revision(String) - Method in class com.styra.opa.openapi.models.shared.Revision.Builder
- Revision - Class in com.styra.opa.openapi.models.shared
- Revision(String) - Constructor for class com.styra.opa.openapi.models.shared.Revision
- Revision.Builder - Class in com.styra.opa.openapi.models.shared
- row() - Method in class com.styra.opa.openapi.models.errors.Location
- row() - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation
- row() - Method in class com.styra.opa.openapi.models.shared.Location
- row() - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation
- row(long) - Method in class com.styra.opa.openapi.models.errors.Location.Builder
- row(long) - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation.Builder
- row(long) - Method in class com.styra.opa.openapi.models.shared.Location.Builder
- row(long) - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation.Builder
- run() - Method in class com.styra.opa.openapi.utils.Retries
S
- SDKError - Exception in com.styra.opa.openapi.models.errors
-
Thrown by a service call when an error response occurs.
- SDKError(HttpResponse<InputStream>, int, String, byte[]) - Constructor for exception com.styra.opa.openapi.models.errors.SDKError
- SDKHooks - Class in com.styra.opa.openapi.hooks
- sdkInit(Hook.SdkInitData) - Method in interface com.styra.opa.openapi.utils.Hook.SdkInit
-
Returns a transformed
HTTPClient
andbaseUrl
for use in requests. - sdkInit(Hook.SdkInitData) - Method in class com.styra.opa.openapi.utils.Hooks
- SdkInitData(String, HTTPClient) - Constructor for class com.styra.opa.openapi.utils.Hook.SdkInitData
- SDKMethodInterfaces - Class in com.styra.opa.openapi.models.operations
- SDKMethodInterfaces() - Constructor for class com.styra.opa.openapi.models.operations.SDKMethodInterfaces
- SDKMethodInterfaces.MethodCallExecuteBatchPolicyWithInput - Interface in com.styra.opa.openapi.models.operations
- SDKMethodInterfaces.MethodCallExecuteDefaultPolicyWithInput - Interface in com.styra.opa.openapi.models.operations
- SDKMethodInterfaces.MethodCallExecutePolicy - Interface in com.styra.opa.openapi.models.operations
- SDKMethodInterfaces.MethodCallExecutePolicyWithInput - Interface in com.styra.opa.openapi.models.operations
- SDKMethodInterfaces.MethodCallHealth - Interface in com.styra.opa.openapi.models.operations
- security(Security) - Method in class com.styra.opa.openapi.OpaApiClient.Builder
-
Configures the SDK to use the provided security details.
- Security - Class in com.styra.opa.openapi.models.shared
- Security - Class in com.styra.opa.openapi.utils
- Security() - Constructor for class com.styra.opa.openapi.models.shared.Security
- Security(Optional<String>) - Constructor for class com.styra.opa.openapi.models.shared.Security
- Security.Builder - Class in com.styra.opa.openapi.models.shared
- securitySource() - Method in class com.styra.opa.openapi.utils.Hook.AfterErrorContextImpl
- securitySource() - Method in class com.styra.opa.openapi.utils.Hook.AfterSuccessContextImpl
- securitySource() - Method in class com.styra.opa.openapi.utils.Hook.BeforeRequestContextImpl
- securitySource() - Method in interface com.styra.opa.openapi.utils.Hook.HookContext
- securitySource(SecuritySource) - Method in class com.styra.opa.openapi.OpaApiClient.Builder
-
Configures the SDK to use a custom security source.
- SecuritySource - Interface in com.styra.opa.openapi
- SecuritySource.DefaultSecuritySource - Class in com.styra.opa.openapi
- send(HttpRequest) - Method in interface com.styra.opa.openapi.utils.HTTPClient
-
Sends an HTTP request and returns the response.
- send(HttpRequest) - Method in class com.styra.opa.openapi.utils.SpeakeasyHTTPClient
- send(HttpRequest) - Method in class com.styra.opa.utils.OPAHTTPClient
-
This method implements compatibility with the com.styra.opa.sdk.utils.HTTPClient interface.
- send(HttpRequest) - Method in class com.styra.opa.utils.OPALatencyMeasuringHTTPClient
- serialize(BigDecimalString, JsonGenerator, SerializerProvider) - Method in class com.styra.opa.openapi.utils.BigDecimalString.BigDecimalStringSerializer
- serialize(BigIntegerString, JsonGenerator, SerializerProvider) - Method in class com.styra.opa.openapi.utils.BigIntegerString.BigIntegerStringSerializer
- serialize(TypedObject, JsonGenerator, SerializerProvider) - Method in class com.styra.opa.openapi.utils.TypedObject.Serializer
- serialize(Object, String, String, boolean) - Static method in class com.styra.opa.openapi.utils.RequestBody
- SerializedBody - Class in com.styra.opa.openapi.utils
- SerializedBody(String, HttpRequest.BodyPublisher) - Constructor for class com.styra.opa.openapi.utils.SerializedBody
- serializeFormData(Object) - Static method in class com.styra.opa.openapi.utils.RequestBody
- Serializer() - Constructor for class com.styra.opa.openapi.utils.TypedObject.Serializer
- serializeRequestBody(Object, String, String, boolean) - Static method in class com.styra.opa.openapi.utils.Utils
- ServerError - Exception in com.styra.opa.openapi.models.errors
-
ServerError - Server Error
- ServerError - Class in com.styra.opa.openapi.models.shared
- ServerError(String, String) - Constructor for exception com.styra.opa.openapi.models.errors.ServerError
- ServerError(String, String) - Constructor for class com.styra.opa.openapi.models.shared.ServerError
- ServerError(String, String, Optional<? extends List<ServerErrorErrors>>, Optional<String>) - Constructor for exception com.styra.opa.openapi.models.errors.ServerError
- ServerError(String, String, Optional<? extends List<Errors>>, Optional<String>) - Constructor for class com.styra.opa.openapi.models.shared.ServerError
- ServerError.Builder - Class in com.styra.opa.openapi.models.errors
- ServerError.Builder - Class in com.styra.opa.openapi.models.shared
- ServerErrorErrors - Class in com.styra.opa.openapi.models.errors
- ServerErrorErrors(String, String) - Constructor for class com.styra.opa.openapi.models.errors.ServerErrorErrors
- ServerErrorErrors(String, String, Optional<? extends ServerErrorLocation>) - Constructor for class com.styra.opa.openapi.models.errors.ServerErrorErrors
- ServerErrorErrors.Builder - Class in com.styra.opa.openapi.models.errors
- ServerErrorLocation - Class in com.styra.opa.openapi.models.errors
- ServerErrorLocation(String, long, long) - Constructor for class com.styra.opa.openapi.models.errors.ServerErrorLocation
- ServerErrorLocation.Builder - Class in com.styra.opa.openapi.models.errors
- ServerErrorWithStatusCode - Class in com.styra.opa.openapi.models.shared
- ServerErrorWithStatusCode(String, String) - Constructor for class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- ServerErrorWithStatusCode(Optional<String>, String, String, Optional<? extends List<ResponsesErrors>>, Optional<String>) - Constructor for class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- ServerErrorWithStatusCode.Builder - Class in com.styra.opa.openapi.models.shared
- serverIndex(int) - Method in class com.styra.opa.openapi.OpaApiClient.Builder
-
Overrides the default server by index.
- SERVERS - Static variable in class com.styra.opa.openapi.OpaApiClient
-
SERVERS contains the list of server urls available to the SDK.
- serverURL(String) - Method in class com.styra.opa.openapi.OpaApiClient.Builder
-
Overrides the default server URL.
- serverURL(String, Map<String, String>) - Method in class com.styra.opa.openapi.OpaApiClient.Builder
-
Overrides the default server URL with a templated URL populated with the provided parameters.
- setBody(Optional<SerializedBody>) - Method in class com.styra.opa.openapi.utils.HTTPRequest
- setLatencyMeasurementFormat(String) - Method in class com.styra.opa.utils.OPALatencyMeasuringHTTPClient
-
Modify the format in which the latency measurements are logged, the default is "path=''{1}'' latency={0,number,#}ms".
- setLatencyMeasurementLogLevel(Level) - Method in class com.styra.opa.utils.OPALatencyMeasuringHTTPClient
-
Modify the log level at which latency measurements are recorded, the default is FINE.
- shape() - Method in class com.styra.opa.openapi.utils.TypedObject
- shape() - Method in class com.styra.opa.openapi.utils.Utils.TypeReferenceWithShape
- SHORT_STRICT - Static variable in class com.styra.opa.openapi.utils.Deserializers
- sortQueryParameters(String) - Static method in class com.styra.opa.openapi.utils.Utils
-
Returns an equivalent url with query parameters sorted by name.
- sortSerializedMaps(Object, String, String) - Static method in class com.styra.opa.openapi.utils.Utils
- SpeakeasyHTTPClient - Class in com.styra.opa.openapi.utils
- SpeakeasyHTTPClient() - Constructor for class com.styra.opa.openapi.utils.SpeakeasyHTTPClient
- SpeakeasyMetadata - Annotation Type in com.styra.opa.openapi.utils
- sslSession() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- statusCode() - Method in exception com.styra.opa.openapi.models.errors.AuthException
- statusCode() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
HTTP response status code for this operation
- statusCode() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
-
HTTP response status code for this operation
- statusCode() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
-
HTTP response status code for this operation
- statusCode() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
-
HTTP response status code for this operation
- statusCode() - Method in class com.styra.opa.openapi.models.operations.HealthResponse
-
HTTP response status code for this operation
- statusCode() - Method in interface com.styra.opa.openapi.utils.Response
-
Returns the HTTP status code.
- statusCode() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- statusCode(int) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse.Builder
-
HTTP response status code for this operation
- statusCode(int) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse.Builder
-
HTTP response status code for this operation
- statusCode(int) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse.Builder
-
HTTP response status code for this operation
- statusCode(int) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse.Builder
-
HTTP response status code for this operation
- statusCode(int) - Method in class com.styra.opa.openapi.models.operations.HealthResponse.Builder
-
HTTP response status code for this operation
- statusCodeMatches(int, String...) - Static method in class com.styra.opa.openapi.utils.Utils
- statusCodeMatchesOne(int, String) - Static method in class com.styra.opa.openapi.utils.Utils
- statusCodes(List<String>) - Method in class com.styra.opa.openapi.utils.Retries.Builder
-
Defines the status codes that should be considered as errors.
- strategy() - Method in class com.styra.opa.openapi.utils.RetryConfig
- stream() - Method in class com.styra.opa.openapi.utils.EventStream
-
Returns a
Stream
of events. - stream(Callable<Optional<T>>, Utils.Function<T, Optional<T>>) - Static method in class com.styra.opa.openapi.utils.Utils
- STRICT_DESERIALIZERS - Static variable in class com.styra.opa.openapi.utils.Deserializers
- strictBuiltinErrors() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Treat built-in function call errors as fatal and return an error immediately.
- strictBuiltinErrors() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Treat built-in function call errors as fatal and return an error immediately.
- strictBuiltinErrors() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Treat built-in function call errors as fatal and return an error immediately.
- strictBuiltinErrors(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Treat built-in function call errors as fatal and return an error immediately.
- strictBuiltinErrors(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
Treat built-in function call errors as fatal and return an error immediately.
- strictBuiltinErrors(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Treat built-in function call errors as fatal and return an error immediately.
- strictBuiltinErrors(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest.Builder
-
Treat built-in function call errors as fatal and return an error immediately.
- strictBuiltinErrors(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest.Builder
-
Treat built-in function call errors as fatal and return an error immediately.
- strictBuiltinErrors(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest.Builder
-
Treat built-in function call errors as fatal and return an error immediately.
- STRING - com.styra.opa.openapi.utils.Utils.JsonShape
- STRING_STRICT - Static variable in class com.styra.opa.openapi.utils.Deserializers
- success() - Method in class com.styra.opa.OPAResult
-
Returns true if and only if this result contains a non-null value AND ta null exception.
- successfulPolicyResponse() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
-
Success.
- successfulPolicyResponse() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
-
Success.
- successfulPolicyResponse(SuccessfulPolicyResponse) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse.Builder
-
Success.
- successfulPolicyResponse(SuccessfulPolicyResponse) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse.Builder
-
Success.
- successfulPolicyResponse(Optional<? extends SuccessfulPolicyResponse>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse.Builder
-
Success.
- successfulPolicyResponse(Optional<? extends SuccessfulPolicyResponse>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse.Builder
-
Success.
- SuccessfulPolicyResponse - Class in com.styra.opa.openapi.models.shared
-
SuccessfulPolicyResponse - Success.
- SuccessfulPolicyResponse() - Constructor for class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
- SuccessfulPolicyResponse(Optional<? extends Result>, Optional<? extends Map<String, Object>>, Optional<String>, Optional<? extends Provenance>) - Constructor for class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
- SuccessfulPolicyResponse.Builder - Class in com.styra.opa.openapi.models.shared
- SuccessfulPolicyResponseWithStatusCode - Class in com.styra.opa.openapi.models.shared
- SuccessfulPolicyResponseWithStatusCode() - Constructor for class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
- SuccessfulPolicyResponseWithStatusCode(Optional<String>, Optional<? extends Result>, Optional<? extends Map<String, Object>>, Optional<String>, Optional<? extends Provenance>) - Constructor for class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
- SuccessfulPolicyResponseWithStatusCode.Builder - Class in com.styra.opa.openapi.models.shared
T
- templateUrl(String, Map<String, String>) - Static method in class com.styra.opa.openapi.utils.Utils
- throwConnectError() - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
-
Do not retry on connection error.
- throwReadTimeoutError() - Method in class com.styra.opa.openapi.utils.BackoffStrategy.Builder
-
Do not retry on Read Timeout error.
- toByteArrayAndClose(InputStream) - Static method in class com.styra.opa.openapi.utils.Utils
- toList() - Method in class com.styra.opa.openapi.utils.EventStream
-
Reads all events and returns them as a
List
. - toList(Object) - Static method in class com.styra.opa.openapi.utils.Utils
- toString() - Method in exception com.styra.opa.openapi.models.errors.BatchServerError
- toString() - Method in exception com.styra.opa.openapi.models.errors.ClientError
- toString() - Method in exception com.styra.opa.openapi.models.errors.ClientError1
- toString() - Method in class com.styra.opa.openapi.models.errors.Errors
- toString() - Method in class com.styra.opa.openapi.models.errors.Location
- toString() - Method in exception com.styra.opa.openapi.models.errors.SDKError
- toString() - Method in exception com.styra.opa.openapi.models.errors.ServerError
- toString() - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- toString() - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation
- toString() - Method in exception com.styra.opa.openapi.models.errors.UnhealthyServer
- toString() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
- toString() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBody
- toString() - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
- toString() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
- toString() - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
- toString() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
- toString() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
- toString() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
- toString() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBody
- toString() - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
- toString() - Method in class com.styra.opa.openapi.models.operations.HealthRequest
- toString() - Method in class com.styra.opa.openapi.models.operations.HealthResponse
- toString() - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
- toString() - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- toString() - Method in class com.styra.opa.openapi.models.shared.Errors
- toString() - Method in class com.styra.opa.openapi.models.shared.HealthyServer
- toString() - Method in class com.styra.opa.openapi.models.shared.Input
- toString() - Method in class com.styra.opa.openapi.models.shared.Location
- toString() - Method in class com.styra.opa.openapi.models.shared.Provenance
- toString() - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- toString() - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation
- toString() - Method in class com.styra.opa.openapi.models.shared.Result
- toString() - Method in class com.styra.opa.openapi.models.shared.Revision
- toString() - Method in class com.styra.opa.openapi.models.shared.Security
- toString() - Method in class com.styra.opa.openapi.models.shared.ServerError
- toString() - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- toString() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
- toString() - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
- toString() - Method in class com.styra.opa.openapi.utils.BigDecimalString
- toString() - Method in class com.styra.opa.openapi.utils.BigIntegerString
- toString() - Method in class com.styra.opa.openapi.utils.EventStreamMessage
- toString() - Method in class com.styra.opa.openapi.utils.TypedObject
- toString() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- toString(Class<?>, Object...) - Static method in class com.styra.opa.openapi.utils.Utils
- toUtf8AndClose(InputStream) - Static method in class com.styra.opa.openapi.utils.Utils
- TypedObject - Class in com.styra.opa.openapi.utils
- TypedObject.Serializer - Class in com.styra.opa.openapi.utils
- typeReference() - Method in class com.styra.opa.openapi.utils.TypedObject
- typeReference() - Method in class com.styra.opa.openapi.utils.Utils.TypeReferenceWithShape
- Types - Enum in com.styra.opa.openapi.utils
U
- UnhealthyServer - Exception in com.styra.opa.openapi.models.errors
-
UnhealthyServer - OPA service is not healthy.
- UnhealthyServer() - Constructor for exception com.styra.opa.openapi.models.errors.UnhealthyServer
- UnhealthyServer(Optional<String>) - Constructor for exception com.styra.opa.openapi.models.errors.UnhealthyServer
- UnhealthyServer.Builder - Class in com.styra.opa.openapi.models.errors
- uri() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- urlEncode(String) - Static method in class com.styra.opa.openapi.utils.Utils
- Utils - Class in com.styra.opa.openapi.utils
- Utils.Function<S,T> - Interface in com.styra.opa.openapi.utils
- Utils.HttpResponseCached - Class in com.styra.opa.openapi.utils
- Utils.JsonShape - Enum in com.styra.opa.openapi.utils
- Utils.TypeReferenceWithShape - Class in com.styra.opa.openapi.utils
V
- validate(List<Options.Option>) - Method in class com.styra.opa.openapi.utils.Options
- valToString(Object) - Static method in class com.styra.opa.openapi.utils.Utils
- value() - Method in enum com.styra.opa.openapi.models.shared.Explain
- value() - Method in enum com.styra.opa.openapi.models.shared.GzipAcceptEncoding
- value() - Method in enum com.styra.opa.openapi.models.shared.GzipContentEncoding
- value() - Method in class com.styra.opa.openapi.models.shared.Input
-
Returns an instance of one of these types:
boolean
java.lang.String
double
java.util.List<java.lang.Object>
java.util.Map<java.lang.String, java.lang.Object>
- value() - Method in class com.styra.opa.openapi.models.shared.Result
-
Returns an instance of one of these types:
boolean
java.lang.String
double
java.util.List<java.lang.Object>
java.util.Map<java.lang.String, java.lang.Object>
- value() - Method in class com.styra.opa.openapi.utils.BigDecimalString
- value() - Method in class com.styra.opa.openapi.utils.BigIntegerString
- value() - Method in class com.styra.opa.openapi.utils.LazySingletonValue
- value() - Method in annotation type com.styra.opa.openapi.utils.SpeakeasyMetadata
- value() - Method in class com.styra.opa.openapi.utils.TypedObject
- valueOf(String) - Static method in enum com.styra.opa.openapi.models.shared.Explain
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.styra.opa.openapi.models.shared.GzipAcceptEncoding
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.styra.opa.openapi.models.shared.GzipContentEncoding
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.styra.opa.openapi.utils.Options.Option
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.styra.opa.openapi.utils.RetryConfig.Strategy
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.styra.opa.openapi.utils.Types
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.styra.opa.openapi.utils.Utils.JsonShape
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.styra.opa.openapi.models.shared.Explain
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.styra.opa.openapi.models.shared.GzipAcceptEncoding
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.styra.opa.openapi.models.shared.GzipContentEncoding
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.styra.opa.openapi.utils.Options.Option
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.styra.opa.openapi.utils.RetryConfig.Strategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.styra.opa.openapi.utils.Types
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.styra.opa.openapi.utils.Utils.JsonShape
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version() - Method in class com.styra.opa.openapi.models.shared.Provenance
- version() - Method in class com.styra.opa.openapi.utils.Utils.HttpResponseCached
- version(String) - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
- version(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.Provenance.Builder
W
- withAcceptEncoding(GzipAcceptEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Indicates the server should respond with a gzip encoded body.
- withAcceptEncoding(GzipAcceptEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
-
Indicates the server should respond with a gzip encoded body.
- withAcceptEncoding(GzipAcceptEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Indicates the server should respond with a gzip encoded body.
- withAcceptEncoding(GzipAcceptEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Indicates the server should respond with a gzip encoded body.
- withAcceptEncoding(Optional<? extends GzipAcceptEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Indicates the server should respond with a gzip encoded body.
- withAcceptEncoding(Optional<? extends GzipAcceptEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
-
Indicates the server should respond with a gzip encoded body.
- withAcceptEncoding(Optional<? extends GzipAcceptEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Indicates the server should respond with a gzip encoded body.
- withAcceptEncoding(Optional<? extends GzipAcceptEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Indicates the server should respond with a gzip encoded body.
- withBatchDecisionId(String) - Method in exception com.styra.opa.openapi.models.errors.BatchServerError
- withBatchDecisionId(String) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
- withBatchDecisionId(String) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- withBatchDecisionId(Optional<String>) - Method in exception com.styra.opa.openapi.models.errors.BatchServerError
- withBatchDecisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
- withBatchDecisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- withBatchMixedResults(BatchMixedResults) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
Mixed success and failures.
- withBatchMixedResults(Optional<? extends BatchMixedResults>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
Mixed success and failures.
- withBatchSuccessfulPolicyEvaluation(BatchSuccessfulPolicyEvaluation) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
All batched policy executions succeeded.
- withBatchSuccessfulPolicyEvaluation(Optional<? extends BatchSuccessfulPolicyEvaluation>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
All batched policy executions succeeded.
- withBearerAuth(String) - Method in class com.styra.opa.openapi.models.shared.Security
- withBearerAuth(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.Security
- withBuildCommit(String) - Method in class com.styra.opa.openapi.models.shared.Provenance
- withBuildCommit(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.Provenance
- withBuildHost(String) - Method in class com.styra.opa.openapi.models.shared.Provenance
- withBuildHost(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.Provenance
- withBuildTimestamp(OffsetDateTime) - Method in class com.styra.opa.openapi.models.shared.Provenance
- withBuildTimestamp(Optional<OffsetDateTime>) - Method in class com.styra.opa.openapi.models.shared.Provenance
- withBundles(boolean) - Method in class com.styra.opa.openapi.models.operations.HealthRequest
-
Boolean parameter to account for bundle activation status in response.
- withBundles(Map<String, Revision>) - Method in class com.styra.opa.openapi.models.shared.Provenance
- withBundles(Optional<? extends Map<String, Revision>>) - Method in class com.styra.opa.openapi.models.shared.Provenance
- withBundles(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.HealthRequest
-
Boolean parameter to account for bundle activation status in response.
- withCode(String) - Method in exception com.styra.opa.openapi.models.errors.ClientError
- withCode(String) - Method in exception com.styra.opa.openapi.models.errors.ClientError1
- withCode(String) - Method in class com.styra.opa.openapi.models.errors.Errors
- withCode(String) - Method in exception com.styra.opa.openapi.models.errors.ServerError
- withCode(String) - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- withCode(String) - Method in exception com.styra.opa.openapi.models.errors.UnhealthyServer
- withCode(String) - Method in class com.styra.opa.openapi.models.shared.Errors
- withCode(String) - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- withCode(String) - Method in class com.styra.opa.openapi.models.shared.ServerError
- withCode(String) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- withCode(Optional<String>) - Method in exception com.styra.opa.openapi.models.errors.UnhealthyServer
- withCol(long) - Method in class com.styra.opa.openapi.models.errors.Location
- withCol(long) - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation
- withCol(long) - Method in class com.styra.opa.openapi.models.shared.Location
- withCol(long) - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation
- withContentEncoding(GzipContentEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Indicates that the request body is gzip encoded
- withContentEncoding(GzipContentEncoding) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Indicates that the request body is gzip encoded
- withContentEncoding(Optional<? extends GzipContentEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Indicates that the request body is gzip encoded
- withContentEncoding(Optional<? extends GzipContentEncoding>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Indicates that the request body is gzip encoded
- withContentType(String) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
HTTP response content type for this operation
- withContentType(String) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
-
HTTP response content type for this operation
- withContentType(String) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
-
HTTP response content type for this operation
- withContentType(String) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
-
HTTP response content type for this operation
- withContentType(String) - Method in class com.styra.opa.openapi.models.operations.HealthResponse
-
HTTP response content type for this operation
- withDecisionId(String) - Method in exception com.styra.opa.openapi.models.errors.ServerError
- withDecisionId(String) - Method in class com.styra.opa.openapi.models.shared.ServerError
- withDecisionId(String) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- withDecisionId(String) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
If decision logging is enabled, this field contains a string that uniquely identifies the decision.
- withDecisionId(String) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
If decision logging is enabled, this field contains a string that uniquely identifies the decision.
- withDecisionId(Optional<String>) - Method in exception com.styra.opa.openapi.models.errors.ServerError
- withDecisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.ServerError
- withDecisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- withDecisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
If decision logging is enabled, this field contains a string that uniquely identifies the decision.
- withDecisionId(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
If decision logging is enabled, this field contains a string that uniquely identifies the decision.
- withDefaults() - Static method in class com.styra.opa.openapi.utils.BackoffStrategy
- withErrors(List<Errors>) - Method in exception com.styra.opa.openapi.models.errors.ClientError
- withErrors(List<Errors>) - Method in exception com.styra.opa.openapi.models.errors.ClientError1
- withErrors(List<ServerErrorErrors>) - Method in exception com.styra.opa.openapi.models.errors.ServerError
- withErrors(List<Errors>) - Method in class com.styra.opa.openapi.models.shared.ServerError
- withErrors(List<ResponsesErrors>) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- withErrors(Optional<? extends List<Errors>>) - Method in exception com.styra.opa.openapi.models.errors.ClientError
- withErrors(Optional<? extends List<Errors>>) - Method in exception com.styra.opa.openapi.models.errors.ClientError1
- withErrors(Optional<? extends List<ServerErrorErrors>>) - Method in exception com.styra.opa.openapi.models.errors.ServerError
- withErrors(Optional<? extends List<Errors>>) - Method in class com.styra.opa.openapi.models.shared.ServerError
- withErrors(Optional<? extends List<ResponsesErrors>>) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- withExcludePlugin(List<String>) - Method in class com.styra.opa.openapi.models.operations.HealthRequest
-
String parameter to exclude a plugin from status checks.
- withExcludePlugin(Optional<? extends List<String>>) - Method in class com.styra.opa.openapi.models.operations.HealthRequest
-
String parameter to exclude a plugin from status checks.
- withExplain(Explain) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Return query explanation in addition to result.
- withExplain(Explain) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Return query explanation in addition to result.
- withExplain(Explain) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Return query explanation in addition to result.
- withExplain(Optional<? extends Explain>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Return query explanation in addition to result.
- withExplain(Optional<? extends Explain>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Return query explanation in addition to result.
- withExplain(Optional<? extends Explain>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Return query explanation in addition to result.
- withFile(String) - Method in class com.styra.opa.openapi.models.errors.Location
- withFile(String) - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation
- withFile(String) - Method in class com.styra.opa.openapi.models.shared.Location
- withFile(String) - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation
- withHeaders(Map<String, List<String>>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
- withHeaders(Map<String, List<String>>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
- withHeaders(Map<String, List<String>>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
- withHeaders(Map<String, List<String>>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
- withHealthyServer(HealthyServer) - Method in class com.styra.opa.openapi.models.operations.HealthResponse
-
OPA service is healthy.
- withHealthyServer(Optional<? extends HealthyServer>) - Method in class com.styra.opa.openapi.models.operations.HealthResponse
-
OPA service is healthy.
- withHttpStatusCode(String) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- withHttpStatusCode(String) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
- withHttpStatusCode(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- withHttpStatusCode(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
- withInput(Input) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
-
The input document
- withInput(Input) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequestBody
-
Arbitrary JSON used within your policies by accessing `input`
- withInputs(Map<String, Input>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequestBody
- withInstrument(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- withInstrument(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- withInstrument(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- withInstrument(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- withInstrument(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- withInstrument(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Instrument query evaluation and return a superset of performance metrics in addition to result.
- withLocation(Location) - Method in class com.styra.opa.openapi.models.errors.Errors
- withLocation(ServerErrorLocation) - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- withLocation(Location) - Method in class com.styra.opa.openapi.models.shared.Errors
- withLocation(ResponsesLocation) - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- withLocation(Optional<? extends Location>) - Method in class com.styra.opa.openapi.models.errors.Errors
- withLocation(Optional<? extends ServerErrorLocation>) - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- withLocation(Optional<? extends Location>) - Method in class com.styra.opa.openapi.models.shared.Errors
- withLocation(Optional<? extends ResponsesLocation>) - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- withMessage(String) - Method in exception com.styra.opa.openapi.models.errors.ClientError
- withMessage(String) - Method in exception com.styra.opa.openapi.models.errors.ClientError1
- withMessage(String) - Method in class com.styra.opa.openapi.models.errors.Errors
- withMessage(String) - Method in exception com.styra.opa.openapi.models.errors.ServerError
- withMessage(String) - Method in class com.styra.opa.openapi.models.errors.ServerErrorErrors
- withMessage(String) - Method in class com.styra.opa.openapi.models.shared.Errors
- withMessage(String) - Method in class com.styra.opa.openapi.models.shared.ResponsesErrors
- withMessage(String) - Method in class com.styra.opa.openapi.models.shared.ServerError
- withMessage(String) - Method in class com.styra.opa.openapi.models.shared.ServerErrorWithStatusCode
- withMetrics(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Return query performance metrics in addition to result.
- withMetrics(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Return query performance metrics in addition to result.
- withMetrics(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Return query performance metrics in addition to result.
- withMetrics(Map<String, Object>) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- withMetrics(Map<String, Object>) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- withMetrics(Map<String, Object>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- withMetrics(Map<String, Object>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- withMetrics(Optional<? extends Map<String, Object>>) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- withMetrics(Optional<? extends Map<String, Object>>) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- withMetrics(Optional<? extends Map<String, Object>>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- withMetrics(Optional<? extends Map<String, Object>>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
If query metrics are enabled, this field contains query performance metrics collected during the parse, compile, and evaluation steps.
- withMetrics(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Return query performance metrics in addition to result.
- withMetrics(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Return query performance metrics in addition to result.
- withMetrics(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Return query performance metrics in addition to result.
- withPath(String) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
The path separator is used to access values inside object and array documents.
- withPath(String) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
The path separator is used to access values inside object and array documents.
- withPath(String) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
The path separator is used to access values inside object and array documents.
- withPlugins(boolean) - Method in class com.styra.opa.openapi.models.operations.HealthRequest
-
Boolean parameter to account for plugin status in response.
- withPlugins(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.HealthRequest
-
Boolean parameter to account for plugin status in response.
- withPretty(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
If parameter is `true`, response will formatted for humans.
- withPretty(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
-
If parameter is `true`, response will formatted for humans.
- withPretty(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
If parameter is `true`, response will formatted for humans.
- withPretty(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
If parameter is `true`, response will formatted for humans.
- withPretty(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
If parameter is `true`, response will formatted for humans.
- withPretty(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputRequest
-
If parameter is `true`, response will formatted for humans.
- withPretty(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
If parameter is `true`, response will formatted for humans.
- withPretty(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
If parameter is `true`, response will formatted for humans.
- withProvenance(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
If parameter is true, response will include build/version info in addition to the result.
- withProvenance(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
If parameter is true, response will include build/version info in addition to the result.
- withProvenance(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
If parameter is true, response will include build/version info in addition to the result.
- withProvenance(Provenance) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
Provenance information can be requested on individual API calls and are returned inline with the API response.
- withProvenance(Provenance) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
Provenance information can be requested on individual API calls and are returned inline with the API response.
- withProvenance(Optional<? extends Provenance>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
Provenance information can be requested on individual API calls and are returned inline with the API response.
- withProvenance(Optional<? extends Provenance>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
Provenance information can be requested on individual API calls and are returned inline with the API response.
- withProvenance(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
If parameter is true, response will include build/version info in addition to the result.
- withProvenance(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
If parameter is true, response will include build/version info in addition to the result.
- withProvenance(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
If parameter is true, response will include build/version info in addition to the result.
- withRawResponse(HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
Raw HTTP response; suitable for custom response parsing
- withRawResponse(HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
-
Raw HTTP response; suitable for custom response parsing
- withRawResponse(HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
-
Raw HTTP response; suitable for custom response parsing
- withRawResponse(HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
-
Raw HTTP response; suitable for custom response parsing
- withRawResponse(HttpResponse<InputStream>) - Method in class com.styra.opa.openapi.models.operations.HealthResponse
-
Raw HTTP response; suitable for custom response parsing
- withRequestBody(ExecuteBatchPolicyWithInputRequestBody) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
The batch of inputs
- withRequestBody(ExecutePolicyWithInputRequestBody) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
The input document
- withResponses(Map<String, Responses>) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
- withResponses(Map<String, ServerError>) - Method in exception com.styra.opa.openapi.models.errors.BatchServerError
- withResponses(Map<String, SuccessfulPolicyResponse>) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- withResponses(Optional<? extends Map<String, Responses>>) - Method in class com.styra.opa.openapi.models.shared.BatchMixedResults
- withResponses(Optional<? extends Map<String, ServerError>>) - Method in exception com.styra.opa.openapi.models.errors.BatchServerError
- withResponses(Optional<? extends Map<String, SuccessfulPolicyResponse>>) - Method in class com.styra.opa.openapi.models.shared.BatchSuccessfulPolicyEvaluation
- withResult(Result) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
-
Success.
- withResult(Result) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
The base or virtual document referred to by the URL path.
- withResult(Result) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
The base or virtual document referred to by the URL path.
- withResult(Optional<? extends Result>) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
-
Success.
- withResult(Optional<? extends Result>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponse
-
The base or virtual document referred to by the URL path.
- withResult(Optional<? extends Result>) - Method in class com.styra.opa.openapi.models.shared.SuccessfulPolicyResponseWithStatusCode
-
The base or virtual document referred to by the URL path.
- withRevision(String) - Method in class com.styra.opa.openapi.models.shared.Revision
- withRow(long) - Method in class com.styra.opa.openapi.models.errors.Location
- withRow(long) - Method in class com.styra.opa.openapi.models.errors.ServerErrorLocation
- withRow(long) - Method in class com.styra.opa.openapi.models.shared.Location
- withRow(long) - Method in class com.styra.opa.openapi.models.shared.ResponsesLocation
- withStatusCode(int) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputResponse
-
HTTP response status code for this operation
- withStatusCode(int) - Method in class com.styra.opa.openapi.models.operations.ExecuteDefaultPolicyWithInputResponse
-
HTTP response status code for this operation
- withStatusCode(int) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
-
HTTP response status code for this operation
- withStatusCode(int) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
-
HTTP response status code for this operation
- withStatusCode(int) - Method in class com.styra.opa.openapi.models.operations.HealthResponse
-
HTTP response status code for this operation
- withStrictBuiltinErrors(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Treat built-in function call errors as fatal and return an error immediately.
- withStrictBuiltinErrors(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Treat built-in function call errors as fatal and return an error immediately.
- withStrictBuiltinErrors(boolean) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Treat built-in function call errors as fatal and return an error immediately.
- withStrictBuiltinErrors(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecuteBatchPolicyWithInputRequest
-
Treat built-in function call errors as fatal and return an error immediately.
- withStrictBuiltinErrors(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyRequest
-
Treat built-in function call errors as fatal and return an error immediately.
- withStrictBuiltinErrors(Optional<Boolean>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputRequest
-
Treat built-in function call errors as fatal and return an error immediately.
- withSuccessfulPolicyResponse(SuccessfulPolicyResponse) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
-
Success.
- withSuccessfulPolicyResponse(SuccessfulPolicyResponse) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
-
Success.
- withSuccessfulPolicyResponse(Optional<? extends SuccessfulPolicyResponse>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyResponse
-
Success.
- withSuccessfulPolicyResponse(Optional<? extends SuccessfulPolicyResponse>) - Method in class com.styra.opa.openapi.models.operations.ExecutePolicyWithInputResponse
-
Success.
- withVersion(String) - Method in class com.styra.opa.openapi.models.shared.Provenance
- withVersion(Optional<String>) - Method in class com.styra.opa.openapi.models.shared.Provenance
_
- _Deserializer() - Constructor for class com.styra.opa.openapi.models.shared.Input._Deserializer
- _Deserializer() - Constructor for class com.styra.opa.openapi.models.shared.Result._Deserializer
All Classes All Packages