@Test public void testGetThumbnailUrl() { String apiGatewayBaseUrl = null; Api2UrlService s1 = new Api2UrlService(null, null, null, apiGatewayBaseUrl); assertEquals("https: s1.getThumbnailUrl("https: apiGatewayBaseUrl = "api.europeana.eu"; Api2UrlService s2 = new Api2UrlService(null, null, null, apiGatewayBaseUrl); assertEquals("https: s2.getThumbnailUrl("https: apiGatewayBaseUrl = "https: Api2UrlService s3 = new Api2UrlService(null, null, null, apiGatewayBaseUrl); assertEquals("https: s3.getThumbnailUrl("http: Api2UrlService s4 = new Api2UrlService(null, "https: assertEquals("https: s4.getThumbnailUrl("https: }
public String getThumbnailUrl(String uri, String type) { return getThumbnailUrl(uri, null, type); }
Api2UrlService { public String getThumbnailUrl(String uri, String type) { return getThumbnailUrl(uri, null, type); } }
Api2UrlService { public String getThumbnailUrl(String uri, String type) { return getThumbnailUrl(uri, null, type); } Api2UrlService(String portalBaseUrl, String api2BaseUrl, String apikeyValidateUrl, String apiGatewayBaseUrl); }
Api2UrlService { public String getThumbnailUrl(String uri, String type) { return getThumbnailUrl(uri, null, type); } Api2UrlService(String portalBaseUrl, String api2BaseUrl, String apikeyValidateUrl, String apiGatewayBaseUrl); static Api2UrlService getBeanInstance(); String getPortalBaseUrl(); String getApi2BaseUrl(); String getApikeyValidateUrl(); String getRecordPortalUrl(String collectionId, String itemId); String getApiGatewayBaseUrl(); String getRecordPortalUrl(String europeanaId); @Deprecated String getRecordResolveUrl(String europeanaId); String getRecordApi2Url(String collectionId, String itemId, String wskey); String getRecordApi2Url(String europeanaId, String wskey); String getThumbnailUrl(String uri, String type); String getThumbnailUrl(String uri, String size, String type); @Deprecated String getRedirectUrl(String wskey, String isShownAtUri, String provider, String europeanaId, String profile); }
Api2UrlService { public String getThumbnailUrl(String uri, String type) { return getThumbnailUrl(uri, null, type); } Api2UrlService(String portalBaseUrl, String api2BaseUrl, String apikeyValidateUrl, String apiGatewayBaseUrl); static Api2UrlService getBeanInstance(); String getPortalBaseUrl(); String getApi2BaseUrl(); String getApikeyValidateUrl(); String getRecordPortalUrl(String collectionId, String itemId); String getApiGatewayBaseUrl(); String getRecordPortalUrl(String europeanaId); @Deprecated String getRecordResolveUrl(String europeanaId); String getRecordApi2Url(String collectionId, String itemId, String wskey); String getRecordApi2Url(String europeanaId, String wskey); String getThumbnailUrl(String uri, String type); String getThumbnailUrl(String uri, String size, String type); @Deprecated String getRedirectUrl(String wskey, String isShownAtUri, String provider, String europeanaId, String profile); static final String API_BASEURL; }