public class AmfHttpMessageConverter extends AbstractHttpMessageConverter<Object>
HttpMessageConverter
that can read and write AMF using BlazeDS's AMF serialization/deserialization APIs.
This converter can be used to bind to typed beans, or untyped HashMap
instances.
By default, this converter supports application/x-amf
. This can be overridden by setting the
supportedMediaTypes
property.
logger
Constructor and Description |
---|
AmfHttpMessageConverter() |
Modifier and Type | Method and Description |
---|---|
protected Object |
readInternal(Class<? extends Object> clazz,
HttpInputMessage inputMessage) |
protected boolean |
supports(Class<?> clazz) |
protected void |
writeInternal(Object data,
HttpOutputMessage outputMessage) |
canRead, canRead, canWrite, canWrite, getContentLength, getDefaultContentType, getSupportedMediaTypes, read, setSupportedMediaTypes, write
protected boolean supports(Class<?> clazz)
supports
in class AbstractHttpMessageConverter<Object>
protected Object readInternal(Class<? extends Object> clazz, HttpInputMessage inputMessage) throws IOException, HttpMessageNotReadableException
readInternal
in class AbstractHttpMessageConverter<Object>
IOException
HttpMessageNotReadableException
protected void writeInternal(Object data, HttpOutputMessage outputMessage) throws IOException, HttpMessageNotWritableException
writeInternal
in class AbstractHttpMessageConverter<Object>
IOException
HttpMessageNotWritableException
Copyright © 2014. All rights reserved.