Package feign.codec
Class Encoder.Default
- java.lang.Object
-
- feign.codec.Encoder.Default
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface feign.codec.Encoder
Encoder.Default
-
-
Field Summary
-
Fields inherited from interface feign.codec.Encoder
MAP_STRING_WILDCARD
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencode(java.lang.Object object, java.lang.reflect.Type bodyType, RequestTemplate template)Converts objects to an appropriate representation in the template.
-
-
-
Method Detail
-
encode
public void encode(java.lang.Object object, java.lang.reflect.Type bodyType, RequestTemplate template)Description copied from interface:EncoderConverts objects to an appropriate representation in the template.- Specified by:
encodein interfaceEncoder- Parameters:
object- what to encode as the request body.bodyType- the type the object should be encoded as.Encoder.MAP_STRING_WILDCARDindicates form encoding.template- the request template to populate.
-
-