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, writeprotected 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>IOExceptionHttpMessageNotReadableExceptionprotected void writeInternal(Object data, HttpOutputMessage outputMessage) throws IOException, HttpMessageNotWritableException
writeInternal in class AbstractHttpMessageConverter<Object>IOExceptionHttpMessageNotWritableExceptionCopyright © 2014. All rights reserved.