Encoder.Default
MAP_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)
Encoder
encode
in interface Encoder
object
- 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–2020 OpenFeign. All rights reserved.