java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;getCharacterEncoding()</pre>
<div class="block">Returns the name of the character encoding (MIME charset) used for the body sent in this response. The following
 methods for specifying the response character encoding are consulted, in decreasing order of priority: per request,
 perweb-app (using <a href="ServletContext.html#setResponseCharacterEncoding(java.l