the sockjs protocol requires a server to respond to the initial '' / info '' request from clients with a `` cookie_needed '' boolean property that indicates whether the use of a jsessionid cookie is required for the application to function correctly , e.g. for load balancing or in java servlet containers for the use of an http session . this is especially important for ie 8,9 that support xdomainrequest -- a modified ajax/xhr -- that can do requests across domains but does not send any cookies . in those cases , the sockjs client prefers the `` iframe-htmlfile '' transport over `` xdr-streaming '' in order to be able to send cookies . the default value is `` true '' to maximize the chance for applications to work correctly in ie 8,9 with support for cookies and the jsessionid cookie in particular . however , an application can choose to set this to `` false '' if the use of cookies and http session is not required . concode_field_sep Long heartbeatTime concode_elem_sep Boolean webSocketEnabled concode_elem_sep List<String> allowedOrigins concode_elem_sep List<TransportHandler> transportHandlers concode_elem_sep SockJsMessageCodec messageCodec concode_elem_sep Boolean sessionCookieNeeded concode_elem_sep Integer httpMessageCacheSize concode_elem_sep String clientLibraryUrl concode_elem_sep Integer streamBytesLimit concode_elem_sep TaskScheduler scheduler concode_elem_sep Boolean suppressCors concode_elem_sep List<TransportHandler> transportHandlerOverrides concode_elem_sep List<HandshakeInterceptor> interceptors concode_elem_sep Long disconnectDelay concode_field_sep SockJsService getSockJsService concode_elem_sep SockJsServiceRegistration setTaskScheduler concode_elem_sep SockJsServiceRegistration setTransportHandlers concode_elem_sep SockJsServiceRegistration setClientLibraryUrl concode_elem_sep SockJsServiceRegistration setSupressCors concode_elem_sep SockJsServiceRegistration setWebSocketEnabled concode_elem_sep SockJsServiceRegistration setHttpMessageCacheSize concode_elem_sep TransportHandlingSockJsService createSockJsService concode_elem_sep SockJsServiceRegistration setDisconnectDelay concode_elem_sep SockJsServiceRegistration setMessageCodec concode_elem_sep SockJsServiceRegistration setAllowedOrigins concode_elem_sep SockJsServiceRegistration setHeartbeatTime concode_elem_sep TaskScheduler getTaskScheduler concode_elem_sep SockJsServiceRegistration setTransportHandlerOverrides concode_elem_sep SockJsServiceRegistration setStreamBytesLimit concode_elem_sep SockJsServiceRegistration setInterceptors
SockJsServiceRegistration function ( boolean arg0 ) { this . sessionCookieNeeded = arg0 ; return this ; }