@Override
protected void setup(VaadinRequest request) {
addComponent(new Label("The button's text is the client token:"));
addComponent(new CsrfButton());
addComponent(new Label("This one is from the server"));
addComponent(new Label(getSession().getCsrfToken()));
Button pressMe = new Button("Click me to send a request");
pressMe.setId(PRESS_ID);
addComponent(pressMe);