Interface NavigationFinished

All Superinterfaces:
Event, NavigationEvent

public interface NavigationFinished extends NavigationEvent
An event indicating that the navigation has been finished. This happens when a navigation is committed, aborted, or replaced by a new one.
  • Method Summary

    Modifier and Type
    Method
    Description
    default NetError
    Returns the navigation error in case the navigation has failed.
    default Frame
    Returns the Frame instance initiated this navigation.
    default boolean
    Returns true if the navigation has committed.
    default boolean
    Returns true if the navigation resulted in an error page.
    default boolean
    Returns true if the navigation has been performed to a fragment within the same document.
    default boolean
    Returns true if the navigation is taking place in the main frame.
    default boolean
    Returns true if the navigation has been performed in the scope of the same document.
    default boolean
    Returns true if the navigation has encountered a server redirect.
    default Navigation
    Returns the Navigation instance initiated this event.
    default String
    url()
    Returns a string that represents the URL of this navigation.
  • Method Details

    • frame

      default Frame frame()
      Returns the Frame instance initiated this navigation.
    • url

      default String url()
      Returns a string that represents the URL of this navigation.
    • isSameDocument

      default boolean isSameDocument()
      Returns true if the navigation has been performed in the scope of the same document.
    • isFragmentNavigation

      default boolean isFragmentNavigation()
      Returns true if the navigation has been performed to a fragment within the same document.
      Since:
      7.17
    • isInMainFrame

      default boolean isInMainFrame()
      Returns true if the navigation is taking place in the main frame.
      Since:
      7.5
    • isServerRedirect

      default boolean isServerRedirect()
      Returns true if the navigation has encountered a server redirect.
    • hasCommitted

      default boolean hasCommitted()
      Returns true if the navigation has committed.
    • isErrorPage

      default boolean isErrorPage()
      Returns true if the navigation resulted in an error page.
    • error

      default NetError error()
      Returns the navigation error in case the navigation has failed.