public final class MethodMetadata extends Object implements Serializable
public String configKey()
logging
or reflective dispatch
.public MethodMetadata configKey(String configKey)
public Type returnType()
public MethodMetadata returnType(Type returnType)
public Integer urlIndex()
public MethodMetadata urlIndex(Integer urlIndex)
public Integer bodyIndex()
public MethodMetadata bodyIndex(Integer bodyIndex)
public Integer headerMapIndex()
public MethodMetadata headerMapIndex(Integer headerMapIndex)
public Integer queryMapIndex()
public MethodMetadata queryMapIndex(Integer queryMapIndex)
public boolean queryMapEncoded()
public MethodMetadata queryMapEncoded(boolean queryMapEncoded)
public Type bodyType()
bodyIndex()
.public MethodMetadata bodyType(Type bodyType)
public RequestTemplate template()
public Map<Integer,Collection<String>> indexToName()
public Map<Integer,Class<? extends Param.Expander>> indexToExpanderClass()
indexToExpander
is null, classes here will be instantiated by newInstance.public MethodMetadata indexToExpander(Map<Integer,Param.Expander> indexToExpander)
indexToExpanderClass
is populated, this is set by contracts that support runtime
injection.public Map<Integer,Param.Expander> indexToExpander()
indexToExpander()
.Copyright © 2012–2019 OpenFeign. All rights reserved.