public class BinaryCoercer extends Object implements IJsonFormatTypeCoercer
"binary" and "byte" formats.
Maps them to OctetEncoding and Base64Encoding respectively.
These formats are defined in OpenAPI Specification
_coercionProviders, _instances| Constructor and Description |
|---|
BinaryCoercer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerce(Object value,
Class<?> type) |
Map<String,Class<?>> |
getFormats() |
Object |
toBindingValue(Object value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetpublic Map<String,Class<?>> getFormats()
getFormats in interface IJsonFormatTypeCoercer"date-time"->LocalDateTime.class to be
referenced in Json Schema "format" types.public Object coerce(Object value, Class<?> type)
coerce in interface ICoercionProviderpublic Object toBindingValue(Object value)
toBindingValue in interface ICoercionProviderCopyright © 2020. All rights reserved.