public abstract class AbstractDeserializer extends java.lang.Object implements Deserializer
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ContentType> |
supported |
| Constructor and Description |
|---|
AbstractDeserializer() |
AbstractDeserializer(java.util.List<ContentType> supported) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ContentType> |
contentTypes() |
boolean |
supports(ContentType contentType) |
protected void |
validate(org.vertx.java.core.buffer.Buffer body,
ContentType contentType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserializeprotected final java.util.List<ContentType> supported
public AbstractDeserializer()
public AbstractDeserializer(java.util.List<ContentType> supported)
public boolean supports(ContentType contentType)
supports in interface Deserializerpublic java.util.List<ContentType> contentTypes()
contentTypes in interface Deserializerprotected void validate(org.vertx.java.core.buffer.Buffer body,
ContentType contentType)
throws DeserializationException
DeserializationException