Package org.apache.camel.component.hl7
Class HL7MLLPNettyDecoderFactory
- java.lang.Object
-
- org.apache.camel.component.netty.DefaultChannelHandlerFactory
-
- org.apache.camel.component.hl7.HL7MLLPNettyDecoderFactory
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,org.apache.camel.component.netty.ChannelHandlerFactory
public class HL7MLLPNettyDecoderFactory extends org.apache.camel.component.netty.DefaultChannelHandlerFactory
Netty MLLP Decoder factory
-
-
Field Summary
Fields Modifier and Type Field Description protected HL7MLLPConfig
config
-
Constructor Summary
Constructors Constructor Description HL7MLLPNettyDecoderFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Charset
getCharset()
char
getEndByte1()
char
getEndByte2()
char
getStartByte()
boolean
isConvertLFtoCR()
boolean
isProduceString()
io.netty.channel.ChannelHandler
newChannelHandler()
void
setCharset(String charsetName)
void
setCharset(Charset charset)
void
setConvertLFtoCR(boolean convertLFtoCR)
void
setEndByte1(char endByte1)
void
setEndByte2(char endByte2)
void
setProduceString(boolean apply)
void
setStartByte(char startByte)
void
setValidate(boolean validate)
-
-
-
Field Detail
-
config
protected final HL7MLLPConfig config
-
-
Method Detail
-
newChannelHandler
public io.netty.channel.ChannelHandler newChannelHandler()
-
setValidate
public void setValidate(boolean validate)
-
setCharset
public void setCharset(Charset charset)
-
setCharset
public void setCharset(String charsetName)
-
getCharset
public Charset getCharset()
-
isConvertLFtoCR
public boolean isConvertLFtoCR()
-
setConvertLFtoCR
public void setConvertLFtoCR(boolean convertLFtoCR)
-
getStartByte
public char getStartByte()
-
setStartByte
public void setStartByte(char startByte)
-
getEndByte1
public char getEndByte1()
-
setEndByte1
public void setEndByte1(char endByte1)
-
getEndByte2
public char getEndByte2()
-
setEndByte2
public void setEndByte2(char endByte2)
-
isProduceString
public boolean isProduceString()
-
setProduceString
public void setProduceString(boolean apply)
-
-