public class JerseyParameterNameProvider
extends org.hibernate.validator.parameternameprovider.ReflectionParameterNameProvider
This provider will behave like the hibernate-provided ReflectionParameterNameProvider except when a
method parameter is annotated with a jersey parameter annotation, like QueryParam. If a jersey parameter
annotation is present the value of the annotation is used as the parameter name.
| Constructor and Description |
|---|
JerseyParameterNameProvider() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<String> |
getParameterNameFromAnnotations(Annotation[] memberAnnotations)
Derives member's name and type from it's annotations
|
List<String> |
getParameterNames(Method method) |
public List<String> getParameterNames(Method method)
getParameterNames in interface javax.validation.ParameterNameProvidergetParameterNames in class org.hibernate.validator.parameternameprovider.ReflectionParameterNameProviderpublic static Optional<String> getParameterNameFromAnnotations(Annotation[] memberAnnotations)
Copyright © 2020. All rights reserved.