Class ServiceEndpoints
- java.lang.Object
-
- com.launchdarkly.sdk.server.interfaces.ServiceEndpoints
-
public final class ServiceEndpoints extends java.lang.ObjectSpecifies the base service URIs used by SDK components.See
ServiceEndpointsBuilderfor more details on these properties.
-
-
Constructor Summary
Constructors Constructor Description ServiceEndpoints(java.net.URI streamingBaseUri, java.net.URI pollingBaseUri, java.net.URI eventsBaseUri)Used internally by the SDK to store service endpoints.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.URIgetEventsBaseUri()The base URI for the events service.java.net.URIgetPollingBaseUri()The base URI for the polling service.java.net.URIgetStreamingBaseUri()The base URI for the streaming service.
-
-
-
Constructor Detail
-
ServiceEndpoints
public ServiceEndpoints(java.net.URI streamingBaseUri, java.net.URI pollingBaseUri, java.net.URI eventsBaseUri)Used internally by the SDK to store service endpoints.- Parameters:
streamingBaseUri- the base URI for the streaming servicepollingBaseUri- the base URI for the polling serviceeventsBaseUri- the base URI for the events service
-
-
Method Detail
-
getStreamingBaseUri
public java.net.URI getStreamingBaseUri()
The base URI for the streaming service.- Returns:
- the base URI, or null
-
getPollingBaseUri
public java.net.URI getPollingBaseUri()
The base URI for the polling service.- Returns:
- the base URI, or null
-
getEventsBaseUri
public java.net.URI getEventsBaseUri()
The base URI for the events service.- Returns:
- the base URI, or null
-
-