public class ParameterProcessor extends Object
PathParam targets of
PathSegment are not currently supported.| Modifier and Type | Method and Description |
|---|---|
static ResourceParameters |
process(org.jboss.jandex.IndexView index,
org.jboss.jandex.ClassInfo resourceClass,
org.jboss.jandex.MethodInfo resourceMethod,
Function<org.jboss.jandex.AnnotationInstance,org.eclipse.microprofile.openapi.models.parameters.Parameter> reader,
List<AnnotationScannerExtension> extensions)
Process parameter annotations for the given class and method.This method operates
in two phases.
|
public static ResourceParameters process(org.jboss.jandex.IndexView index, org.jboss.jandex.ClassInfo resourceClass, org.jboss.jandex.MethodInfo resourceMethod, Function<org.jboss.jandex.AnnotationInstance,org.eclipse.microprofile.openapi.models.parameters.Parameter> reader, List<AnnotationScannerExtension> extensions)
ResourceParameters. Second, method-level parameters are processed. Form parameters
are only applicable to the method-level in this component.index - index of classes to be used for further introspection, if necessaryresourceClass - the class inforesourceMethod - the JAX-RS resource method, annotated with one of the
JAX-RS HTTP annotationsreader - callback method for a function producing Parameter from a
Parameterextensions - scanner extensionsResourceParameters
objectCopyright © 2018–2020. All rights reserved.