[HttpCache] switched a method from private to protected

corollary of #7164 for maintenance branches.