@SpringBootApplication @EnableWebMvc @EnableWebSocket public class EchoServer extends Object implements WebSocketConfigurer
| Constructor and Description |
|---|
EchoServer() |
| Modifier and Type | Method and Description |
|---|---|
io.cettia.asity.action.Action<io.cettia.asity.http.ServerHttpExchange> |
httpAction() |
HandlerMapping |
httpMapping() |
static void |
main(String[] args) |
void |
registerWebSocketHandlers(WebSocketHandlerRegistry registry) |
io.cettia.asity.action.Action<io.cettia.asity.websocket.ServerWebSocket> |
wsAction() |
@Bean public io.cettia.asity.action.Action<io.cettia.asity.http.ServerHttpExchange> httpAction()
@Bean public io.cettia.asity.action.Action<io.cettia.asity.websocket.ServerWebSocket> wsAction()
@Bean public HandlerMapping httpMapping()
public void registerWebSocketHandlers(WebSocketHandlerRegistry registry)
registerWebSocketHandlers in interface WebSocketConfigurerpublic static void main(String[] args)
Copyright © 2015–2019. All rights reserved.