Examples of ExceptionWebSocketHandlerDecorator


Examples of org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator

  }

  public WebSocketHttpRequestHandler(WebSocketHandler wsHandler, HandshakeHandler handshakeHandler) {
    Assert.notNull(wsHandler, "wsHandler must not be null");
    Assert.notNull(handshakeHandler, "handshakeHandler must not be null");
    this.wsHandler = new ExceptionWebSocketHandlerDecorator(new LoggingWebSocketHandlerDecorator(wsHandler));
    this.handshakeHandler = handshakeHandler;
  }
View Full Code Here

Examples of org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator

  }

  @Test
  public void delegateMessagesWithErrorAndConnectionClosing() throws Exception {

    WebSocketHandler wsHandler = new ExceptionWebSocketHandlerDecorator(this.webSocketHandler);
    TestSockJsSession sockJsSession = new TestSockJsSession("1", this.sockJsConfig,
        wsHandler, Collections.<String, Object>emptyMap());

    String msg1 = "message 1";
    String msg2 = "message 2";
View Full Code Here

Examples of org.springframework.web.socket.handler.ExceptionWebSocketHandlerDecorator

  public SockJsHttpRequestHandler(SockJsService sockJsService, WebSocketHandler webSocketHandler) {
    Assert.notNull(sockJsService, "sockJsService must not be null");
    Assert.notNull(webSocketHandler, "webSocketHandler must not be null");
    this.sockJsService = sockJsService;
    this.webSocketHandler =
        new ExceptionWebSocketHandlerDecorator(new LoggingWebSocketHandlerDecorator(webSocketHandler));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.