Package org.jivesoftware.openfire
Class FlashCrossDomainHandler
- java.lang.Object
-
- org.jivesoftware.openfire.container.BasicModule
-
- org.jivesoftware.openfire.FlashCrossDomainHandler
-
- All Implemented Interfaces:
Module
public class FlashCrossDomainHandler extends BasicModule
-
-
Field Summary
Fields Modifier and Type Field Description static String
CROSS_DOMAIN_END_TEXT
static String
CROSS_DOMAIN_TEXT
-
Constructor Summary
Constructors Constructor Description FlashCrossDomainHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPort()
protected String
read(BufferedReader in)
Safely read a string from the reader until a zero character or a newline is received, more then 100 invalid code points where read or the 200 character is reached.void
start()
Starts the basic module.void
stop()
Stops the basic module.-
Methods inherited from class org.jivesoftware.openfire.container.BasicModule
destroy, getName, initialize
-
-
-
-
Method Detail
-
start
public void start()
Description copied from class:BasicModule
Starts the basic module.
Inheriting classes that choose to override this method MUST call this start() method before accessing BasicModule resources.
- Specified by:
start
in interfaceModule
- Overrides:
start
in classBasicModule
-
stop
public void stop()
Description copied from class:BasicModule
Stops the basic module.
Inheriting classes that choose to override this method MUST call this stop() method before accessing BasicModule resources.
- Specified by:
stop
in interfaceModule
- Overrides:
stop
in classBasicModule
-
getPort
public int getPort()
-
read
protected String read(BufferedReader in)
Safely read a string from the reader until a zero character or a newline is received, more then 100 invalid code points where read or the 200 character is reached.- Parameters:
in
- the read to read the string from- Returns:
- the string read from the reader.
-
-