Interface VaadinLogoutGateway
- All Known Implementing Classes:
DefaultVaadinLogoutGateway
public interface VaadinLogoutGateway
Strategy for the Vaadin-side effects of a logout. Existed primarily so
VaadinLogoutService can be unit-tested without a live Vaadin
runtime — the default implementation calls the static Vaadin APIs.-
Method Summary
Modifier and TypeMethodDescriptionvoidCloses the current Vaadin session.voidInvalidates the underlying servlet session.voidredirectTo(String routePath) Tells the browser to navigate to the given path.
-
Method Details
-
redirectTo
Tells the browser to navigate to the given path. Implementations should usePage.setLocation(...)so the navigation survives a subsequentcloseVaadinSession()orinvalidateHttpSession()call. -
closeVaadinSession
void closeVaadinSession()Closes the current Vaadin session. -
invalidateHttpSession
void invalidateHttpSession()Invalidates the underlying servlet session.
-