org.atmosphere.nettosphere
Class Config

java.lang.Object
  extended by org.atmosphere.nettosphere.Config

public class Config
extends Object

A Configuration class used to configure Atmosphere.


Nested Class Summary
static class Config.Builder
           
 
Constructor Summary
Config(Config.Builder b)
           
 
Method Summary
 boolean aggregateRequestBodyInMemory()
           
 Class<? extends org.atmosphere.cpr.Broadcaster> broadcaster()
           
 Class<? extends org.atmosphere.cpr.BroadcasterCache> broadcasterCache()
           
 org.atmosphere.cpr.BroadcasterFactory broadcasterFactory()
           
 LinkedList<org.jboss.netty.channel.ChannelUpstreamHandler> channelUpstreamHandlers()
           
 String configFile()
           
 boolean enablePong()
           
 List<String> excludedInterceptors()
           
 Map<String,org.atmosphere.cpr.AtmosphereHandler> handlersMap()
           
 String host()
           
 Map<String,String> initParams()
           
 List<org.atmosphere.cpr.AtmosphereInterceptor> interceptors()
           
 String mappingPath()
           
 int maxChunkContentLength()
           
 List<String> path()
           
 int port()
           
 String scanLib()
           
 List<Class<?>> scanPackages()
           
 boolean socketKeepAlive()
           
 boolean socketNoTcpDelay()
           
 SSLContext sslContext()
           
 SSLContextListener sslContextListener()
           
 boolean supportChunking()
           
 Class<? extends org.atmosphere.websocket.WebSocketProtocol> webSocketProtocol()
           
 long writeBufferPoolCleanupFrequency()
           
 int writeBufferPoolSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config(Config.Builder b)
Method Detail

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.