public class XMLHttpRequestExchange extends Object
This class is the underlying implementation of JavaScript's
window.XMLHttpRequest
in browser.js
.
Modifier and Type | Class and Description |
---|---|
static class |
XMLHttpRequestExchange.CometDExchange |
Constructor and Description |
---|
XMLHttpRequestExchange(Object client,
JavaScript javaScript,
Object jsThis,
String httpMethod,
String url,
boolean async) |
Modifier and Type | Method and Description |
---|---|
void |
abort() |
void |
addRequestHeader(String name,
String value) |
String |
getAllResponseHeaders() |
String |
getMethod() |
int |
getReadyState() |
String |
getResponseHeader(String name) |
int |
getResponseStatus() |
String |
getResponseStatusText() |
String |
getResponseText() |
void |
send() |
void |
setRequestContent(String data) |
public XMLHttpRequestExchange(Object client, JavaScript javaScript, Object jsThis, String httpMethod, String url, boolean async)
public String getMethod()
public void setRequestContent(String data)
public int getReadyState()
public String getResponseText()
public int getResponseStatus()
public String getResponseStatusText()
public void abort()
public String getAllResponseHeaders()
Copyright © 2008–2023 The CometD Project. All rights reserved.