Interface EndpointResolver


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

      • 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