org.springframework.integration.http
Class SerializingHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<Serializable>
org.springframework.integration.http.SerializingHttpMessageConverter
- All Implemented Interfaces:
- HttpMessageConverter<Serializable>
public class SerializingHttpMessageConverter
- extends AbstractHttpMessageConverter<Serializable>
An HttpMessageConverter
implementation for Serializable
instances.
- Since:
- 2.0
- Author:
- Mark Fisher
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(Class<?> clazz)
- Specified by:
supports
in class AbstractHttpMessageConverter<Serializable>
canRead
public boolean canRead(Class<?> clazz,
MediaType mediaType)
- Specified by:
canRead
in interface HttpMessageConverter<Serializable>
- Overrides:
canRead
in class AbstractHttpMessageConverter<Serializable>
canWrite
public boolean canWrite(Class<?> clazz,
MediaType mediaType)
- Specified by:
canWrite
in interface HttpMessageConverter<Serializable>
- Overrides:
canWrite
in class AbstractHttpMessageConverter<Serializable>
readInternal
public Serializable readInternal(Class clazz,
HttpInputMessage inputMessage)
throws IOException
- Specified by:
readInternal
in class AbstractHttpMessageConverter<Serializable>
- Throws:
IOException
writeInternal
protected void writeInternal(Serializable object,
HttpOutputMessage outputMessage)
throws IOException
- Specified by:
writeInternal
in class AbstractHttpMessageConverter<Serializable>
- Throws:
IOException
Copyright © 2010. All Rights Reserved.