Interface Processor

  • All Known Implementing Classes:
    BodyProcessor, SanitizingWebProcessor

    public interface Processor
    A processor is executed right before a event (a Transaction or ErrorCapture) gets reported.

    You can use this for example to sanitize certain information.

    The constructor can optionally have a ConfigurationRegistry parameter.

    • Method Detail

      • processBeforeReport

        void processBeforeReport​(Transaction transaction)
        This method is executed before the provided Transaction is reported.
        Parameters:
        transaction - The transaction to process.
      • processBeforeReport

        void processBeforeReport​(ErrorCapture error)
        This method is executed before the provided ErrorCapture is reported.
        Parameters:
        error - The error to process.