public final class WebSocketSettingsImpl extends WebSocketSettings implements scala.Product, java.io.Serializable
| Constructor and Description |
|---|
WebSocketSettingsImpl(scala.Function0<java.util.Random> randomFactory,
java.lang.String periodicKeepAliveMode,
scala.concurrent.duration.Duration periodicKeepAliveMaxIdle,
scala.Function0<org.apache.pekko.util.ByteString> periodicKeepAliveData,
boolean logFrames) |
| Modifier and Type | Method and Description |
|---|---|
static WebSocketSettingsImpl |
client(com.typesafe.config.Config config) |
static WebSocketSettingsImpl |
clientFromRoot(com.typesafe.config.Config root) |
static boolean |
hasNoCustomPeriodicKeepAliveData(WebSocketSettings settings) |
boolean |
logFrames() |
scala.Function0<org.apache.pekko.util.ByteString> |
periodicKeepAliveData()
The provided function will be invoked for each new keep-alive frame that is sent.
|
scala.concurrent.duration.Duration |
periodicKeepAliveMaxIdle() |
java.lang.String |
periodicKeepAliveMode() |
java.lang.String |
productPrefix() |
scala.Function0<java.util.Random> |
randomFactory() |
static WebSocketSettingsImpl |
server(com.typesafe.config.Config config) |
static WebSocketSettingsImpl |
serverFromRoot(com.typesafe.config.Config root) |
getPeriodicKeepAliveData, getRandomFactory, withLogFrames, withPeriodicKeepAliveData, withPeriodicKeepAliveMaxIdle, withPeriodicKeepAliveMode, withRandomFactoryFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait$init$, productArity, productElement, productElementName, productElementNames, productIteratorwithPeriodicKeepAliveDatapublic WebSocketSettingsImpl(scala.Function0<java.util.Random> randomFactory,
java.lang.String periodicKeepAliveMode,
scala.concurrent.duration.Duration periodicKeepAliveMaxIdle,
scala.Function0<org.apache.pekko.util.ByteString> periodicKeepAliveData,
boolean logFrames)
public static boolean hasNoCustomPeriodicKeepAliveData(WebSocketSettings settings)
public static WebSocketSettingsImpl serverFromRoot(com.typesafe.config.Config root)
public static WebSocketSettingsImpl server(com.typesafe.config.Config config)
public static WebSocketSettingsImpl clientFromRoot(com.typesafe.config.Config root)
public static WebSocketSettingsImpl client(com.typesafe.config.Config config)
public scala.Function0<java.util.Random> randomFactory()
randomFactory in class WebSocketSettingspublic java.lang.String periodicKeepAliveMode()
periodicKeepAliveMode in interface WebSocketSettingsperiodicKeepAliveMode in class WebSocketSettingspublic scala.concurrent.duration.Duration periodicKeepAliveMaxIdle()
periodicKeepAliveMaxIdle in interface WebSocketSettingsperiodicKeepAliveMaxIdle in class WebSocketSettingspublic scala.Function0<org.apache.pekko.util.ByteString> periodicKeepAliveData()
WebSocketSettingsperiodicKeepAliveData in class WebSocketSettingspublic boolean logFrames()
logFrames in interface WebSocketSettingslogFrames in class WebSocketSettingspublic java.lang.String productPrefix()
productPrefix in interface scala.Product