public String getClientContextPath(String urlString) { // Return depending on whether passed URL is a platform URL or not return URLRewriterUtils.isPlatformPath(urlString) ? getPlatformClientContextPath() : getApplicationClientContextPath(); }