/** * locatorRequestPath - extract request specific path from profile locator * using request path from locator * * @param locator request profile locator * @return request path */ private static String locatorRequestPath(ProfileLocator locator) { // use request path in locator as default return locatorRequestPath(locator, locator.getRequestPath()); }
String requestPath = locator.getRequestPath(); Iterator<ProfileLocatorProperty []> locatorIter = locator.iterator(); if (locatorIter.hasNext())
requestPath = locator.getRequestPath();