public class WebSocketConfig
extends java.lang.Object
| Constructor and Description |
|---|
WebSocketConfig()
Creates an empty configuration for WebSockets.
|
WebSocketConfig(java.lang.String basePath,
long timeout)
Creates a new configuration for WebSockets with a given base path.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBasePath() |
long |
getTimeout() |
void |
setBasePath(java.lang.String basePath) |
void |
setTimeout(long timeout) |
public WebSocketConfig()
public WebSocketConfig(java.lang.String basePath,
long timeout)
basePath - the base path to be settimeout - the timeout in millis to setpublic java.lang.String getBasePath()
public void setBasePath(java.lang.String basePath)
basePath - the basePath to setpublic long getTimeout()
public void setTimeout(long timeout)
timeout - the timeout to setCopyright © 2017-2018 Cinovo AG. All Rights Reserved.