code: private javax.ws.rs.client.Client createJaxRsClient()
      {
          if (getJaxRsClientBuilder() != null) {
              // if we have a builder configured, use it
              return getJaxRsClientBuilder().build();
          } else {
              // otherwise just use the system discovered default
              return ClientBuilder.newClient();
          }
      }
docs: Create an instance of JAX-RS client.