public interface FieldTypeResolver
| Modifier and Type | Method and Description |
|---|---|
static FieldTypeResolver |
forContent(byte[] content,
org.springframework.http.MediaType contentType)
Create a
FieldTypeResolver for the given content and
contentType. |
java.lang.Object |
resolveFieldType(FieldDescriptor fieldDescriptor)
Resolves the type of the field that is described by the given
fieldDescriptor based on the content of the payload. |
static FieldTypeResolver forContent(byte[] content, org.springframework.http.MediaType contentType)
FieldTypeResolver for the given content and
contentType.content - the payload that the FieldTypeResolver should handlecontentType - the content type of the payloadFieldTypeResolverjava.lang.Object resolveFieldType(FieldDescriptor fieldDescriptor)
fieldDescriptor based on the content of the payload.fieldDescriptor - the field descriptor