Interface CapturePage.PageDepthHandler<T>

  • Enclosing class:
    CapturePage
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface CapturePage.PageDepthHandler<T>
    • Method Detail

      • handlePage

        T handlePage​(Page page,
                     int depth)
              throws ServletException,
                     IOException
        Called after page captured but before or after children captured. Provided the current depth in the page tree, where 0 is the root node.
        Returns:
        non-null value to terminate the traversal and return this value
        Throws:
        ServletException
        IOException