Class GoodDataEndpoint

java.lang.Object
com.gooddata.sdk.service.GoodDataEndpoint

public class GoodDataEndpoint extends Object
GoodData Platform endpoint represented by host, port and protocol
  • Field Details

  • Constructor Details

    • GoodDataEndpoint

      public GoodDataEndpoint(String hostname, int port, String protocol)
      Create GoodData endpoint for given hostname, port and protocol
      Parameters:
      hostname - GoodData Platform's host name (e.g. secure.gooddata.com)
      port - GoodData Platform's API port (e.g. 443)
      protocol - GoodData Platform's API protocol (e.g. https)
    • GoodDataEndpoint

      public GoodDataEndpoint(String hostname, int port)
      Create GoodData endpoint for given hostname, port using HTTPS protocol
      Parameters:
      hostname - GoodData Platform's host name (e.g. secure.gooddata.com)
      port - GoodData Platform's API port (e.g. 443)
    • GoodDataEndpoint

      public GoodDataEndpoint(String hostname)
      Create GoodData endpoint for given hostname using 443 port and HTTPS protocol
      Parameters:
      hostname - GoodData Platform's host name (e.g. secure.gooddata.com)
    • GoodDataEndpoint

      public GoodDataEndpoint()
      Create GoodData endpoint for given hostname using 443 port and HTTPS protocol and secure.gooddata.com hostname
  • Method Details

    • toUri

      public String toUri()
      Returns:
      the host URI, as a string.
    • getHostname

      public String getHostname()
      Returns:
      GoodData Platform's host name (e.g. secure.gooddata.com)
    • getPort

      public int getPort()
      Returns:
      GoodData Platform's API port (e.g. 443)
    • getProtocol

      public String getProtocol()
      Returns:
      GoodData Platform's API protocol (e.g. https)