Example usage for org.springframework.web.socket.sockjs.transport TransportType XHR_STREAMING

List of usage examples for org.springframework.web.socket.sockjs.transport TransportType XHR_STREAMING

Introduction

In this page you can find the example usage for org.springframework.web.socket.sockjs.transport TransportType XHR_STREAMING.

Prototype

TransportType XHR_STREAMING

To view the source code for org.springframework.web.socket.sockjs.transport TransportType XHR_STREAMING.

Click Source Link

Usage

From source file:org.springframework.web.socket.sockjs.client.AbstractXhrTransport.java

@Override
public List<TransportType> getTransportTypes() {
    return (isXhrStreamingDisabled() ? Collections.singletonList(TransportType.XHR)
            : Arrays.asList(TransportType.XHR_STREAMING, TransportType.XHR));
}