public class NettyServerBootstrapConfiguration extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
protected int |
backlog |
protected int |
bossCount |
protected org.jboss.netty.channel.socket.nio.BossPool |
bossPool |
protected boolean |
broadcast |
protected long |
connectTimeout |
protected String |
enabledProtocols |
protected String |
host |
protected boolean |
keepAlive |
protected File |
keyStoreFile |
protected String |
keyStoreFormat |
protected String |
keyStoreResource |
protected boolean |
needClientAuth |
protected NettyServerBootstrapFactory |
nettyServerBootstrapFactory |
protected String |
networkInterface |
protected Map<String,Object> |
options |
protected String |
passphrase |
protected int |
port |
protected String |
protocol |
protected long |
receiveBufferSize |
protected int |
receiveBufferSizePredictor |
protected boolean |
reuseAddress |
protected String |
securityProvider |
protected long |
sendBufferSize |
protected ServerPipelineFactory |
serverPipelineFactory |
protected boolean |
ssl |
protected boolean |
sslClientCertHeaders |
protected org.apache.camel.util.jsse.SSLContextParameters |
sslContextParameters |
protected org.jboss.netty.handler.ssl.SslHandler |
sslHandler |
protected boolean |
tcpNoDelay |
protected File |
trustStoreFile |
protected String |
trustStoreResource |
protected int |
workerCount |
protected org.jboss.netty.channel.socket.nio.WorkerPool |
workerPool |
Constructor and Description |
---|
NettyServerBootstrapConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
compatible(NettyServerBootstrapConfiguration other)
Checks if the other
NettyServerBootstrapConfiguration is compatible
with this, as a Netty listener bound on port X shares the same common
NettyServerBootstrapConfiguration , which must be identical. |
String |
getAddress() |
int |
getBacklog() |
int |
getBossCount() |
org.jboss.netty.channel.socket.nio.BossPool |
getBossPool() |
long |
getConnectTimeout() |
String |
getEnabledProtocols() |
String |
getHost() |
File |
getKeyStoreFile()
Deprecated.
|
String |
getKeyStoreFormat() |
String |
getKeyStoreResource() |
NettyServerBootstrapFactory |
getNettyServerBootstrapFactory() |
String |
getNetworkInterface() |
Map<String,Object> |
getOptions() |
String |
getPassphrase() |
int |
getPort() |
String |
getProtocol() |
long |
getReceiveBufferSize() |
int |
getReceiveBufferSizePredictor() |
String |
getSecurityProvider() |
long |
getSendBufferSize() |
ServerPipelineFactory |
getServerPipelineFactory() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
org.jboss.netty.handler.ssl.SslHandler |
getSslHandler() |
File |
getTrustStoreFile()
Deprecated.
|
String |
getTrustStoreResource() |
int |
getWorkerCount() |
org.jboss.netty.channel.socket.nio.WorkerPool |
getWorkerPool() |
boolean |
isBroadcast() |
boolean |
isKeepAlive() |
boolean |
isNeedClientAuth() |
boolean |
isReuseAddress() |
boolean |
isSsl() |
boolean |
isSslClientCertHeaders() |
boolean |
isTcp() |
boolean |
isTcpNoDelay() |
void |
setBacklog(int backlog) |
void |
setBossCount(int bossCount) |
void |
setBossPool(org.jboss.netty.channel.socket.nio.BossPool bossPool) |
void |
setBroadcast(boolean broadcast) |
void |
setConnectTimeout(long connectTimeout) |
void |
setEnabledProtocols(String enabledProtocols) |
void |
setHost(String host) |
void |
setKeepAlive(boolean keepAlive) |
void |
setKeyStoreFile(File keyStoreFile)
Deprecated.
|
void |
setKeyStoreFormat(String keyStoreFormat) |
void |
setKeyStoreResource(String keyStoreResource) |
void |
setNeedClientAuth(boolean needClientAuth) |
void |
setNettyServerBootstrapFactory(NettyServerBootstrapFactory nettyServerBootstrapFactory) |
void |
setNetworkInterface(String networkInterface) |
void |
setOptions(Map<String,Object> options) |
void |
setPassphrase(String passphrase) |
void |
setPort(int port) |
void |
setProtocol(String protocol) |
void |
setReceiveBufferSize(long receiveBufferSize) |
void |
setReceiveBufferSizePredictor(int receiveBufferSizePredictor) |
void |
setReuseAddress(boolean reuseAddress) |
void |
setSecurityProvider(String securityProvider) |
void |
setSendBufferSize(long sendBufferSize) |
void |
setServerPipelineFactory(ServerPipelineFactory serverPipelineFactory) |
void |
setSsl(boolean ssl) |
void |
setSslClientCertHeaders(boolean sslClientCertHeaders) |
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters) |
void |
setSslHandler(org.jboss.netty.handler.ssl.SslHandler sslHandler) |
void |
setTcpNoDelay(boolean tcpNoDelay) |
void |
setTrustStoreFile(File trustStoreFile)
Deprecated.
|
void |
setTrustStoreResource(String trustStoreResource) |
void |
setWorkerCount(int workerCount) |
void |
setWorkerPool(org.jboss.netty.channel.socket.nio.WorkerPool workerPool) |
String |
toStringBootstrapConfiguration() |
protected String protocol
protected String host
protected int port
protected boolean broadcast
protected long sendBufferSize
protected long receiveBufferSize
protected int receiveBufferSizePredictor
protected int bossCount
protected int workerCount
protected boolean keepAlive
protected boolean tcpNoDelay
protected boolean reuseAddress
protected long connectTimeout
protected int backlog
protected ServerPipelineFactory serverPipelineFactory
protected NettyServerBootstrapFactory nettyServerBootstrapFactory
protected boolean ssl
protected boolean sslClientCertHeaders
protected org.jboss.netty.handler.ssl.SslHandler sslHandler
protected org.apache.camel.util.jsse.SSLContextParameters sslContextParameters
protected boolean needClientAuth
protected File keyStoreFile
protected File trustStoreFile
protected String keyStoreResource
protected String trustStoreResource
protected String keyStoreFormat
protected String securityProvider
protected String enabledProtocols
protected String passphrase
protected org.jboss.netty.channel.socket.nio.BossPool bossPool
protected org.jboss.netty.channel.socket.nio.WorkerPool workerPool
protected String networkInterface
public String getAddress()
public boolean isTcp()
public String getProtocol()
public void setProtocol(String protocol)
public String getHost()
public void setHost(String host)
public int getPort()
public void setPort(int port)
public boolean isBroadcast()
public void setBroadcast(boolean broadcast)
public long getSendBufferSize()
public void setSendBufferSize(long sendBufferSize)
public long getReceiveBufferSize()
public void setReceiveBufferSize(long receiveBufferSize)
public int getReceiveBufferSizePredictor()
public void setReceiveBufferSizePredictor(int receiveBufferSizePredictor)
public int getWorkerCount()
public void setWorkerCount(int workerCount)
public int getBossCount()
public void setBossCount(int bossCount)
public boolean isKeepAlive()
public void setKeepAlive(boolean keepAlive)
public boolean isTcpNoDelay()
public void setTcpNoDelay(boolean tcpNoDelay)
public boolean isReuseAddress()
public void setReuseAddress(boolean reuseAddress)
public long getConnectTimeout()
public void setConnectTimeout(long connectTimeout)
public int getBacklog()
public void setBacklog(int backlog)
public boolean isSsl()
public void setSsl(boolean ssl)
public boolean isSslClientCertHeaders()
public void setSslClientCertHeaders(boolean sslClientCertHeaders)
public org.jboss.netty.handler.ssl.SslHandler getSslHandler()
public void setSslHandler(org.jboss.netty.handler.ssl.SslHandler sslHandler)
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
public boolean isNeedClientAuth()
public void setNeedClientAuth(boolean needClientAuth)
@Deprecated public File getKeyStoreFile()
@Deprecated public void setKeyStoreFile(File keyStoreFile)
@Deprecated public File getTrustStoreFile()
@Deprecated public void setTrustStoreFile(File trustStoreFile)
public String getKeyStoreResource()
public void setKeyStoreResource(String keyStoreResource)
public String getTrustStoreResource()
public void setTrustStoreResource(String trustStoreResource)
public String getKeyStoreFormat()
public void setKeyStoreFormat(String keyStoreFormat)
public String getSecurityProvider()
public void setSecurityProvider(String securityProvider)
public String getPassphrase()
public void setPassphrase(String passphrase)
public ServerPipelineFactory getServerPipelineFactory()
public void setServerPipelineFactory(ServerPipelineFactory serverPipelineFactory)
public NettyServerBootstrapFactory getNettyServerBootstrapFactory()
public void setNettyServerBootstrapFactory(NettyServerBootstrapFactory nettyServerBootstrapFactory)
public org.jboss.netty.channel.socket.nio.BossPool getBossPool()
public void setBossPool(org.jboss.netty.channel.socket.nio.BossPool bossPool)
public org.jboss.netty.channel.socket.nio.WorkerPool getWorkerPool()
public void setWorkerPool(org.jboss.netty.channel.socket.nio.WorkerPool workerPool)
public String getNetworkInterface()
public void setNetworkInterface(String networkInterface)
public String getEnabledProtocols()
public void setEnabledProtocols(String enabledProtocols)
public boolean compatible(NettyServerBootstrapConfiguration other)
NettyServerBootstrapConfiguration
is compatible
with this, as a Netty listener bound on port X shares the same common
NettyServerBootstrapConfiguration
, which must be identical.public String toStringBootstrapConfiguration()
Apache Camel