@ Override public SupportedLanguagesResponse getSupportedLanguages ( String endpoint ) throws HttpRosetteAPIException { if ( DOC_ENDPOINTS . contains ( endpoint ) || NAME_DEDUPLICATION_SERVICE_PATH . equals ( endpoint ) ) { return sendGetRequest ( urlBase + endpoint + SUPPORTED_LANGUAGES_SUBPATH , SupportedLanguagesResponse . class ) ; } else { return null ; } }
Gets the set of language and script codes supported by the specified Rosette API endpoint .