public static class SockJsServer.Options extends Object
Modifier and Type | Field and Description |
---|---|
String |
baseUrl
Users can specify a base URL which all client requests after an
initial info request will be made against.
|
int |
disconnectDelay
The server sends a `close` event when a client receiving
connection has not been seen for a while.
|
int |
heartbeatDelay
In order to keep proxies and load balancers from closing long
running http requests we need to pretend that the connection is
active and send a heartbeat packet once in a while.
|
boolean |
jsessionid
Some hosting providers enable sticky sessions only to requests
that have a JSESSIONID cookie set.
|
int |
responseLimit
Most streaming transports save responses on the client side and
don't free memory used by delivered messages.
|
String |
sockjsUrl
Transports which don't support cross-domain communication natively
('eventsource' to name one) use an iframe trick.
|
boolean |
websocket
Some load balancers don't support websockets.
|
Constructor and Description |
---|
SockJsServer.Options() |
public String sockjsUrl
public int responseLimit
public boolean websocket
public boolean jsessionid
public int heartbeatDelay
public int disconnectDelay
public String baseUrl
Copyright © 2015. All rights reserved.