All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.launchdarkly.sdk.server.interfaces.ServiceEndpoints Maven / Gradle / Ivy

There is a newer version: 7.5.0
Show newest version
package com.launchdarkly.sdk.server.interfaces;

import com.launchdarkly.sdk.server.integrations.ServiceEndpointsBuilder;
import java.net.URI;

/**
 * Specifies the base service URIs used by SDK components.
 * 

* See {@link ServiceEndpointsBuilder} for more details on these properties. */ public final class ServiceEndpoints { private URI streamingBaseUri; private URI pollingBaseUri; private URI eventsBaseUri; /** * Used internally by the SDK to store service endpoints. * @param streamingBaseUri the base URI for the streaming service * @param pollingBaseUri the base URI for the polling service * @param eventsBaseUri the base URI for the events service */ public ServiceEndpoints(URI streamingBaseUri, URI pollingBaseUri, URI eventsBaseUri) { this.streamingBaseUri = streamingBaseUri; this.pollingBaseUri = pollingBaseUri; this.eventsBaseUri = eventsBaseUri; } /** * The base URI for the streaming service. * @return the base URI, or null */ public URI getStreamingBaseUri() { return streamingBaseUri; } /** * The base URI for the polling service. * @return the base URI, or null */ public URI getPollingBaseUri() { return pollingBaseUri; } /** * The base URI for the events service. * @return the base URI, or null */ public URI getEventsBaseUri() { return eventsBaseUri; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy