users@jersey.java.net

HTTPSProperties issue

From: John Calcote <john.calcote_at_gmail.com>
Date: Wed, 14 Apr 2010 14:50:22 -0600

Hi Paul,

Just ran into a usability bug. Thought I'd drop you a note about it.

When I created my HTTPProperties object, I wanted to supply a host name
verifier, and possibly an ssl context. I assumed I could pass a null ssl
context, meaning that the constructor would then use a default ssl
context. However the HTTPSProperties constructor simply stores the null,
and then crashes later. Might be nice to either document the fact that
null is not acceptable in this ctor, or change the ctor to accept null
and then build a default ssl context.

Thanks,
John