Resource locators let you split a request factory into smaller sub-resources while keeping the full path intact. Use locator methods to hand off a path segment to another interface and keep your endpoints organized by feature.
DominoRestConfig.getInstance()
.setDefaultResourceRootPath("endpoint");
Each locator contributes its path segment to the final URL. The generated client keeps all annotations (headers, params, consumes/produces) on the target interface, while the locator method only supplies the segment that routes to it.