How to get objects without injection?

I’m extending default HTTP object to have better communication with my own api server. I’m wondering is it possible somehow to get Config object without injecting constructor with it?