Example usage for org.springframework.web.socket.client.standard WebSocketContainerFactoryBean getObject

List of usage examples for org.springframework.web.socket.client.standard WebSocketContainerFactoryBean getObject

Introduction

In this page you can find the example usage for org.springframework.web.socket.client.standard WebSocketContainerFactoryBean getObject.

Prototype

@Override
    public WebSocketContainer getObject() throws Exception 

Source Link

Usage

From source file:ymanv.forex.SockJsClientTest.java

private static WebSocketContainer createWebSocketContainer() throws Exception {
    WebSocketContainerFactoryBean container = new WebSocketContainerFactoryBean();
    container.setMaxTextMessageBufferSize(128 * 1024);
    return container.getObject();
}