Interface EndpointResolver


public interface EndpointResolver
Author:
David BRASSELY (david.brassely at graviteesource.com), GraviteeSource Team
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(String reference)
    A reference to the best endpoint / endpoint group according to the target.
  • Method Details

    • resolve

      ProxyEndpoint resolve(String reference)
      A reference to the best endpoint / endpoint group according to the target. Reference could be of three different types: - A classical URL: http[s]://my_backend/api - An endpoint or endpoint group reference: endpoint:/my_api - Just a path: /my_api in that case the gateway will automatically select the default endpoint
      Parameters:
      reference - A reference to something (an endpoint)
      Returns:
      Endpoint reference. Can be null