No HttpRequest class cannot be sub-classed. It is a complicated class with some factory methods and native methods. Subclassing of such class is not supported.