org.apache.camel.component.netty
Class NettyConfiguration
java.lang.Object
org.apache.camel.component.netty.NettyConfiguration
- All Implemented Interfaces:
- Cloneable
public class NettyConfiguration
- extends Object
- implements Cloneable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyConfiguration
public NettyConfiguration()
copy
public NettyConfiguration copy()
- Returns a copy of this configuration
parseURI
public void parseURI(URI uri,
Map<String,Object> parameters,
NettyComponent component)
throws Exception
- Throws:
Exception
getCharsetName
public String getCharsetName()
isTcp
public boolean isTcp()
getProtocol
public String getProtocol()
setProtocol
public void setProtocol(String protocol)
getHost
public String getHost()
setHost
public void setHost(String host)
getPort
public int getPort()
setPort
public void setPort(int port)
isKeepAlive
public boolean isKeepAlive()
setKeepAlive
public void setKeepAlive(boolean keepAlive)
isTcpNoDelay
public boolean isTcpNoDelay()
setTcpNoDelay
public void setTcpNoDelay(boolean tcpNoDelay)
isBroadcast
public boolean isBroadcast()
setBroadcast
public void setBroadcast(boolean broadcast)
getConnectTimeout
public long getConnectTimeout()
setConnectTimeout
public void setConnectTimeout(long connectTimeout)
isReuseAddress
public boolean isReuseAddress()
setReuseAddress
public void setReuseAddress(boolean reuseAddress)
isSync
public boolean isSync()
setSync
public void setSync(boolean sync)
isTextline
public boolean isTextline()
setTextline
public void setTextline(boolean textline)
getDecoderMaxLineLength
public int getDecoderMaxLineLength()
setDecoderMaxLineLength
public void setDecoderMaxLineLength(int decoderMaxLineLength)
getDelimiter
public TextLineDelimiter getDelimiter()
setDelimiter
public void setDelimiter(TextLineDelimiter delimiter)
isAutoAppendDelimiter
public boolean isAutoAppendDelimiter()
setAutoAppendDelimiter
public void setAutoAppendDelimiter(boolean autoAppendDelimiter)
getEncoding
public String getEncoding()
setEncoding
public void setEncoding(String encoding)
getSslHandler
public org.jboss.netty.handler.ssl.SslHandler getSslHandler()
setSslHandler
public void setSslHandler(org.jboss.netty.handler.ssl.SslHandler sslHandler)
getEncoders
public List<org.jboss.netty.channel.ChannelDownstreamHandler> getEncoders()
getDecoders
public List<org.jboss.netty.channel.ChannelUpstreamHandler> getDecoders()
getEncoder
public org.jboss.netty.channel.ChannelDownstreamHandler getEncoder()
setEncoder
public void setEncoder(org.jboss.netty.channel.ChannelDownstreamHandler encoder)
setEncoders
public void setEncoders(List<org.jboss.netty.channel.ChannelDownstreamHandler> encoders)
getDecoder
public org.jboss.netty.channel.ChannelUpstreamHandler getDecoder()
setDecoder
public void setDecoder(org.jboss.netty.channel.ChannelUpstreamHandler decoder)
setDecoders
public void setDecoders(List<org.jboss.netty.channel.ChannelUpstreamHandler> decoders)
getSendBufferSize
public long getSendBufferSize()
setSendBufferSize
public void setSendBufferSize(long sendBufferSize)
isSsl
public boolean isSsl()
setSsl
public void setSsl(boolean ssl)
getReceiveBufferSize
public long getReceiveBufferSize()
setReceiveBufferSize
public void setReceiveBufferSize(long receiveBufferSize)
getPassphrase
public String getPassphrase()
setPassphrase
public void setPassphrase(String passphrase)
getKeyStoreFile
public File getKeyStoreFile()
setKeyStoreFile
public void setKeyStoreFile(File keyStoreFile)
getTrustStoreFile
public File getTrustStoreFile()
setTrustStoreFile
public void setTrustStoreFile(File trustStoreFile)
getCorePoolSize
public int getCorePoolSize()
setCorePoolSize
public void setCorePoolSize(int corePoolSize)
getMaxPoolSize
public int getMaxPoolSize()
setMaxPoolSize
public void setMaxPoolSize(int maxPoolSize)
getKeyStoreFormat
public String getKeyStoreFormat()
setKeyStoreFormat
public void setKeyStoreFormat(String keyStoreFormat)
getSecurityProvider
public String getSecurityProvider()
setSecurityProvider
public void setSecurityProvider(String securityProvider)
isDisconnect
public boolean isDisconnect()
setDisconnect
public void setDisconnect(boolean disconnect)
isLazyChannelCreation
public boolean isLazyChannelCreation()
setLazyChannelCreation
public void setLazyChannelCreation(boolean lazyChannelCreation)
isTransferExchange
public boolean isTransferExchange()
setTransferExchange
public void setTransferExchange(boolean transferExchange)
isDisconnectOnNoReply
public boolean isDisconnectOnNoReply()
setDisconnectOnNoReply
public void setDisconnectOnNoReply(boolean disconnectOnNoReply)
getNoReplyLogLevel
public org.apache.camel.LoggingLevel getNoReplyLogLevel()
setNoReplyLogLevel
public void setNoReplyLogLevel(org.apache.camel.LoggingLevel noReplyLogLevel)
isAllowDefaultCodec
public boolean isAllowDefaultCodec()
setAllowDefaultCodec
public void setAllowDefaultCodec(boolean allowDefaultCodec)
getAddress
public String getAddress()
setClientPipelineFactory
public void setClientPipelineFactory(ClientPipelineFactory clientPipelineFactory)
getClientPipelineFactory
public ClientPipelineFactory getClientPipelineFactory()
setServerPipelineFactory
public void setServerPipelineFactory(ServerPipelineFactory serverPipelineFactory)
getServerPipelineFactory
public ServerPipelineFactory getServerPipelineFactory()
Apache CAMEL