public static class ServerWebSocketContainer.SockJsServiceOptions extends Object
SockJsServiceRegistration
Constructor and Description |
---|
SockJsServiceOptions() |
public ServerWebSocketContainer.SockJsServiceOptions setTaskScheduler(TaskScheduler taskScheduler)
public ServerWebSocketContainer.SockJsServiceOptions setClientLibraryUrl(String clientLibraryUrl)
public ServerWebSocketContainer.SockJsServiceOptions setStreamBytesLimit(int streamBytesLimit)
public ServerWebSocketContainer.SockJsServiceOptions setSessionCookieNeeded(boolean sessionCookieNeeded)
public ServerWebSocketContainer.SockJsServiceOptions setHeartbeatTime(long heartbeatTime)
public ServerWebSocketContainer.SockJsServiceOptions setDisconnectDelay(long disconnectDelay)
public ServerWebSocketContainer.SockJsServiceOptions setHttpMessageCacheSize(int httpMessageCacheSize)
public ServerWebSocketContainer.SockJsServiceOptions setWebSocketEnabled(boolean webSocketEnabled)
public ServerWebSocketContainer.SockJsServiceOptions setTransportHandlers(TransportHandler... transportHandlers)
public ServerWebSocketContainer.SockJsServiceOptions setMessageCodec(SockJsMessageCodec messageCodec)
public ServerWebSocketContainer.SockJsServiceOptions setSuppressCors(boolean suppressCors)