@Override
    public SupportedLanguagePairsResponse getSupportedLanguagePairs(String endpoint) throws HttpRosetteAPIException  {
        if (NAMES_ENDPOINTS.contains(endpoint) && !NAME_DEDUPLICATION_SERVICE_PATH.equals(endpoint)) {
            return sendGetRequest(urlBase + endpoint + SUPPORTED_LANGUAGES_SUBPATH, SupportedLanguagePairsResponse.class);
        } else {
            return null;
        }
    }
@ Override public SupportedLanguagePairsResponse getSupportedLanguagePairs ( String endpoint ) throws HttpRosetteAPIException { if ( NAMES_ENDPOINTS . contains ( endpoint ) && ! NAME_DEDUPLICATION_SERVICE_PATH . equals ( endpoint ) ) { return sendGetRequest ( urlBase + endpoint + SUPPORTED_LANGUAGES_SUBPATH , SupportedLanguagePairsResponse . class ) ; } else { return null ; } }
Gets the set of language, script codes and transliteration scheme pairs supported by the specified Rosette API
endpoint.

@param endpoint Rosette API endpoint.
@return SupportedLanguagePairsResponse
@throws HttpRosetteAPIException for an error returned from the Rosette API.