3233343536373839404142
public class ChatRoomPanel extends Panel { public ChatRoomPanel(String id) { super(id); add(new AbstractWebsocketBehavior(false) { @Override protected Url getSocketCreationURL() { Url url = getContextPathURL(); url.getSegments().add("chat");