org.atmosphere.cpr
Class AtmosphereConfig

java.lang.Object
  extended by org.atmosphere.cpr.AtmosphereConfig

public class AtmosphereConfig
extends Object

Author:
Sebastien Dionne : sebastien.dionne@gmail.com

Constructor Summary
AtmosphereConfig(AtmosphereFramework framework)
           
 
Method Summary
 AtmosphereFramework framework()
           
 List<AtmosphereHandlerConfig> getAtmosphereHandlerConfig()
           
 BroadcasterFactory getBroadcasterFactory()
          Return an instance of a DefaultBroadcasterFactory
 String getDispatcherName()
           
 String getInitParameter(String name)
           
 Enumeration<String> getInitParameterNames()
           
 javax.servlet.ServletConfig getServletConfig()
           
 javax.servlet.ServletContext getServletContext()
           
 String getWebServerName()
           
 Map<String,AtmosphereFramework.AtmosphereHandlerWrapper> handlers()
           
 boolean isSupportSession()
           
 Map<String,Object> properties()
           
 void setDispatcherName(String dispatcherName)
           
 void setSupportSession(boolean supportSession)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtmosphereConfig

public AtmosphereConfig(AtmosphereFramework framework)
Method Detail

getAtmosphereHandlerConfig

public List<AtmosphereHandlerConfig> getAtmosphereHandlerConfig()

framework

public AtmosphereFramework framework()

getServletConfig

public javax.servlet.ServletConfig getServletConfig()

getServletContext

public javax.servlet.ServletContext getServletContext()

getWebServerName

public String getWebServerName()

handlers

public Map<String,AtmosphereFramework.AtmosphereHandlerWrapper> handlers()

getInitParameter

public String getInitParameter(String name)

getInitParameterNames

public Enumeration<String> getInitParameterNames()

isSupportSession

public boolean isSupportSession()

setSupportSession

public void setSupportSession(boolean supportSession)

getBroadcasterFactory

public BroadcasterFactory getBroadcasterFactory()
Return an instance of a DefaultBroadcasterFactory

Returns:
an instance of a DefaultBroadcasterFactory

getDispatcherName

public String getDispatcherName()

setDispatcherName

public void setDispatcherName(String dispatcherName)

properties

public Map<String,Object> properties()


Copyright © 2013. All Rights Reserved.