org.atmosphere.nettosphere
Class Config
java.lang.Object
org.atmosphere.nettosphere.Config
public class Config
- extends Object
A Configuration class used to configure Atmosphere.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Config
public Config(Config.Builder b)
host
public String host()
port
public int port()
initParams
public Map<String,String> initParams()
path
public List<String> path()
configFile
public String configFile()
broadcaster
public Class<? extends org.atmosphere.cpr.Broadcaster> broadcaster()
handlersMap
public Map<String,org.atmosphere.cpr.AtmosphereHandler> handlersMap()
broadcasterFactory
public org.atmosphere.cpr.BroadcasterFactory broadcasterFactory()
broadcasterCache
public Class<? extends org.atmosphere.cpr.BroadcasterCache> broadcasterCache()
webSocketProtocol
public Class<? extends org.atmosphere.websocket.WebSocketProtocol> webSocketProtocol()
interceptors
public List<org.atmosphere.cpr.AtmosphereInterceptor> interceptors()
scanLib
public String scanLib()
scanPackages
public List<Class<?>> scanPackages()
mappingPath
public String mappingPath()
sslContext
public SSLContext sslContext()
sslContextListener
public SSLContextListener sslContextListener()
channelUpstreamHandlers
public LinkedList<org.jboss.netty.channel.ChannelUpstreamHandler> channelUpstreamHandlers()
supportChunking
public boolean supportChunking()
aggregateRequestBodyInMemory
public boolean aggregateRequestBodyInMemory()
socketKeepAlive
public boolean socketKeepAlive()
socketNoTcpDelay
public boolean socketNoTcpDelay()
maxChunkContentLength
public int maxChunkContentLength()
writeBufferPoolSize
public int writeBufferPoolSize()
writeBufferPoolCleanupFrequency
public long writeBufferPoolCleanupFrequency()
excludedInterceptors
public List<String> excludedInterceptors()
enablePong
public boolean enablePong()
Copyright © 2014. All Rights Reserved.