Class DelegatingBayeuxParameters
- java.lang.Object
-
- org.wso2.carbon.inbound.salesforce.poll.DelegatingBayeuxParameters
-
- All Implemented Interfaces:
BayeuxParameters
public class DelegatingBayeuxParameters extends Object implements BayeuxParameters
- Since:
- 202
- Author:
- hal.hildebrand
-
-
Constructor Summary
Constructors Constructor Description DelegatingBayeuxParameters(BayeuxParameters parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbearerToken()URLendpoint()longkeepAlive()TimeUnitkeepAliveUnit()Map<String,Object>longPollingOptions()intmaxBufferSize()intmaxNetworkDelay()Collection<? extends org.eclipse.jetty.client.ProxyConfiguration.Proxy>proxies()org.eclipse.jetty.util.ssl.SslContextFactorysslContextFactory()Stringversion()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.wso2.carbon.inbound.salesforce.poll.BayeuxParameters
host
-
-
-
-
Constructor Detail
-
DelegatingBayeuxParameters
public DelegatingBayeuxParameters(BayeuxParameters parameters)
-
-
Method Detail
-
bearerToken
public String bearerToken()
- Specified by:
bearerTokenin interfaceBayeuxParameters- Returns:
- the bearer token used to authenticate
-
endpoint
public URL endpoint()
- Specified by:
endpointin interfaceBayeuxParameters- Returns:
- the URL of the platform Streaming API endpoint
-
keepAlive
public long keepAlive()
- Specified by:
keepAlivein interfaceBayeuxParameters- Returns:
- the keep alive interval duration
-
keepAliveUnit
public TimeUnit keepAliveUnit()
- Specified by:
keepAliveUnitin interfaceBayeuxParameters- Returns:
- keep alive interval time unit
-
longPollingOptions
public Map<String,Object> longPollingOptions()
- Specified by:
longPollingOptionsin interfaceBayeuxParameters
-
maxBufferSize
public int maxBufferSize()
- Specified by:
maxBufferSizein interfaceBayeuxParameters- Returns:
- The long polling transport maximum number of bytes of a HTTP response, which may contain many Bayeux messages
-
maxNetworkDelay
public int maxNetworkDelay()
- Specified by:
maxNetworkDelayin interfaceBayeuxParameters- Returns:
- The long polling transport maximum number of milliseconds to wait before considering a request to the Bayeux server failed
-
proxies
public Collection<? extends org.eclipse.jetty.client.ProxyConfiguration.Proxy> proxies()
- Specified by:
proxiesin interfaceBayeuxParameters- Returns:
- a list of proxies to use for outbound connections
-
sslContextFactory
public org.eclipse.jetty.util.ssl.SslContextFactory sslContextFactory()
- Specified by:
sslContextFactoryin interfaceBayeuxParameters- Returns:
- the SslContextFactory for establishing secure outbound connections
-
version
public String version()
- Specified by:
versionin interfaceBayeuxParameters- Returns:
- the Streaming API version
-
-