Class AnnotationParameterNameDiscoverer

java.lang.Object
io.github.belgif.rest.problem.spring.internal.CachedAnnotationParameterNameSupport<String[]>
io.github.belgif.rest.problem.spring.AnnotationParameterNameDiscoverer
All Implemented Interfaces:
org.springframework.core.ParameterNameDiscoverer

public class AnnotationParameterNameDiscoverer extends io.github.belgif.rest.problem.spring.internal.CachedAnnotationParameterNameSupport<String[]> implements org.springframework.core.ParameterNameDiscoverer
ParameterNameDiscoverer that retrieves the parameter name from Spring MVC annotations (if present).
  • Constructor Details

    • AnnotationParameterNameDiscoverer

      public AnnotationParameterNameDiscoverer()
  • Method Details

    • toResult

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