com.tableau.hyperapi

## Class Endpoint

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

-     public final class Endpoint
      extends java.lang.Object

  An endpoint.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Endpoint(java.lang.String connectionDescriptor, java.lang.String userAgent)` Creates an endpoint.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getConnectionDescriptor()` Gets the connection descriptor.
    `java.lang.String` | `getUserAgent()` Gets the user agent.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Endpoint

          public Endpoint(java.lang.String connectionDescriptor,
                          java.lang.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 Detail

    - #### getConnectionDescriptor

          public java.lang.String getConnectionDescriptor()

      Gets the connection descriptor.
      Returns:
        The connection descriptor.

    - #### getUserAgent

          public java.lang.String getUserAgent()

      Gets the user agent.
      Returns:
        The user agent.