span class="modifiers">public</span>&nbsp;<span class="return-type"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Enumeration.html" title="class or interface in java.util" class="external-link">Enumeration</a>&lt;<a href="../Header.html" title="class in jakarta.mail">Header</a>&gt;</span>&nbsp;<span class="element-name">getAllHeaders</span>()</div>
<div class="block">Return all the headers as an Enumeration of
 <a href="../Header.html" title="class in jakarta.mail"><code>He