public SubResource getSubResource() {
    return subResource;
  }
@return a {@link RestUtils.SubResource}, or {@code null} if no sub-resource was found in the request path.
ambry-api/src/main/java/com/github/ambry/rest/RequestPath.java