Interface NavigationFinished
- All Superinterfaces:
Event,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 TypeMethodDescriptiondefault NetErrorerror()Returns the navigation error in case the navigation has failed.default Frameframe()Returns theFrameinstance initiated this navigation.default booleanReturnstrueif the navigation has committed.default booleanReturnstrueif the navigation resulted in an error page.default booleanReturnstrueif the navigation has been performed to a fragment within the same document.default booleanReturnstrueif the navigation is taking place in the main frame.default booleanReturnstrueif the navigation has been performed in the scope of the same document.default booleanReturnstrueif the navigation has encountered a server redirect.default NavigationReturns theNavigationinstance initiated this event.default Stringurl()Returns a string that represents the URL of this navigation.
-
Method Details
-
frame
Returns theFrameinstance initiated this navigation. -
url
Returns a string that represents the URL of this navigation. -
isSameDocument
default boolean isSameDocument()Returnstrueif the navigation has been performed in the scope of the same document. -
isInMainFrame
default boolean isInMainFrame()Returnstrueif the navigation is taking place in the main frame.- Since:
- 7.5
-
isServerRedirect
default boolean isServerRedirect()Returnstrueif the navigation has encountered a server redirect. -
hasCommitted
default boolean hasCommitted()Returnstrueif the navigation has committed. -
isErrorPage
default boolean isErrorPage()Returnstrueif the navigation resulted in an error page. -
error
Returns the navigation error in case the navigation has failed.