List of usage examples for org.springframework.web.socket WebSocketHandler interface-usage
From source file com.songjg.websocket.handler.SystemWebSocketHandler.java
/** * * @author dayu */ @Component public class SystemWebSocketHandler implements WebSocketHandler {
From source file cn.sinobest.websocket.handler.SimpleClientWebSocketHandler.java
/** * ? */ public class SimpleClientWebSocketHandler implements WebSocketHandler { @Autowired @Qualifier("SimpleMessageService")
From source file org.springframework.web.socket.handler.PerConnectionWebSocketHandler.java
/**
* A {@link WebSocketHandler} that initializes and destroys a {@link WebSocketHandler}
* instance for each WebSocket connection and delegates all other methods to it.
*
* <p>Essentially create an instance of this class once, providing the type of
* {@link WebSocketHandler} class to create for each connection, and then pass it to any
From source file org.springframework.web.socket.support.PerConnectionWebSocketHandler.java
/**
* A {@link WebSocketHandler} that initializes and destroys a {@link WebSocketHandler}
* instance for each WebSocket connection and delegates all other methods to it.
*
* <p>
* Essentially create an instance of this class once, providing the type of
From source file com.github.sshw.websocket.SSHWebSocketHandler.java
public class SSHWebSocketHandler implements WebSocketHandler { protected final Logger log = LoggerFactory.getLogger(getClass()); private List<String> logoutCommands = Arrays.asList(new String[] { "logout", "exit" });
From source file org.springframework.messaging.handler.websocket.SubProtocolWebSocketHandler.java
/**
* A {@link WebSocketHandler} that delegates messages to a {@link SubProtocolHandler}
* based on the sub-protocol value requested by the client through the
* {@code Sec-WebSocket-Protocol} request header A default handler can also be configured
* to use if the client does not request a specific sub-protocol.
*
From source file org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.java
/**
* An implementation of {@link WebSocketHandler} that delegates incoming WebSocket
* messages to a {@link SubProtocolHandler} along with a {@link MessageChannel} to which
* the sub-protocol handler can send messages from WebSocket clients to the application.
*
* <p>Also an implementation of {@link MessageHandler} that finds the WebSocket session
From source file virnet.experiment.webSocket.hndler.MainSystemWebSocketHandler.java
@Component public class MainSystemWebSocketHandler extends TextWebSocketHandler implements WebSocketHandler { private static final ArrayList<WebSocketSession> arrangeUsers; static { arrangeUsers = new ArrayList<>();