Class PrerenderAttemptCompleted


  • @Beta
    public class PrerenderAttemptCompleted
    extends java.lang.Object
    Fired when a prerender attempt is completed.
    • Constructor Detail

      • PrerenderAttemptCompleted

        public PrerenderAttemptCompleted​(FrameId initiatingFrameId,
                                         java.lang.String prerenderingUrl,
                                         PrerenderFinalStatus finalStatus,
                                         java.util.Optional<java.lang.String> disallowedApiMethod)
    • Method Detail

      • getInitiatingFrameId

        public FrameId getInitiatingFrameId()
        The frame id of the frame initiating prerendering.
      • getPrerenderingUrl

        public java.lang.String getPrerenderingUrl()
      • getDisallowedApiMethod

        public java.util.Optional<java.lang.String> getDisallowedApiMethod()
        This is used to give users more information about the name of the API call that is incompatible with prerender and has caused the cancellation of the attempt