@Override public String getRestURI() { return restProxyService.getRestURI(); }
private static RestProxyInfo getOrCreateRestProxyInfo(final IRestProxyService proxyService, final Map<CacheKey, RestProxyInfo> previousProxyInfos) { final CacheKey proxyServiceCacheKey = new CacheKey(proxyService.getContextPath(), proxyService.getRestURI()); RestProxyInfo restProxyInfo = previousProxyInfos.get(proxyServiceCacheKey); if (restProxyInfo == null) { restProxyInfo = new RestProxyInfo(); } restProxyInfos.put(proxyServiceCacheKey, restProxyInfo); return restProxyInfo; }