[Java] Injection

Extract web content provider and define it as a parameter