public interface Writer
| 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.
|
void write(Output output, String boundary, String key, Object value) throws EncodeException
output - output writer.boundary - data boundary.key - name for piece of data.value - piece of data.EncodeException - in case of any encode exceptionboolean isApplicable(Object value)
value - object to write.true - if could write this object, otherwise trueCopyright © 2012–2024 OpenFeign. All rights reserved.