Interface NavigationEntry


public interface NavigationEntry
A navigation history entry.
  • Method Summary

    Modifier and Type
    Method
    Description
    default int
    Returns the status code of the last known successful navigation.
    default String
    Returns a string that represents the URL that caused this entry to be created.
    default PageType
    Returns the page type that tells if this entry is for an interstitial or error page.
    default Timestamp
    Returns the time at which the last known navigation was completed.
    default String
    Returns the title as set by the web page or an empty string if there is no title set.
    default String
    url()
    Returns a string that represents the actual URL of the web page.
  • Method Details

    • title

      default String title()
      Returns the title as set by the web page or an empty string if there is no title set.
    • url

      default String url()
      Returns a string that represents the actual URL of the web page.
    • originalUrl

      default String originalUrl()
      Returns a string that represents the URL that caused this entry to be created.
    • httpStatus

      default int httpStatus()
      Returns the status code of the last known successful navigation.
    • pageType

      default PageType pageType()
      Returns the page type that tells if this entry is for an interstitial or error page.
    • timestamp

      default Timestamp timestamp()
      Returns the time at which the last known navigation was completed. A navigation can be completed more than once if the page is reloaded.