ttps://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a>&lt;T&gt;&nbsp;type)</pre>
<div class="block"><p>Returns the HTTP response object from the container. The type of the response object
 depends on the environment. In a servlet environment you can use this method to get
 the <code>HttpServletResponse</code> object.</p>

 <p>Please note that you should generally prefer using <a href="#getOutputStream()"><code>ge