Pass servlets to the Gateway abstract class from gateway implementation class