java.lang.Object
org.teavm.jso.ajax.XMLHttpRequest
- All Implemented Interfaces:
JSObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidabort()static XMLHttpRequestcreate()abstract Stringabstract intabstract JSObjectabstract StringgetResponseHeader(String name) abstract Stringabstract Stringabstract Stringabstract Documentabstract intabstract Stringfinal voidonComplete(Runnable runnable) abstract voidabstract voidabstract voidabstract voidabstract voidoverrideMimeType(String mimeType) abstract voidsend()abstract voidabstract voidabstract voidabstract voidsetRequestHeader(String name, String value) abstract voidsetResponseType(String type)
-
Field Details
-
UNSET
public static final int UNSET- See Also:
-
OPENED
public static final int OPENED- See Also:
-
HEADERS_RECEIVED
public static final int HEADERS_RECEIVED- See Also:
-
LOADING
public static final int LOADING- See Also:
-
DONE
public static final int DONE- See Also:
-
-
Constructor Details
-
XMLHttpRequest
public XMLHttpRequest()
-
-
Method Details
-
open
-
open
-
open
-
open
-
send
public abstract void send() -
send
-
send
-
setRequestHeader
-
getAllResponseHeaders
-
getResponseHeader
-
setOnReadyStateChange
-
onComplete
-
overrideMimeType
-
getReadyState
public abstract int getReadyState() -
getResponseText
-
getResponseXML
-
getResponse
-
getStatus
public abstract int getStatus() -
getStatusText
-
setResponseType
-
getResponseType
-
create
-
abort
public abstract void abort() -
getResponseURL
-