Made httpMethod protected to access from subclasses