Encoder.DefaultMAP_STRING_WILDCARD| Constructor and Description |
|---|
Default() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Object object,
Type bodyType,
RequestTemplate template)
Converts objects to an appropriate representation in the template.
|
public void encode(Object object, Type bodyType, RequestTemplate template)
Encoderencode in interface Encoderobject - what to encode as the request body.bodyType - the type the object should be encoded as. Encoder.MAP_STRING_WILDCARD
indicates form encoding.template - the request template to populate.Copyright © 2012–2016 OpenFeign. All rights reserved.