Class EventSource

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class EventSource
    extends EventTarget
    A JavaScript object for EventSource.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        org.htmlunit.corejs.javascript.ScriptableObject.KeyComparator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CLOSED
      The connection is not being established, has been closed or there was a fatal error.
      static int CONNECTING
      The connection is being established.
      static int OPEN
      The connection is open and dispatching events.
      • Fields inherited from class org.htmlunit.corejs.javascript.ScriptableObject

        CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
      • Fields inherited from interface org.htmlunit.corejs.javascript.Scriptable

        NOT_FOUND
    • Constructor Summary

      Constructors 
      Constructor Description
      EventSource()
      Default constructor.
    • Field Detail

      • CONNECTING

        public static final int CONNECTING
        The connection is being established.
        See Also:
        Constant Field Values
      • OPEN

        public static final int OPEN
        The connection is open and dispatching events.
        See Also:
        Constant Field Values
      • CLOSED

        public static final int CLOSED
        The connection is not being established, has been closed or there was a fatal error.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EventSource

        public EventSource()
        Default constructor.
    • Method Detail