Interface Processor
-
- All Known Implementing Classes:
BodyProcessor,SanitizingWebProcessor
public interface ProcessorA processor is executed right before a event (aTransactionorErrorCapture) gets reported.You can use this for example to sanitize certain information.
The constructor can optionally have a
ConfigurationRegistryparameter.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidprocessBeforeReport(ErrorCapture error)This method is executed before the providedErrorCaptureis reported.voidprocessBeforeReport(Transaction transaction)This method is executed before the providedTransactionis reported.
-
-
-
Method Detail
-
processBeforeReport
void processBeforeReport(Transaction transaction)
This method is executed before the providedTransactionis reported.- Parameters:
transaction- The transaction to process.
-
processBeforeReport
void processBeforeReport(ErrorCapture error)
This method is executed before the providedErrorCaptureis reported.- Parameters:
error- The error to process.
-
-