public class PojoWriter extends AbstractWriter
| Constructor and Description |
|---|
PojoWriter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isApplicable(Object object)
Answers on question - "could this writer properly write the value".
|
void |
write(Output output,
String boundary,
String key,
Object object)
Processing form data to request body.
|
write, writeFileMetadatapublic boolean isApplicable(Object object)
Writerobject - object to write.true - if could write this object, otherwise truepublic void write(Output output, String boundary, String key, Object object) throws feign.codec.EncodeException
Writerwrite in interface Writerwrite in class AbstractWriteroutput - output writer.boundary - data boundary.key - name for piece of data.object - piece of data.feign.codec.EncodeException - in case of any encode exceptionCopyright © 2016–2018. All rights reserved.