Class HttpProxy

java.lang.Object
com.datastax.astra.client.core.http.HttpProxy
All Implemented Interfaces:
Cloneable

public class HttpProxy extends Object implements Cloneable
Subclass to represent an http proxy.
  • Constructor Details

    • HttpProxy

      public HttpProxy()
      Default constructor.
    • HttpProxy

      public HttpProxy(String hostname, int port)
      Constructor with hostname and port.
      Parameters:
      hostname - hostname of the proxy
      port - port for the proxy
  • Method Details

    • clone

      public HttpProxy clone()
      Overrides:
      clone in class Object
    • getHostname

      public String getHostname()
      Gets hostname
      Returns:
      value of hostname
    • getPort

      public int getPort()
      Gets port
      Returns:
      value of port