public class RequestClientBuilder
extends java.lang.Object
RequestClient implementations. The default RequestClient built by this builder is not persistent and not real-time.| Constructor and Description |
|---|
RequestClientBuilder() |
| Modifier and Type | Method and Description |
|---|---|
RequestClient |
build()
Builds a
RequestClient. |
RequestClientBuilder |
persistent() |
RequestClientBuilder |
persistent(boolean persistent) |
RequestClientBuilder |
realTime() |
RequestClientBuilder |
realTime(boolean realTime) |
public RequestClientBuilder persistent()
public RequestClientBuilder persistent(boolean persistent)
public RequestClientBuilder realTime()
public RequestClientBuilder realTime(boolean realTime)
public RequestClient build()
RequestClient. Once this method has been called the returned RequestClient is not connected to this builder anymore; the resulting RequestClient
will never change. With this it’s possible to reuse this builder instances for creating more
RequestClients.RequestClient with the given settings