类 MessageInterpolatorFactory

java.lang.Object
cn.taketoday.validation.MessageInterpolatorFactory
所有已实现的接口:
Supplier<jakarta.validation.MessageInterpolator>

public class MessageInterpolatorFactory extends Object implements Supplier<jakarta.validation.MessageInterpolator>
Supplier that can be used to create a MessageInterpolator. Attempts to pick the most appropriate MessageInterpolator based on the classpath.
从以下版本开始:
4.0
作者:
Phillip Webb, Harry Yang
  • 构造器详细资料

    • MessageInterpolatorFactory

      public MessageInterpolatorFactory()
    • MessageInterpolatorFactory

      public MessageInterpolatorFactory(@Nullable MessageSource messageSource)
      Creates a new MessageInterpolatorFactory that will produce a MessageInterpolator that uses the given messageSource to resolve any message parameters before final interpolation.
      参数:
      messageSource - message source to be used by the interpolator
  • 方法详细资料