public class FormEncoder extends Object implements feign.codec.Encoder
| Constructor and Description |
|---|
FormEncoder()
Constructor with the default Feign's encoder as a delegate.
|
FormEncoder(feign.codec.Encoder delegate)
Constructor with specified delegate encoder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(Object object,
Type bodyType,
feign.RequestTemplate template) |
ContentProcessor |
getContentProcessor(ContentType type)
Returns
ContentProcessor for specific ContentType. |
public FormEncoder()
public FormEncoder(feign.codec.Encoder delegate)
delegate - delegate encoder, if this encoder couldn't encode object.public void encode(Object object, Type bodyType, feign.RequestTemplate template) throws feign.codec.EncodeException
encode in interface feign.codec.Encoderfeign.codec.EncodeExceptionpublic final ContentProcessor getContentProcessor(ContentType type)
ContentProcessor for specific ContentType.type - a type for content processor search.ContentProcessor instance for specified type or null.Copyright © 2016–2019. All rights reserved.