@@ -136,7 +136,6 @@ Request.Builder getRequestBuilder(String sdkKey) {
136136 /**
137137 * A <a href="http://en.wikipedia.org/wiki/Builder_pattern">builder</a> that helps construct {@link com.launchdarkly.client.LDConfig} objects. Builder
138138 * calls can be chained, enabling the following pattern:
139- * <p>
140139 * <pre>
141140 * LDConfig config = new LDConfig.Builder()
142141 * .connectTimeoutMillis(3)
@@ -227,7 +226,6 @@ public Builder stream(boolean stream) {
227226 /**
228227 * Set the connection timeout in seconds for the configuration. This is the time allowed for the underlying HTTP client to connect
229228 * to the LaunchDarkly server. The default is 2 seconds.
230- * <p>
231229 * <p>Both this method and {@link #connectTimeoutMillis(int) connectTimeoutMillis} affect the same property internally.</p>
232230 *
233231 * @param connectTimeout the connection timeout in seconds
@@ -241,7 +239,6 @@ public Builder connectTimeout(int connectTimeout) {
241239 /**
242240 * Set the socket timeout in seconds for the configuration. This is the number of seconds between successive packets that the
243241 * client will tolerate before flagging an error. The default is 10 seconds.
244- * <p>
245242 * <p>Both this method and {@link #socketTimeoutMillis(int) socketTimeoutMillis} affect the same property internally.</p>
246243 *
247244 * @param socketTimeout the socket timeout in seconds
@@ -255,7 +252,6 @@ public Builder socketTimeout(int socketTimeout) {
255252 /**
256253 * Set the connection timeout in milliseconds for the configuration. This is the time allowed for the underlying HTTP client to connect
257254 * to the LaunchDarkly server. The default is 2000 ms.
258- * <p>
259255 * <p>Both this method and {@link #connectTimeout(int) connectTimeoutMillis} affect the same property internally.</p>
260256 *
261257 * @param connectTimeoutMillis the connection timeout in milliseconds
@@ -269,7 +265,6 @@ public Builder connectTimeoutMillis(int connectTimeoutMillis) {
269265 /**
270266 * Set the socket timeout in milliseconds for the configuration. This is the number of milliseconds between successive packets that the
271267 * client will tolerate before flagging an error. The default is 10,000 milliseconds.
272- * <p>
273268 * <p>Both this method and {@link #socketTimeout(int) socketTimeoutMillis} affect the same property internally.</p>
274269 *
275270 * @param socketTimeoutMillis the socket timeout in milliseconds
@@ -312,7 +307,7 @@ public Builder capacity(int capacity) {
312307 * a proxy will not be used, and {@link LDClient} will connect to LaunchDarkly directly.
313308 * </p>
314309 *
315- * @param host
310+ * @param host the proxy hostname
316311 * @return the builder
317312 */
318313 public Builder proxyHost (String host ) {
@@ -323,7 +318,7 @@ public Builder proxyHost(String host) {
323318 /**
324319 * Set the port to use for an HTTP proxy for making connections to LaunchDarkly. This is required for proxied HTTP connections.
325320 *
326- * @param port
321+ * @param port the proxy port
327322 * @return the builder
328323 */
329324 public Builder proxyPort (int port ) {
@@ -335,7 +330,7 @@ public Builder proxyPort(int port) {
335330 * Sets the username for the optional HTTP proxy. Only used when {@link LDConfig.Builder#proxyPassword(String)}
336331 * is also called.
337332 *
338- * @param username
333+ * @param username the proxy username
339334 * @return the builder
340335 */
341336 public Builder proxyUsername (String username ) {
@@ -347,7 +342,7 @@ public Builder proxyUsername(String username) {
347342 * Sets the password for the optional HTTP proxy. Only used when {@link LDConfig.Builder#proxyUsername(String)}
348343 * is also called.
349344 *
350- * @param password
345+ * @param password the proxy password
351346 * @return the builder
352347 */
353348 public Builder proxyPassword (String password ) {
@@ -358,7 +353,7 @@ public Builder proxyPassword(String password) {
358353 /**
359354 * Deprecated. Only HTTP proxies are currently supported.
360355 *
361- * @param unused
356+ * @param unused the proxy scheme
362357 * @return the builder
363358 */
364359 @ Deprecated
@@ -367,10 +362,10 @@ public Builder proxyScheme(String unused) {
367362 }
368363
369364 /**
370- * Set whether this client should subscribe to the streaming API, or whether the LaunchDarkly daemon is in use
371- * instead
365+ * Set whether this client should use the <a href="https://docs.launchdarkly.com/docs/ the-relay-proxy"> LaunchDarkly
366+ * relay</a> in daemon mode, versus subscribing to the streaming or polling API.
372367 *
373- * @param useLdd
368+ * @param useLdd true to use the relay in daemon mode; false to use streaming or polling
374369 * @return the builder
375370 */
376371 public Builder useLdd (boolean useLdd ) {
@@ -381,7 +376,7 @@ public Builder useLdd(boolean useLdd) {
381376 /**
382377 * Set whether this client is offline.
383378 *
384- * @param offline when set to true no calls to LaunchDarkly will be made.
379+ * @param offline when set to true no calls to LaunchDarkly will be made
385380 * @return the builder
386381 */
387382 public Builder offline (boolean offline ) {
@@ -390,10 +385,10 @@ public Builder offline(boolean offline) {
390385 }
391386
392387 /**
393- * Set whether or not user attributes (other than the key) should be sent back to LaunchDarkly. If this is true, all
388+ * Set whether or not user attributes (other than the key) should be hidden from LaunchDarkly. If this is true, all
394389 * user attribute values will be private, not just the attributes specified in {@link #privateAttributeNames(String...)}. By default,
395390 * this is false.
396- * @param allPrivate
391+ * @param allPrivate true if all user attributes should be private
397392 * @return the builder
398393 */
399394 public Builder allAttributesPrivate (boolean allPrivate ) {
@@ -406,7 +401,7 @@ public Builder allAttributesPrivate(boolean allPrivate) {
406401 * events. This differs from {@link offline} in that it only affects sending
407402 * analytics events, not streaming or polling for events from the server.
408403 *
409- * @param sendEvents when set to false, no events will be sent to LaunchDarkly.
404+ * @param sendEvents when set to false, no events will be sent to LaunchDarkly
410405 * @return the builder
411406 */
412407 public Builder sendEvents (boolean sendEvents ) {
@@ -418,7 +413,7 @@ public Builder sendEvents(boolean sendEvents) {
418413 * Set the polling interval (when streaming is disabled). Values less than the default of
419414 * 30000 will be set to the default.
420415 *
421- * @param pollingIntervalMillis rule update polling interval in milliseconds.
416+ * @param pollingIntervalMillis rule update polling interval in milliseconds
422417 * @return the builder
423418 */
424419 public Builder pollingIntervalMillis (long pollingIntervalMillis ) {
@@ -443,7 +438,6 @@ public Builder startWaitMillis(long startWaitMillis) {
443438 * Enable event sampling. When set to the default of zero, sampling is disabled and all events
444439 * are sent back to LaunchDarkly. When set to greater than zero, there is a 1 in
445440 * <code>samplingInterval</code> chance events will be will be sent.
446- * <p>
447441 * <p>Example: if you want 5% sampling rate, set <code>samplingInterval</code> to 20.
448442 *
449443 * @param samplingInterval the sampling interval.
0 commit comments