7374757677787980818283
final String path = request.getPathInfo(); // intercept empty path and send 204 No Content if (!StringUtils.isNotBlank(path)) { throw new NoResultsException(); } // 1.: split request path into URI parts final String[] pathParts = path.split("[/]+");