Class XMLHttpRequest

    • Constructor Detail

      • XMLHttpRequest

        public XMLHttpRequest​(UserAgentContext pcontext,
                              java.net.URL codeSource,
                              org.mozilla.javascript.Scriptable scope)
    • Method Detail

      • abort

        public void abort()
      • getAllResponseHeaders

        public java.lang.String getAllResponseHeaders()
      • getReadyState

        public int getReadyState()
      • getResponseBytes

        public byte[] getResponseBytes()
      • getResponseHeader

        public java.lang.String getResponseHeader​(java.lang.String headerName)
      • getResponseText

        public java.lang.String getResponseText()
      • getResponseXML

        public org.w3c.dom.Document getResponseXML()
      • getStatus

        public int getStatus()
      • getStatusText

        public java.lang.String getStatusText()
      • open

        public void open​(java.lang.String method,
                         java.lang.String url,
                         boolean asyncFlag,
                         java.lang.String userName,
                         java.lang.String password)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • open

        public void open​(java.lang.String method,
                         java.lang.String url,
                         boolean asyncFlag,
                         java.lang.String userName)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • open

        public void open​(java.lang.String method,
                         java.lang.String url,
                         boolean asyncFlag)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • open

        public void open​(java.lang.String method,
                         java.lang.String url)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • send

        public void send​(java.lang.String content)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • getOnreadystatechange

        public org.mozilla.javascript.Function getOnreadystatechange()
      • setOnreadystatechange

        public void setOnreadystatechange​(org.mozilla.javascript.Function value)