| Should we strive for integration with web sockets, making it easy to use validation in endpoints:
@ServerEndpoint
public class MyWebSocketServer {
@OnMessage
public void handleMessage(@NotNull @Pattern() String message, Session session) {
}
}
Some food for thought, probably it should be driven by and go into WS.next should they be interested (similar to JAX-RS). |