Retrieving secure web pages using HTTPS |
To retrieve a secure web page using HTTPS you may use the com.jscape.inet.https.Https class. The Https class is a subclass of the com.jscape.inet.http.Http class so all methods found in the Http class are available in the Https class. See the Http component documentation for more information on creating HTTP requests.
Example
// create request HttpRequest request = new HttpRequest("https://www.myserver.com");
// create new Https instance Https https = new Https();
// get response HttpResponse response = https.getResponse(request);
See also
|