Class XMLHttpRequest

java.lang.Object
org.lobobrowser.js.AbstractScriptableDelegate
org.lobobrowser.html.js.XMLHttpRequest
All Implemented Interfaces:
ScriptableDelegate

public class XMLHttpRequest extends AbstractScriptableDelegate
  • Constructor Details

    • XMLHttpRequest

      public XMLHttpRequest(UserAgentContext pcontext, URL codeSource, org.mozilla.javascript.Scriptable scope)
  • Method Details

    • abort

      public void abort()
    • getAllResponseHeaders

      public String getAllResponseHeaders()
    • getReadyState

      public int getReadyState()
    • getResponseBytes

      public byte[] getResponseBytes()
    • getResponseHeader

      public String getResponseHeader(String headerName)
    • getResponseText

      public String getResponseText()
    • getResponseXML

      public Document getResponseXML()
    • getStatus

      public int getStatus()
    • getStatusText

      public String getStatusText()
    • open

      public void open(String method, String url, boolean asyncFlag, String userName, String password) throws IOException
      Throws:
      IOException
    • open

      public void open(String method, String url, boolean asyncFlag, String userName) throws IOException
      Throws:
      IOException
    • open

      public void open(String method, String url, boolean asyncFlag) throws IOException
      Throws:
      IOException
    • open

      public void open(String method, String url) throws IOException
      Throws:
      IOException
    • send

      public void send(String content) throws IOException
      Throws:
      IOException
    • getOnreadystatechange

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

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