Class AbstractJsonInboundMessageMapper<P>
java.lang.Object
org.springframework.integration.support.json.AbstractJsonInboundMessageMapper<P>
- Type Parameters:
 P- the payload type.
- All Implemented Interfaces:
 InboundMessageMapper<String>
- Direct Known Subclasses:
 JsonInboundMessageMapper
public abstract class AbstractJsonInboundMessageMapper<P>
extends Object
implements InboundMessageMapper<String>
Abstract 
InboundMessageMapper implementation that maps incoming JSON messages
 to a Message with the specified payload type.- Since:
 - 3.0
 - Author:
 - Artem Bilan, Gary Russell
 - See Also:
 
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanreadHeaders(P parser, String jsonMessage) protected abstract ObjectreadPayload(P parser, String jsonMessage) voidsetHeaderTypes(Map<String, Class<?>> headerTypes) voidsetMapToPayload(boolean mapToPayload) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.integration.mapping.InboundMessageMapper
toMessage, toMessage 
- 
Field Details
- 
MESSAGE_FORMAT_ERROR
- See Also:
 
 - 
DEFAULT_HEADER_TYPES
 - 
payloadType
 - 
headerTypes
 
 - 
 - 
Constructor Details
- 
AbstractJsonInboundMessageMapper
 
 - 
 - 
Method Details
- 
setHeaderTypes
 - 
setMapToPayload
public void setMapToPayload(boolean mapToPayload)  - 
isMapToPayload
public boolean isMapToPayload() - 
readPayload
 - 
readHeaders
 
 -