Package org.loboevolution.html.js.xml
Class XMLHttpRequestImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
org.loboevolution.html.js.xml.XMLHttpRequestEventTargetImpl
org.loboevolution.http.HttpRequest
org.loboevolution.html.js.xml.XMLHttpRequestImpl
- All Implemented Interfaces:
EventTarget
,ScriptableDelegate
,XMLHttpRequest
,XMLHttpRequestEventTarget
XMLHttpRequestImpl class.
-
Field Summary
Fields inherited from class org.loboevolution.http.HttpRequest
responseHeadersMap
-
Constructor Summary
ConstructorDescriptionXMLHttpRequestImpl
(HTMLDocumentImpl document, Scriptable scriptable, Window window) Constructor for XMLHttpRequestImpl. -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
overrideMimeType
(String mime) void
send()
send.void
send.void
setOnreadystatechange
(Function readystatechange) void
setRequestHeader
(String header, String value) void
setResponseType
(String responseType) void
setWithCredentials
(boolean withCredentials) Methods inherited from class org.loboevolution.http.HttpRequest
abort, addReadyStateChangeListener, getAllResponseHeaders, getPostCharset, getReadyState, getResponseBytes, getResponseHeader, getResponseText, getResponseXML, getStatus, getStatusText, open, open, open, open, open, open, open, open, send
Methods inherited from class org.loboevolution.html.js.xml.XMLHttpRequestEventTargetImpl
getOnabort, getOnerror, getOnload, getOnloadend, getOnloadstart, getOnprogress, getOntimeout, setOnabort, setOnerror, setOnload, setOnloadend, setOnloadstart, setOnprogress, setOntimeout
Methods inherited from class org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
addEventListener, addEventListener, dispatchEvent, dispatchEvent, getFunction, removeEventListener, removeEventListener
Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.js.xml.XMLHttpRequest
abort, getAllResponseHeaders, getReadyState, getResponseHeader, getResponseText, getResponseXML, getStatus, getStatusText, getTimeout, open, open, open, open, setTimeout
Methods inherited from interface org.loboevolution.js.xml.XMLHttpRequestEventTarget
getOnabort, getOnerror, getOnload, getOnloadend, getOnloadstart, getOnprogress, getOntimeout, setOnabort, setOnerror, setOnload, setOnloadend, setOnloadstart, setOnprogress, setOntimeout
-
Constructor Details
-
XMLHttpRequestImpl
Constructor for XMLHttpRequestImpl.
-
-
Method Details
-
getOnreadystatechange
- Specified by:
getOnreadystatechange
in interfaceXMLHttpRequest
-
setOnreadystatechange
- Specified by:
setOnreadystatechange
in interfaceXMLHttpRequest
-
send
Description copied from interface:XMLHttpRequest
send.
- Specified by:
send
in interfaceXMLHttpRequest
- Throws:
Exception
- if any.
-
send
Description copied from interface:XMLHttpRequest
send.
- Specified by:
send
in interfaceXMLHttpRequest
- Parameters:
data
- aObject
object.- Throws:
Exception
- if any.
-
setRequestHeader
- Specified by:
setRequestHeader
in interfaceXMLHttpRequest
-
getWithCredentials
public boolean getWithCredentials()- Specified by:
getWithCredentials
in interfaceXMLHttpRequest
-
setWithCredentials
public void setWithCredentials(boolean withCredentials) - Specified by:
setWithCredentials
in interfaceXMLHttpRequest
-
getUpload
- Specified by:
getUpload
in interfaceXMLHttpRequest
-
overrideMimeType
- Specified by:
overrideMimeType
in interfaceXMLHttpRequest
-
getResponseType
- Specified by:
getResponseType
in interfaceXMLHttpRequest
-
setResponseType
- Specified by:
setResponseType
in interfaceXMLHttpRequest
-
getResponse
- Specified by:
getResponse
in interfaceXMLHttpRequest
-