Package org.loboevolution.js.xml
Interface XMLHttpRequest
- All Superinterfaces:
EventTarget
,XMLHttpRequestEventTarget
- All Known Implementing Classes:
XMLHttpRequestImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
abort.int
getResponseHeader
(String header) int
int
boolean
void
open.void
open.void
open.void
open.void
overrideMimeType
(String mime) void
send()
send.void
send.void
setOnreadystatechange
(Function onreadystatechange) void
setRequestHeader
(String header, String value) void
setResponseType
(String responseType) void
setTimeout
(int timeout) void
setWithCredentials
(boolean withCredentials) Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.js.xml.XMLHttpRequestEventTarget
getOnabort, getOnerror, getOnload, getOnloadend, getOnloadstart, getOnprogress, getOntimeout, setOnabort, setOnerror, setOnload, setOnloadend, setOnloadstart, setOnprogress, setOntimeout
-
Method Details
-
getOnreadystatechange
Function getOnreadystatechange() -
setOnreadystatechange
-
getReadyState
int getReadyState() -
open
open.
-
open
open.
-
open
open.
-
open
void open(String method, String url, boolean async, String username, String password) throws Exception open.
-
send
send.
- Throws:
Exception
- if any.
-
abort
void abort()abort.
-
send
send.
-
setRequestHeader
-
getTimeout
int getTimeout() -
setTimeout
void setTimeout(int timeout) -
getWithCredentials
boolean getWithCredentials() -
setWithCredentials
void setWithCredentials(boolean withCredentials) -
getUpload
XMLHttpRequestUpload getUpload() -
getStatus
int getStatus() -
getStatusText
String getStatusText() -
getResponseHeader
-
getAllResponseHeaders
String getAllResponseHeaders() -
overrideMimeType
-
getResponseType
String getResponseType() -
setResponseType
-
getResponse
Object getResponse() -
getResponseText
String getResponseText() -
getResponseXML
Document getResponseXML()
-