Interface ApacheMessageContext

  • All Superinterfaces:
    jakarta.validation.MessageInterpolator.Context
    All Known Implementing Classes:
    ConstraintValidatorContextImpl

    public interface ApacheMessageContext
    extends jakarta.validation.MessageInterpolator.Context
    Vendor-specific MessageInterpolator.Context interface extension to provide access to validator configuration properties.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getConfigurationProperty​(String propertyKey)
      Get the configuration property value specified by propertyKey, if available.
      • Methods inherited from interface jakarta.validation.MessageInterpolator.Context

        getConstraintDescriptor, getValidatedValue, unwrap
    • Method Detail

      • getConfigurationProperty

        String getConfigurationProperty​(String propertyKey)
        Get the configuration property value specified by propertyKey, if available.
        Parameters:
        propertyKey -
        Returns:
        String or null