Class BodyProcessor
- java.lang.Object
-
- co.elastic.apm.agent.impl.context.BodyProcessor
-
- All Implemented Interfaces:
Processor
public class BodyProcessor extends java.lang.Object implements Processor
This processor redacts the body according to theCoreConfiguration.captureBodyconfiguration option
-
-
Constructor Summary
Constructors Constructor Description BodyProcessor(org.stagemonitor.configuration.ConfigurationRegistry configurationRegistry)
-
Method Summary
All Methods Instance Methods Concrete 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
public void processBeforeReport(Transaction transaction)
Description copied from interface:ProcessorThis method is executed before the providedTransactionis reported.- Specified by:
processBeforeReportin interfaceProcessor- Parameters:
transaction- The transaction to process.
-
processBeforeReport
public void processBeforeReport(ErrorCapture error)
Description copied from interface:ProcessorThis method is executed before the providedErrorCaptureis reported.- Specified by:
processBeforeReportin interfaceProcessor- Parameters:
error- The error to process.
-
-