public static class Contract.Default extends Contract.BaseContract
Contract.BaseContract, Contract.Default| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processAnnotationOnClass(MethodMetadata data,
Class<?> targetType)
Called by parseAndValidateMetadata twice, first on the declaring class, then on the
target type (unless they are the same).
|
protected void |
processAnnotationOnMethod(MethodMetadata data,
Annotation methodAnnotation,
Method method) |
protected boolean |
processAnnotationsOnParameter(MethodMetadata data,
Annotation[] annotations,
int paramIndex) |
addTemplatedParam, nameParam, parseAndValidatateMetadata, parseAndValidatateMetadata, parseAndValidateMetadataprotected void processAnnotationOnClass(MethodMetadata data, Class<?> targetType)
Contract.BaseContractprocessAnnotationOnClass in class Contract.BaseContractdata - metadata collected so far relating to the current java method.targetType - the class to processprotected void processAnnotationOnMethod(MethodMetadata data, Annotation methodAnnotation, Method method)
processAnnotationOnMethod in class Contract.BaseContractdata - metadata collected so far relating to the current java method.methodAnnotation - annotations present on the current method annotation.method - method currently being processed.protected boolean processAnnotationsOnParameter(MethodMetadata data, Annotation[] annotations, int paramIndex)
processAnnotationsOnParameter in class Contract.BaseContractdata - metadata collected so far relating to the current java method.annotations - annotations present on the current parameter annotation.paramIndex - if you find a name in annotations, call Contract.BaseContract.nameParam(MethodMetadata, String, int) with this as the last parameter.Contract.BaseContract.nameParam(MethodMetadata, String, int) after finding an
http-relevant annotation.Copyright © 2012–2016 OpenFeign. All rights reserved.