Interface IHttpDocumentProcessor

  • All Known Implementing Classes:
    FeaturedImageProcessor
    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 interface IHttpDocumentProcessor
    Custom processing (optional) performed on a document. Can be used just before of after a document has been imported.
    Since:
    2.8.0 (moved from "com.norconex.collector.http.doc" package)
    Author:
    Pascal Essiembre
    • Method Detail

      • processDocument

        void processDocument​(HttpFetchClient fetchClient,
                             Doc doc)
        Processes a document.
        Parameters:
        fetchClient - HTTP fetch client
        doc - the document