Class SerializingHttpMessageConverter
java.lang.Object
org.springframework.http.converter.AbstractHttpMessageConverter<Serializable>
org.springframework.integration.http.converter.SerializingHttpMessageConverter
- All Implemented Interfaces:
org.springframework.http.converter.HttpMessageConverter<Serializable>
public class SerializingHttpMessageConverter
extends org.springframework.http.converter.AbstractHttpMessageConverter<Serializable>
An
HttpMessageConverter implementation for
Serializable instances.- Since:
- 2.0
-
Field Summary
Fields inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
logger -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of theSerializingHttpMessageConverter. -
Method Summary
Modifier and TypeMethodDescriptionbooleanreadInternal(Class clazz, org.springframework.http.HttpInputMessage inputMessage) booleanprotected voidwriteInternal(Serializable object, org.springframework.http.HttpOutputMessage outputMessage) Methods inherited from class org.springframework.http.converter.AbstractHttpMessageConverter
addDefaultHeaders, canRead, canRead, canWrite, getContentLength, getDefaultCharset, getDefaultContentType, getSupportedMediaTypes, read, setDefaultCharset, setSupportedMediaTypes, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.http.converter.HttpMessageConverter
getSupportedMediaTypes
-
Constructor Details
-
SerializingHttpMessageConverter
public SerializingHttpMessageConverter()Creates a new instance of theSerializingHttpMessageConverter.
-
-
Method Details
-
supports
- Specified by:
supportsin classorg.springframework.http.converter.AbstractHttpMessageConverter<Serializable>
-
canWrite
- Specified by:
canWritein interfaceorg.springframework.http.converter.HttpMessageConverter<Serializable>- Overrides:
canWritein classorg.springframework.http.converter.AbstractHttpMessageConverter<Serializable>
-
readInternal
public Serializable readInternal(Class clazz, org.springframework.http.HttpInputMessage inputMessage) throws IOException - Specified by:
readInternalin classorg.springframework.http.converter.AbstractHttpMessageConverter<Serializable>- Throws:
IOException
-
writeInternal
protected void writeInternal(Serializable object, org.springframework.http.HttpOutputMessage outputMessage) throws IOException - Specified by:
writeInternalin classorg.springframework.http.converter.AbstractHttpMessageConverter<Serializable>- Throws:
IOException
-