Interface ValidationReportHandler
- All Known Implementing Classes:
DefaultValidationReportHandler
public interface ValidationReportHandler
By implementing this interface you can define your own
way how to react on validation issues - either request
or response. You can define own logging or throw your
specific exceptions.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequestReport(String loggingKey, ValidationReport validationReport) Method which gives you way how to override logging of request validation issues.voidhandleResponseReport(String loggingKey, ValidationReport validationReport) Method which gives you way how to override logging of response validation issues.
-
Method Details
-
handleRequestReport
Method which gives you way how to override logging of request validation issues.- Parameters:
loggingKey- request identifier - method and request pathvalidationReport- result of validation
-
handleResponseReport
Method which gives you way how to override logging of response validation issues.- Parameters:
loggingKey- request identifier - method and request pathvalidationReport- result of validation
-