@UriParams 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 |
static String |
DEFAULT_ENABLED_PROTOCOLS |
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() |
public static final String DEFAULT_ENABLED_PROTOCOLS
@UriPath @Metadata(required="true") protected String protocol
@UriPath @Metadata(required="true") protected String host
@UriPath @Metadata(required="true") protected int port
@UriParam protected boolean broadcast
@UriParam(defaultValue="65536") protected long sendBufferSize
@UriParam(defaultValue="65536") protected long receiveBufferSize
@UriParam protected int receiveBufferSizePredictor
@UriParam(defaultValue="1") protected int bossCount
@UriParam protected int workerCount
@UriParam(defaultValue="true") protected boolean keepAlive
@UriParam(defaultValue="true") protected boolean tcpNoDelay
@UriParam(defaultValue="true") protected boolean reuseAddress
@UriParam(defaultValue="10000") protected long connectTimeout
@UriParam protected int backlog
@UriParam protected ServerPipelineFactory serverPipelineFactory
@UriParam protected NettyServerBootstrapFactory nettyServerBootstrapFactory
@UriParam protected boolean ssl
@UriParam protected boolean sslClientCertHeaders
@UriParam protected org.jboss.netty.handler.ssl.SslHandler sslHandler
@UriParam protected org.apache.camel.util.jsse.SSLContextParameters sslContextParameters
@UriParam protected boolean needClientAuth
@UriParam protected File keyStoreFile
@UriParam protected File trustStoreFile
@UriParam protected String keyStoreResource
@UriParam protected String trustStoreResource
@UriParam(defaultValue="JKS") protected String keyStoreFormat
@UriParam(defaultValue="SunX509") protected String securityProvider
@UriParam(defaultValue="TLSv1,TLSv1.1,TLSv1.2") protected String enabledProtocols
@UriParam protected String passphrase
protected org.jboss.netty.channel.socket.nio.BossPool bossPool
protected org.jboss.netty.channel.socket.nio.WorkerPool workerPool
@UriParam 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