Class FlashCrossDomainHandler

  • All Implemented Interfaces:
    Module

    public class FlashCrossDomainHandler
    extends BasicModule
    • Field Detail

      • CROSS_DOMAIN_TEXT

        public static String CROSS_DOMAIN_TEXT
      • CROSS_DOMAIN_END_TEXT

        public static String CROSS_DOMAIN_END_TEXT
    • Constructor Detail

      • FlashCrossDomainHandler

        public FlashCrossDomainHandler()
    • 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 interface Module
        Overrides:
        start in class BasicModule
      • 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 interface Module
        Overrides:
        stop in class BasicModule
      • 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.