This is not a static nested class. It is associated with an instance of TiHTTPClient and has direct access to that instance's methods and fields. So you don't need to pass the instance to the constructor.