@Override
  public String toString() {
    return "RequestPath{" + "prefix='" + prefix + '\'' + ", clusterName='" + clusterName + '\''
        + ", operationOrBlobId='" + operationOrBlobId + '\'' + ", subResource=" + subResource + ", blobSegmentIdx="
        + blobSegmentIdx + '}';
  }
This will check if the request path matches the specified operation. This will check that that the first one or
more path segments in {@link #getOperationOrBlobId(boolean)} match the path segments in {@code operation}. For example,
{@code /op} or {@code /op/sub} will match the operation {@code op}.
@param operation the operation name to check the path against.
@return {@code true} if this request path matches the specified operation.
ambry-api/src/main/java/com/github/ambry/rest/RequestPath.java