Class AnnotationParameterNameProvider

java.lang.Object
io.github.belgif.rest.problem.spring.internal.CachedAnnotationParameterNameSupport<List<String>>
io.github.belgif.rest.problem.spring.AnnotationParameterNameProvider
All Implemented Interfaces:
jakarta.validation.ParameterNameProvider

public class AnnotationParameterNameProvider extends io.github.belgif.rest.problem.spring.internal.CachedAnnotationParameterNameSupport<List<String>> implements jakarta.validation.ParameterNameProvider
ParameterNameProvider that retrieves the parameter name from Spring MVC annotations (if present).
  • Constructor Details

    • AnnotationParameterNameProvider

      public AnnotationParameterNameProvider()
  • Method Details

    • toResult

      protected List<String> toResult(Stream<String> parameterNames)
      Specified by:
      toResult in class io.github.belgif.rest.problem.spring.internal.CachedAnnotationParameterNameSupport<List<String>>