Class Page.NavigateResponse

  • Enclosing class:
    Page

    public static class Page.NavigateResponse
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      NavigateResponse​(FrameId frameId, java.util.Optional<LoaderId> loaderId, java.util.Optional<java.lang.String> errorText)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getErrorText()
      User friendly error message, present if and only if navigation has failed.
      FrameId getFrameId()
      Frame id that has navigated (or failed to navigate)
      java.util.Optional<LoaderId> getLoaderId()
      Loader identifier.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NavigateResponse

        public NavigateResponse​(FrameId frameId,
                                java.util.Optional<LoaderId> loaderId,
                                java.util.Optional<java.lang.String> errorText)
    • Method Detail

      • getFrameId

        public FrameId getFrameId()
        Frame id that has navigated (or failed to navigate)
      • getLoaderId

        public java.util.Optional<LoaderId> getLoaderId()
        Loader identifier.
      • getErrorText

        public java.util.Optional<java.lang.String> getErrorText()
        User friendly error message, present if and only if navigation has failed.