public class NettyAsyncHttpProviderConfig extends Object implements AsyncHttpProviderConfig<String,Object>
Modifier and Type | Class and Description |
---|---|
static interface |
NettyAsyncHttpProviderConfig.AdditionalPipelineInitializer |
class |
NettyAsyncHttpProviderConfig.DefaultNettyWebSocketFactory |
static interface |
NettyAsyncHttpProviderConfig.NettyWebSocketFactory |
Constructor and Description |
---|
NettyAsyncHttpProviderConfig() |
public NettyAsyncHttpProviderConfig addProperty(String name, Object value)
AsyncHttpProvider
addProperty
in interface AsyncHttpProviderConfig<String,Object>
name
- the name of the propertyvalue
- the value of the propertypublic Object getProperty(String name)
getProperty
in interface AsyncHttpProviderConfig<String,Object>
name
- public <T> T getProperty(String name, Class<T> type, T defaultValue)
name
- public Object removeProperty(String name)
removeProperty
in interface AsyncHttpProviderConfig<String,Object>
name
- public Set<Map.Entry<String,Object>> propertiesSet()
propertiesSet
in interface AsyncHttpProviderConfig<String,Object>
public boolean isUseDeadLockChecker()
public void setUseDeadLockChecker(boolean useDeadLockChecker)
public ExecutorService getBossExecutorService()
public void setBossExecutorService(ExecutorService bossExecutorService)
public NettyAsyncHttpProviderConfig.AdditionalPipelineInitializer getHttpAdditionalPipelineInitializer()
public void setHttpAdditionalPipelineInitializer(NettyAsyncHttpProviderConfig.AdditionalPipelineInitializer httpAdditionalPipelineInitializer)
public NettyAsyncHttpProviderConfig.AdditionalPipelineInitializer getWsAdditionalPipelineInitializer()
public void setWsAdditionalPipelineInitializer(NettyAsyncHttpProviderConfig.AdditionalPipelineInitializer wsAdditionalPipelineInitializer)
public NettyAsyncHttpProviderConfig.AdditionalPipelineInitializer getHttpsAdditionalPipelineInitializer()
public void setHttpsAdditionalPipelineInitializer(NettyAsyncHttpProviderConfig.AdditionalPipelineInitializer httpsAdditionalPipelineInitializer)
public NettyAsyncHttpProviderConfig.AdditionalPipelineInitializer getWssAdditionalPipelineInitializer()
public void setWssAdditionalPipelineInitializer(NettyAsyncHttpProviderConfig.AdditionalPipelineInitializer wssAdditionalPipelineInitializer)
public int getHttpClientCodecMaxInitialLineLength()
public void setHttpClientCodecMaxInitialLineLength(int httpClientCodecMaxInitialLineLength)
public int getHttpClientCodecMaxHeaderSize()
public void setHttpClientCodecMaxHeaderSize(int httpClientCodecMaxHeaderSize)
public int getHttpClientCodecMaxChunkSize()
public void setHttpClientCodecMaxChunkSize(int httpClientCodecMaxChunkSize)
public org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory getSocketChannelFactory()
public void setSocketChannelFactory(org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory socketChannelFactory)
public void setDisableZeroCopy(boolean disableZeroCopy)
public boolean isDisableZeroCopy()
public org.jboss.netty.util.Timer getNettyTimer()
public void setNettyTimer(org.jboss.netty.util.Timer nettyTimer)
public long getHandshakeTimeout()
public void setHandshakeTimeout(long handshakeTimeout)
public ChannelPool getChannelPool()
public void setChannelPool(ChannelPool channelPool)
public SSLEngineFactory getSslEngineFactory()
public void setSslEngineFactory(SSLEngineFactory sslEngineFactory)
public int getChunkedFileChunkSize()
public void setChunkedFileChunkSize(int chunkedFileChunkSize)
public NettyAsyncHttpProviderConfig.NettyWebSocketFactory getNettyWebSocketFactory()
public void setNettyWebSocketFactory(NettyAsyncHttpProviderConfig.NettyWebSocketFactory nettyWebSocketFactory)
public int getWebSocketMaxBufferSize()
public void setWebSocketMaxBufferSize(int webSocketMaxBufferSize)
public int getWebSocketMaxFrameSize()
public void setWebSocketMaxFrameSize(int webSocketMaxFrameSize)
public boolean isKeepEncodingHeader()
public void setKeepEncodingHeader(boolean keepEncodingHeader)
public ConnectionStrategy getConnectionStrategy()
public void setConnectionStrategy(ConnectionStrategy connectionStrategy)
Copyright © 2015. All Rights Reserved.