org.springframework.integration.http.converter
Class SerializingHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<java.io.Serializable>
org.springframework.integration.http.converter.SerializingHttpMessageConverter
- All Implemented Interfaces:
- HttpMessageConverter<java.io.Serializable>
public class SerializingHttpMessageConverter
- extends AbstractHttpMessageConverter<java.io.Serializable>
An HttpMessageConverter
implementation for Serializable
instances.
- Since:
- 2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializingHttpMessageConverter
public SerializingHttpMessageConverter()
- Creates a new instance of the
SerializingHttpMessageConverter
.
supports
public boolean supports(java.lang.Class<?> clazz)
- Specified by:
supports
in class AbstractHttpMessageConverter<java.io.Serializable>
canRead
public boolean canRead(java.lang.Class<?> clazz,
MediaType mediaType)
- Specified by:
canRead
in interface HttpMessageConverter<java.io.Serializable>
- Overrides:
canRead
in class AbstractHttpMessageConverter<java.io.Serializable>
canWrite
public boolean canWrite(java.lang.Class<?> clazz,
MediaType mediaType)
- Specified by:
canWrite
in interface HttpMessageConverter<java.io.Serializable>
- Overrides:
canWrite
in class AbstractHttpMessageConverter<java.io.Serializable>
readInternal
public java.io.Serializable readInternal(java.lang.Class clazz,
HttpInputMessage inputMessage)
throws java.io.IOException
- Specified by:
readInternal
in class AbstractHttpMessageConverter<java.io.Serializable>
- Throws:
java.io.IOException
writeInternal
protected void writeInternal(java.io.Serializable object,
HttpOutputMessage outputMessage)
throws java.io.IOException
- Specified by:
writeInternal
in class AbstractHttpMessageConverter<java.io.Serializable>
- Throws:
java.io.IOException