public interface SockJsConfiguration
TransportHandler
s and SockJS sessions.Modifier and Type | Method and Description |
---|---|
long |
getHeartbeatTime()
The amount of time in milliseconds when the server has not sent any
messages and after which the server should send a heartbeat frame to the
client in order to keep the connection from breaking.
|
int |
getStreamBytesLimit()
Streaming transports save responses on the client side and don't free
memory used by delivered messages.
|
TaskScheduler |
getTaskScheduler()
A scheduler instance to use for scheduling heart-beat messages.
|
int getStreamBytesLimit()
The default value is 128K (i.e. 128 * 1024).
long getHeartbeatTime()
The default value is 25,000 (25 seconds).
TaskScheduler getTaskScheduler()