Uses of Class
com.cognite.client.servicesV1.executor.RequestExecutor
Packages that use RequestExecutor
-
Uses of RequestExecutor in com.cognite.client.servicesV1
Methods in com.cognite.client.servicesV1 with parameters of type RequestExecutorModifier and TypeMethodDescriptionConnectorServiceV1.ItemWriter.withRequestExecutor(RequestExecutor requestExecutor) Configure a specificRequestExecutorto handle the HTTP(S) request against the Cognnite API.ConnectorServiceV1.ResultFutureIterator.withRequestExecutor(RequestExecutor requestExecutor) Configure a specificRequestExecutorto handle the HTTP(S) request against the Cognnite API. -
Uses of RequestExecutor in com.cognite.client.servicesV1.executor
Methods in com.cognite.client.servicesV1.executor that return RequestExecutorModifier and TypeMethodDescriptionRequestExecutor.Builder.build()static RequestExecutorRequestExecutor.of(okhttp3.OkHttpClient client) RequestExecutor.withExecutor(Executor executor) Sets the executor to use for running the api requests.RequestExecutor.withHttpClient(okhttp3.OkHttpClient client) Sets the http client to use for executing the http requests.RequestExecutor.withMaxRetries(int retries) Sets the maximum number of retries.RequestExecutor.withValidResponseCodes(List<Integer> validResponseCodes) Specifies a set of valid http response codes *in addition* to the 200-range.