|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.util.AtmosphereConfigReader
public class AtmosphereConfigReader
Descriptor for an Atmosphere configuraton file.
| Nested Class Summary | |
|---|---|
class |
AtmosphereConfigReader.Property
Simple Structn representing a |
| Constructor Summary | |
|---|---|
AtmosphereConfigReader(InputStream stream)
Create a Dom element from META-INF/atmosphere.xml |
|
| Method Summary | |
|---|---|
Map<String,String> |
getAtmosphereHandlers()
Return a Map which contains the context-oath as a key with its
associated AtmosphereHandler, loaded from META-INF/atmosphere.xml |
String |
getBroadcasterClass(String contextRoot)
Return a Broadcaster, or null. |
String |
getCometSupportClass()
Return the CometSupport implementation |
ArrayList<AtmosphereConfigReader.Property> |
getProperty(String contextRoot)
Return the properties to be set on AtmosphereHandler |
String |
supportSession()
True if the support-session added in atmosphere.xml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AtmosphereConfigReader(InputStream stream)
Dom element from META-INF/atmosphere.xml
stream - | Method Detail |
|---|
public String supportSession()
public Map<String,String> getAtmosphereHandlers()
Map which contains the context-oath as a key with its
associated AtmosphereHandler, loaded from META-INF/atmosphere.xml
public String getBroadcasterClass(String contextRoot)
Broadcaster, or null.
public ArrayList<AtmosphereConfigReader.Property> getProperty(String contextRoot)
AtmosphereHandler
ArrayList containing the properties to be set on
a AtmosphereHandlerpublic String getCometSupportClass()
CometSupport implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||