Example usage for org.springframework.web.socket.handler SessionLimitExceededException SessionLimitExceededException

List of usage examples for org.springframework.web.socket.handler SessionLimitExceededException SessionLimitExceededException

Introduction

In this page you can find the example usage for org.springframework.web.socket.handler SessionLimitExceededException SessionLimitExceededException.

Prototype

public SessionLimitExceededException(String message, @Nullable CloseStatus status) 

Source Link

Usage

From source file:org.springframework.web.socket.handler.ConcurrentWebSocketSessionDecorator.java

private void limitExceeded(String reason) {
    this.limitExceeded = true;
    throw new SessionLimitExceededException(reason, CloseStatus.SESSION_NOT_RELIABLE);
}