This chapter includes two recipes. These two recipes will demonstrate the following:
- Determining if a URL uses HTTPS
- Using HTTP authentication
The first recipe will introduce you to some of the things that can be done with the HttpsURLConnection class. The second recipe shows how to access a site that uses HTTP authentication.