Class RuntimeServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.hiddenlayer.api.services.async.RuntimeServiceAsync
public final class RuntimeServiceAsyncImpl implements RuntimeServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRuntimeServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description RuntimeServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. RuntimeServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<RuntimeEvaluateRequestResponse>evaluateRequest(RuntimeEvaluateRequestParams params, RequestOptions requestOptions)CompletableFuture<RuntimeEvaluateResponseResponse>evaluateResponse(RuntimeEvaluateResponseParams params, RequestOptions requestOptions)-
Methods inherited from class com.hiddenlayer.api.services.async.RuntimeServiceAsync
evaluateRequest, evaluateRequest, evaluateRequest, evaluateResponse, evaluateResponse, evaluateResponse -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
RuntimeServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
RuntimeServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
evaluateRequest
CompletableFuture<RuntimeEvaluateRequestResponse> evaluateRequest(RuntimeEvaluateRequestParams params, RequestOptions requestOptions)
-
evaluateResponse
CompletableFuture<RuntimeEvaluateResponseResponse> evaluateResponse(RuntimeEvaluateResponseParams params, RequestOptions requestOptions)
-
-
-
-