builder static method

ApexClientBuilder builder(
  1. RestRequestExecutor requestExecutor
)

This method is the entry point to start create a ApexClient, RestRequestExecutor should be provided as a parameter, which mainly executes the requests, DefaultRestRequestExecutor can be used for that which handles most of the cases for regular and multipart requests. Returns ApexClientBuilder which provide a methods to add middlewares and request/response converters to ApexClient instance.

Implementation

static ApexClientBuilder builder(RestRequestExecutor requestExecutor) =>
    ApexClientBuilder._(requestExecutor);