public interface NavigationFinished extends NavigationEvent
Modifier and Type | Method and Description |
---|---|
default NetError |
error()
Returns the navigation error in case the navigation has failed.
|
default Frame |
frame()
Returns the
Frame instance initiated this navigation. |
default boolean |
hasCommitted()
Returns
true if the navigation has committed. |
default boolean |
isErrorPage()
Returns
true if the navigation resulted in an error page. |
default boolean |
isFragmentNavigation()
Returns
true if the navigation has been performed to a fragment
within the same document. |
default boolean |
isInMainFrame()
Returns
true if the navigation is taking place in the main frame. |
default boolean |
isSameDocument()
Returns
true if the navigation has been performed in the scope of the same document. |
default boolean |
isServerRedirect()
Returns
true if the navigation has encountered a server redirect. |
default Navigation |
navigation()
Returns the
Navigation instance initiated this event. |
default java.lang.String |
url()
Returns a string that represents the URL of this navigation.
|
default Navigation navigation()
NavigationEvent
Navigation
instance initiated this event.navigation
in interface NavigationEvent
default Frame frame()
Frame
instance initiated this navigation.default java.lang.String url()
default boolean isSameDocument()
true
if the navigation has been performed in the scope of the same document.default boolean isFragmentNavigation()
true
if the navigation has been performed to a fragment
within the same document.default boolean isInMainFrame()
true
if the navigation is taking place in the main frame.default boolean isServerRedirect()
true
if the navigation has encountered a server redirect.default boolean hasCommitted()
true
if the navigation has committed.default boolean isErrorPage()
true
if the navigation resulted in an error page.default NetError error()