Package feign
Class MethodMetadata
- java.lang.Object
-
- feign.MethodMetadata
-
- All Implemented Interfaces:
java.io.Serializable
public final class MethodMetadata extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegerbodyIndex()MethodMetadatabodyIndex(java.lang.Integer bodyIndex)java.lang.reflect.TypebodyType()Type corresponding tobodyIndex().MethodMetadatabodyType(java.lang.reflect.Type bodyType)java.lang.StringconfigKey()Used as a reference to this method.MethodMetadataconfigKey(java.lang.String configKey)java.util.List<java.lang.String>formParams()java.lang.IntegerheaderMapIndex()MethodMetadataheaderMapIndex(java.lang.Integer headerMapIndex)java.util.Map<java.lang.Integer,java.lang.Boolean>indexToEncoded()java.util.Map<java.lang.Integer,Param.Expander>indexToExpander()When not null, this value will be used instead ofindexToExpander().MethodMetadataindexToExpander(java.util.Map<java.lang.Integer,Param.Expander> indexToExpander)AfterindexToExpanderClassis populated, this is set by contracts that support runtime injection.java.util.Map<java.lang.Integer,java.lang.Class<? extends Param.Expander>>indexToExpanderClass()IfindexToExpanderis null, classes here will be instantiated by newInstance.java.util.Map<java.lang.Integer,java.util.Collection<java.lang.String>>indexToName()booleanqueryMapEncoded()MethodMetadataqueryMapEncoded(boolean queryMapEncoded)java.lang.IntegerqueryMapIndex()MethodMetadataqueryMapIndex(java.lang.Integer queryMapIndex)java.lang.reflect.TypereturnType()MethodMetadatareturnType(java.lang.reflect.Type returnType)RequestTemplatetemplate()java.lang.IntegerurlIndex()MethodMetadataurlIndex(java.lang.Integer urlIndex)
-
-
-
Method Detail
-
configKey
public java.lang.String configKey()
Used as a reference to this method. For example,loggingorreflective dispatch.
-
configKey
public MethodMetadata configKey(java.lang.String configKey)
-
returnType
public java.lang.reflect.Type returnType()
-
returnType
public MethodMetadata returnType(java.lang.reflect.Type returnType)
-
urlIndex
public java.lang.Integer urlIndex()
-
urlIndex
public MethodMetadata urlIndex(java.lang.Integer urlIndex)
-
bodyIndex
public java.lang.Integer bodyIndex()
-
bodyIndex
public MethodMetadata bodyIndex(java.lang.Integer bodyIndex)
-
headerMapIndex
public java.lang.Integer headerMapIndex()
-
headerMapIndex
public MethodMetadata headerMapIndex(java.lang.Integer headerMapIndex)
-
queryMapIndex
public java.lang.Integer queryMapIndex()
-
queryMapIndex
public MethodMetadata queryMapIndex(java.lang.Integer queryMapIndex)
-
queryMapEncoded
public boolean queryMapEncoded()
-
queryMapEncoded
public MethodMetadata queryMapEncoded(boolean queryMapEncoded)
-
bodyType
public java.lang.reflect.Type bodyType()
Type corresponding tobodyIndex().
-
bodyType
public MethodMetadata bodyType(java.lang.reflect.Type bodyType)
-
template
public RequestTemplate template()
-
formParams
public java.util.List<java.lang.String> formParams()
-
indexToName
public java.util.Map<java.lang.Integer,java.util.Collection<java.lang.String>> indexToName()
-
indexToEncoded
public java.util.Map<java.lang.Integer,java.lang.Boolean> indexToEncoded()
-
indexToExpanderClass
public java.util.Map<java.lang.Integer,java.lang.Class<? extends Param.Expander>> indexToExpanderClass()
IfindexToExpanderis null, classes here will be instantiated by newInstance.
-
indexToExpander
public MethodMetadata indexToExpander(java.util.Map<java.lang.Integer,Param.Expander> indexToExpander)
AfterindexToExpanderClassis populated, this is set by contracts that support runtime injection.
-
indexToExpander
public java.util.Map<java.lang.Integer,Param.Expander> indexToExpander()
When not null, this value will be used instead ofindexToExpander().
-
-