Yes, you're right. HttpsURLConnection is not currently available and we should remove the reference to it from the documentation.
Do you need to be able to provide client-side certificates, validate server-side certificates or do custom hostname validation? If so, please star one of the following relevant issues: http://code.google.com/p/googleappengine/issues/detail?id=46 http://code.google.com/p/googleappengine/issues/detail?id=1036 or file your own. If you don't need these, you can use use URL.openConnection() with a https:// URL and you will receive a HttpURLConnection that is capable of retrieving HTTPS data. However, if you are trying to use a library where that is not sufficient (because it checks for an https:// URL itself and tries to cast the connection class?) please open a new issue in an issue tracker and explain what we can do to help. Thanks, Don On Thu, Apr 1, 2010 at 10:21 AM, jcjones1515 <jcjo...@gmail.com> wrote: > This doc: > http://code.google.com/appengine/docs/java/urlfetch/usingjavanet.html#Using_HttpURLConnection > seems to indicate that using javax.net.ssl.HttpsURLConnection is > acceptable, however it is not included in the JRE white list. When I > try to use it I get the following: > > java.lang.NoClassDefFoundError: javax.net.ssl.HttpsURLConnection is a > restricted class. Please see the Google App Engine developer's guide > for more details. > > I understand I could use the URLFetch API directly, but this would > preclude me from using HTTPClient. > > Is this an oversight in the JRE white list? Or should > > http://code.google.com/appengine/docs/java/urlfetch/usingjavanet.html#Using_HttpURLConnection > be corrected? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.