Replaced switch statement logic with polymorphism and strategy pattern in NettyRequestFactory