Why is getHeaderField always return null?

guys, when I accidentally looked at the source code, I had the following question:
there is a getHeaderFieldDate method in the java.net.URLConnection class, as follows:

@SuppressWarnings("deprecation")
public long getHeaderFieldDate(String name, long Default) {
    String value = getHeaderField(name);
    try {
        return Date.parse(value);
    } catch (Exception e) { }
    return Default;
}

A getHeaderField method is called in this method, as follows:

public String getHeaderField(String name) {
    return null;
}
Why does the

getHeaderField method always return null,? Thank you!

Apr.03,2021

public String getHeaderField(String var1) {
    try {
        this.getInputStream();
    } catch (IOException var3) {
        ;
    }

    return this.cachedHeaders != null 
        ? this.filterHeaderField(var1, this.cachedHeaders.findValue(var1)) 
        : this.filterHeaderField(var1, this.responses.findValue(var1));
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bf62-2c303.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bf62-2c303.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?