Interface ServiceClientProvider

All Known Implementing Classes:
DefaultServiceClientProvider

public interface ServiceClientProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    getService(Class<T> type, ServiceEndpoint serviceEndpoint)
    Returns the concrete feign service client
  • Method Details

    • getService

      <T> T getService(Class<T> type, ServiceEndpoint serviceEndpoint)
      Returns the concrete feign service client
      Type Parameters:
      T - type of client , usually an interface with all the remote method definitions.
      Parameters:
      type - feign interface type
      serviceEndpoint - endpoint definition
      Returns:
      the feign interface implementation