Class RFC6587SyslogDeserializer
java.lang.Object
org.springframework.integration.syslog.inbound.RFC6587SyslogDeserializer
- All Implemented Interfaces:
- Deserializer<Map<String,- ?>> 
RFC5424/6587 Deserializer. Implemented as a 
Deserializer instead of a
 transformer because we may receive a mixture of octet counting and non-transparent
 framing - see RFC 6587.- Since:
- 4.1.1
- Author:
- Duncan McIntyre, Gary Russell
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct an instance using aByteArrayLfSerializerfor non-transparent frames.RFC6587SyslogDeserializer(Deserializer<byte[]> delimitedDeserializer) Construct an instance using the specifiedDeserializerfor non-transparent frames.
- 
Method SummaryModifier and TypeMethodDescriptiondeserialize(InputStream inputStream) protected StringvoidsetParser(RFC5424SyslogParser parser) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.core.serializer.DeserializerdeserializeFromByteArray
- 
Constructor Details- 
RFC6587SyslogDeserializerpublic RFC6587SyslogDeserializer()Construct an instance using aByteArrayLfSerializerfor non-transparent frames.
- 
RFC6587SyslogDeserializerConstruct an instance using the specifiedDeserializerfor non-transparent frames.- Parameters:
- delimitedDeserializer- the Deserializer.
 
 
- 
- 
Method Details- 
setParser- Parameters:
- parser- the parser to set
 
- 
deserialize- Specified by:
- deserializein interface- Deserializer<Map<String,- ?>> 
- Throws:
- IOException
 
- 
getCharset
 
-