/******************************************************************************************************************* * ******************************************************************************************************************/ @Nonnull private RestResponse<CddbAlbum> findCddbAlbum (final @Nonnull Cddb cddb) throws IOException, InterruptedException { final String discId = cddb.getDiscId(); final ResponseEntity<String> response = request(String.format(FREEDB_URL_TEMPLATE, host, discId)); return CddbResponse.of(response, CddbAlbum::of); } }