Interface EndpointSelectionStrategy

    • Method Detail

      • select

        <R extends Request<? extends Response>> Endpoint select​(R request,
                                                                List<Endpoint> endpoints)
        Selects an Endpoint for the given Request.

        If null is returned, it means that no endpoint could be selected and it is up to the calling party to decide what to do next.

        request - the input request.
        endpoints - all the available endpoints.
        the selected endpoint.