public class VertxParameterProcessor extends AbstractParameterProcessor
AbstractParameterProcessor.ParameterContext, AbstractParameterProcessor.ParameterContextKeycl, extensions, formMediaType, formParams, index, matrixParams, params, readerFunction, scannerContext| Modifier and Type | Method and Description |
|---|---|
protected FrameworkParameter |
getMatrixParameter() |
protected Pattern |
getTemplateParameterPattern() |
protected boolean |
isParameter(org.jboss.jandex.DotName annotationName) |
protected boolean |
isResourceMethod(org.jboss.jandex.MethodInfo method) |
protected boolean |
isSubResourceLocator(org.jboss.jandex.MethodInfo method) |
protected String |
pathOf(org.jboss.jandex.AnnotationTarget target) |
static ResourceParameters |
process(AnnotationScannerContext context,
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.
|
protected void |
readAnnotatedType(org.jboss.jandex.AnnotationInstance annotation,
org.jboss.jandex.AnnotationInstance beanParamAnnotation,
boolean overriddenParametersOnly) |
addEncoding, fullPathOf, generatePath, getDefaultAnnotationName, getDefaultAnnotationProperty, getDefaultFormMediaType, getDefaultValue, getFormBodyContent, getParameters, getType, getUnannotatedPathParameter, hasParameters, isIgnoredParameter, isReadableParameterAnnotation, lastPathSegmentOf, paramName, primitiveToObject, process, processFinalize, processOperationParameters, processPathParameters, readAnnotatedType, readParameter, readParameterAnnotation, readParameterAnnotation, readParameters, readParametersInherited, reset, setMediaType, setSchemaProperties, styleOfpublic static ResourceParameters process(AnnotationScannerContext context, 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.context - the AnnotationScannerContextresourceClass - the class inforesourceMethod - the Vert.x resource method, annotated with one of the
Vert.x HTTP annotationsreader - callback method for a function producing Parameter from a
Parameterextensions - scanner extensionsResourceParameters
objectprotected Pattern getTemplateParameterPattern()
getTemplateParameterPattern in class AbstractParameterProcessorprotected FrameworkParameter getMatrixParameter()
getMatrixParameter in class AbstractParameterProcessorprotected void readAnnotatedType(org.jboss.jandex.AnnotationInstance annotation,
org.jboss.jandex.AnnotationInstance beanParamAnnotation,
boolean overriddenParametersOnly)
readAnnotatedType in class AbstractParameterProcessorprotected String pathOf(org.jboss.jandex.AnnotationTarget target)
pathOf in class AbstractParameterProcessorprotected boolean isSubResourceLocator(org.jboss.jandex.MethodInfo method)
isSubResourceLocator in class AbstractParameterProcessorprotected boolean isResourceMethod(org.jboss.jandex.MethodInfo method)
isResourceMethod in class AbstractParameterProcessorprotected boolean isParameter(org.jboss.jandex.DotName annotationName)
isParameter in class AbstractParameterProcessorCopyright © 2018–2021. All rights reserved.