Class HttpsClient

java.lang.Object
io.github.parthappm.http.client.Client
io.github.parthappm.http.client.HttpsClient

public class HttpsClient extends Client
The HTTP Client implementation for secured HTTP connection over Secured Sockets Layer (SSL)
  • Constructor Details

    • HttpsClient

      public HttpsClient(String host)
      Creates a socket connection to the specified host at port 443 and constructs a new HttpsClient object.
      Parameters:
      host - The host name or ip address of the server
    • HttpsClient

      public HttpsClient(String host, int port)
      Creates a socket connection to the specified host at specified port and constructs a new HttpsClient object.
      Parameters:
      host - The host name or ip address of the server
      port - The port number at which the server is running