@Deprecated(forRemoval=true) public interface ExternalClient
Deprecated, for removal: This API element is subject to removal in a future version.
use the facilities in com.broadleafcommerce.data.tracking.core.interlink.DefaultInterlinkClient instead.
Client object capable of making calls to another microservice, either via direct method call using reflection, or by network request using WebClient.
  • Method Summary

    Modifier and Type
    Method
    Description
    default <T, R extends Exception>
    T
    Deprecated, for removal: This API element is subject to removal in a future version.
    Retrieve an object from another microservice via call
  • Method Details

    • get

      @Nullable default <T, R extends Exception> T get(ExternalRequest request) throws R
      Deprecated, for removal: This API element is subject to removal in a future version.
      Retrieve an object from another microservice via call
      Type Parameters:
      T - The type of the response
      R - The type of exception that may be thrown
      Parameters:
      request - Information about the request
      Returns:
      The response from the call to the other microservice
      Throws:
      R - The type of exception that may be thrown