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