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 Type
    Method
    Description
    void
    Closes the current Vaadin session.
    void
    Invalidates the underlying servlet session.
    void
    redirectTo(String routePath)
    Tells the browser to navigate to the given path.
  • Method Details

    • redirectTo

      void redirectTo(String routePath)
      Tells the browser to navigate to the given path. Implementations should use Page.setLocation(...) so the navigation survives a subsequent closeVaadinSession() or invalidateHttpSession() call.
    • closeVaadinSession

      void closeVaadinSession()
      Closes the current Vaadin session.
    • invalidateHttpSession

      void invalidateHttpSession()
      Invalidates the underlying servlet session.