Hi Mark,

On 09/11/2020 18:40, Mark Sheppard wrote:
a couple of points:
Should the spec state explicitly that an NPE is thrown if the supplied 
HttpRequest reference is null?

https://docs.oracle.com/en/java/javase/15/docs/api/java.net.http/java/net/http/package-summary.html

"Unless otherwise stated, null parameter values will cause
 methods of all classes in this package to throw NullPointerException."

best regards,

-- daniel

Reply via email to