"getCharacterEncoding()">
<h3>getCharacterEncoding</h3>
<div class="member-signature"><span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span>&nbsp;<span class="element-name">getCharacterEncoding</span>()</div>
<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