pass Application as parameter in the Response constructor
using Type Parameter Naming Conventions (https://docs.oracle.com/javase/tutorial/java/generics/types.html)