public final class MethodMetadata
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
bodyIndex() |
MethodMetadata |
bodyIndex(java.lang.Integer bodyIndex) |
java.lang.reflect.Type |
bodyType()
Type corresponding to
bodyIndex(). |
MethodMetadata |
bodyType(java.lang.reflect.Type bodyType) |
java.lang.String |
configKey() |
MethodMetadata |
configKey(java.lang.String configKey) |
java.util.List<java.lang.String> |
formParams() |
java.lang.Integer |
headerMapIndex() |
MethodMetadata |
headerMapIndex(java.lang.Integer headerMapIndex) |
java.util.Map<java.lang.Integer,Param.Expander> |
indexToExpander()
When not null, this value will be used instead of
indexToExpander(). |
MethodMetadata |
indexToExpander(java.util.Map<java.lang.Integer,Param.Expander> indexToExpander)
After
indexToExpanderClass is populated, this is set by contracts that support
runtime injection. |
java.util.Map<java.lang.Integer,java.lang.Class<? extends Param.Expander>> |
indexToExpanderClass()
If
indexToExpander is null, classes here will be instantiated by newInstance. |
java.util.Map<java.lang.Integer,java.util.Collection<java.lang.String>> |
indexToName() |
java.lang.Integer |
queryMapIndex() |
MethodMetadata |
queryMapIndex(java.lang.Integer queryMapIndex) |
java.lang.reflect.Type |
returnType() |
MethodMetadata |
returnType(java.lang.reflect.Type returnType) |
RequestTemplate |
template() |
java.lang.Integer |
urlIndex() |
MethodMetadata |
urlIndex(java.lang.Integer urlIndex) |
public java.lang.String configKey()
public MethodMetadata configKey(java.lang.String configKey)
public java.lang.reflect.Type returnType()
public MethodMetadata returnType(java.lang.reflect.Type returnType)
public java.lang.Integer urlIndex()
public MethodMetadata urlIndex(java.lang.Integer urlIndex)
public java.lang.Integer bodyIndex()
public MethodMetadata bodyIndex(java.lang.Integer bodyIndex)
public java.lang.Integer headerMapIndex()
public MethodMetadata headerMapIndex(java.lang.Integer headerMapIndex)
public java.lang.Integer queryMapIndex()
public MethodMetadata queryMapIndex(java.lang.Integer queryMapIndex)
public java.lang.reflect.Type bodyType()
bodyIndex().public MethodMetadata bodyType(java.lang.reflect.Type bodyType)
public RequestTemplate template()
public java.util.List<java.lang.String> formParams()
public java.util.Map<java.lang.Integer,java.util.Collection<java.lang.String>> indexToName()
public java.util.Map<java.lang.Integer,java.lang.Class<? extends Param.Expander>> indexToExpanderClass()
indexToExpander is null, classes here will be instantiated by newInstance.public MethodMetadata indexToExpander(java.util.Map<java.lang.Integer,Param.Expander> indexToExpander)
indexToExpanderClass is populated, this is set by contracts that support
runtime injection.public java.util.Map<java.lang.Integer,Param.Expander> indexToExpander()
indexToExpander().