Interface BayeuxParameters
-
- All Known Implementing Classes:
DelegatingBayeuxParameters
public interface BayeuxParameters- Since:
- 202
- Author:
- hal.hildebrand
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringbearerToken()default URLendpoint()default URLhost()default longkeepAlive()default TimeUnitkeepAliveUnit()default Map<String,Object>longPollingOptions()default intmaxBufferSize()default intmaxNetworkDelay()default Collection<? extends org.eclipse.jetty.client.ProxyConfiguration.Proxy>proxies()default org.eclipse.jetty.util.ssl.SslContextFactorysslContextFactory()default Stringversion()
-
-
-
Method Detail
-
bearerToken
String bearerToken()
- Returns:
- the bearer token used to authenticate
-
endpoint
default URL endpoint()
- Returns:
- the URL of the platform Streaming API endpoint
-
host
default URL host()
-
keepAlive
default long keepAlive()
- Returns:
- the keep alive interval duration
-
keepAliveUnit
default TimeUnit keepAliveUnit()
- Returns:
- keep alive interval time unit
-
maxBufferSize
default int maxBufferSize()
- Returns:
- The long polling transport maximum number of bytes of a HTTP response, which may contain many Bayeux messages
-
maxNetworkDelay
default int maxNetworkDelay()
- Returns:
- The long polling transport maximum number of milliseconds to wait before considering a request to the Bayeux server failed
-
proxies
default Collection<? extends org.eclipse.jetty.client.ProxyConfiguration.Proxy> proxies()
- Returns:
- a list of proxies to use for outbound connections
-
sslContextFactory
default org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory()
- Returns:
- the SslContextFactory for establishing secure outbound connections
-
version
default String version()
- Returns:
- the Streaming API version
-
-