org.apache.batik.dom.util
Interface XMLHttpRequest
public
interface
XMLHttpRequest
An interface for objects that can fetch HTTP resources.
This interface will likely move to a different package at some point
(perhaps org.w3c.dom.webapi).
See Also: The XMLHttpRequest Object
Method Summary |
void | abort() |
String | getAllResponseHeaders() |
EventListener | getOnreadystatechange() |
short | getReadyState() |
String | getResponseHeader(String header) |
String | getResponseText() |
String | getResponseXML() |
short | getStatus() |
String | getStatusText() |
void | open(String method, String url) |
void | open(String method, String url, boolean async) |
void | open(String method, String url, boolean async, String user) |
void | open(String method, String url, boolean async, String user, String password) |
void | send() |
void | send(String data) |
void | send(Document data) |
void | setOnreadystatechange(EventListener l) |
void | setRequestHeader(String header, String value) |
public short DONE
public short HEADERS_RECEIVED
public short LOADING
public short OPENED
public short UNSENT
public void abort()
public String getAllResponseHeaders()
public short getReadyState()
public String getResponseHeader(String header)
public String getResponseText()
public String getResponseXML()
public short getStatus()
public String getStatusText()
public void open(String method, String url)
public void open(String method, String url, boolean async)
public void open(String method, String url, boolean async, String user)
public void open(String method, String url, boolean async, String user, String password)
public void send()
public void send(String data)
public void send(Document data)
public void setRequestHeader(String header, String value)
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.