Class Endpoint

java.lang.Object
com.tableau.hyperapi.Endpoint

public final class Endpoint extends Object
An endpoint.
  • Constructor Details

    • Endpoint

      public Endpoint(String connectionDescriptor, String userAgent)
      Creates an endpoint.
      Parameters:
      connectionDescriptor - A Tableau endpoint descriptor of the format "tab.protocol://address".
      userAgent - A user agent string, which will be used in telemetry (if enabled) and logging.
  • Method Details

    • getConnectionDescriptor

      public String getConnectionDescriptor()
      Gets the connection descriptor.
      Returns:
      The connection descriptor.
    • getUserAgent

      public String getUserAgent()
      Gets the user agent.
      Returns:
      The user agent.