Interface DeliveryRequestValidator

All Known Implementing Classes:
DefaultDeliveryRequestValidator

public interface DeliveryRequestValidator
Performs validation on delivery requests during a deliver call when performChecks is true in the client.
  • Method Summary

    Modifier and Type
    Method
    Description
    validate(DeliveryRequest request, boolean isShadowTraffic)
    Checks the state of this delivery requests and collects/returns any validation errors.
  • Method Details

    • validate

      List<String> validate(DeliveryRequest request, boolean isShadowTraffic)
      Checks the state of this delivery requests and collects/returns any validation errors.
      Parameters:
      request - the delivery request to validate
      isShadowTraffic - whether or not we're in shadow traffic mode, which changes some validation logic
      Returns:
      a list of validation errors, which may be empty.