Package org.apache.camel.component.hl7
Class HL7MLLPNettyEncoderFactory
java.lang.Object
org.apache.camel.component.netty.DefaultChannelHandlerFactory
org.apache.camel.component.hl7.HL7MLLPNettyEncoderFactory
- All Implemented Interfaces:
io.netty.channel.ChannelHandler,org.apache.camel.component.netty.ChannelHandlerFactory
public class HL7MLLPNettyEncoderFactory
extends org.apache.camel.component.netty.DefaultChannelHandlerFactory
Netty MLLP Encoder factory
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharcharbooleanbooleanio.netty.channel.ChannelHandlervoidsetCharset(String charsetName) voidsetCharset(Charset charset) voidsetConvertLFtoCR(boolean convertLFtoCR) voidsetEndByte1(char endByte1) voidsetEndByte2(char endByte2) voidsetProduceString(boolean apply) voidsetStartByte(char startByte) voidsetValidate(boolean validate) Methods inherited from class org.apache.camel.component.netty.DefaultChannelHandlerFactory
exceptionCaught, handlerAdded, handlerRemoved
-
Field Details
-
config
-
-
Constructor Details
-
HL7MLLPNettyEncoderFactory
public HL7MLLPNettyEncoderFactory()
-
-
Method Details
-
newChannelHandler
public io.netty.channel.ChannelHandler newChannelHandler() -
setValidate
public void setValidate(boolean validate) -
setCharset
-
setCharset
-
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)
-