> I'd like to return to this issue with a new PR that addresses the usability > issue minimally. Namely to define numeric constants > for the counter-intuitive responseLength values in > `HttpExchange.sendResponseHeaders`. The apidoc then refers to the constant > names rather than the numeric values. > > I've updated the implementation and some tests (though not all yet) to use > the constant names. I'm open to suggestions on the names themselves. Once > that is agreed, I'll update the remaining tests and any other call sites in > the implementation. > > Thanks, > Michael
Michael McMahon has updated the pull request incrementally with one additional commit since the last revision: Copyright header updates ------------- Changes: - all: https://git.openjdk.org/jdk/pull/28132/files - new: https://git.openjdk.org/jdk/pull/28132/files/15f4179f..64073c68 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=28132&range=06 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28132&range=05-06 Stats: 43 lines in 43 files changed: 0 ins; 0 del; 43 mod Patch: https://git.openjdk.org/jdk/pull/28132.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/28132/head:pull/28132 PR: https://git.openjdk.org/jdk/pull/28132
