public static final class HttpOkInternetObservingStrategy.Builder
extends java.lang.Object
HttpOkInternetObservingStrategy builder static inner class.| Modifier and Type | Method and Description |
|---|---|
HttpOkInternetObservingStrategy |
build()
Create an immutable instance of
HttpOkInternetObservingStrategy using
configured values. |
B |
delay(long delay)
Set the delay for the strategy used in Observable.interval(long, long, java.util.concurrent.TimeUnit).
|
B |
endpoint(java.lang.String endpoint)
Set the endpoint for the strategy.
|
B |
interval(long interval)
Set the interval for the strategy used in Observable.interval(long, long, java.util.concurrent.TimeUnit).
|
B |
timeout(int timeout)
Set the timeout for the strategy.
|
@NonNull public HttpOkInternetObservingStrategy build()
HttpOkInternetObservingStrategy using
configured values.@NonNull public B timeout(int timeout)
@NonNull
public B endpoint(@NonNull
java.lang.String endpoint)
@NonNull public B delay(long delay)
@NonNull public B interval(long interval)