49 lines
1.1 KiB
Java
49 lines
1.1 KiB
Java
package org.apache.batik.dom.util;
|
|
|
|
import org.w3c.dom.Document;
|
|
import org.w3c.dom.events.EventListener;
|
|
|
|
public interface XMLHttpRequest {
|
|
public static final short DONE = (short) 4;
|
|
public static final short HEADERS_RECEIVED = (short) 2;
|
|
public static final short LOADING = (short) 3;
|
|
public static final short OPENED = (short) 1;
|
|
public static final short UNSENT = (short) 0;
|
|
|
|
void abort();
|
|
|
|
String getAllResponseHeaders();
|
|
|
|
EventListener getOnreadystatechange();
|
|
|
|
short getReadyState();
|
|
|
|
String getResponseHeader(String str);
|
|
|
|
String getResponseText();
|
|
|
|
String getResponseXML();
|
|
|
|
short getStatus();
|
|
|
|
String getStatusText();
|
|
|
|
void open(String str, String str2);
|
|
|
|
void open(String str, String str2, boolean z);
|
|
|
|
void open(String str, String str2, boolean z, String str3);
|
|
|
|
void open(String str, String str2, boolean z, String str3, String str4);
|
|
|
|
void send();
|
|
|
|
void send(String str);
|
|
|
|
void send(Document document);
|
|
|
|
void setOnreadystatechange(EventListener eventListener);
|
|
|
|
void setRequestHeader(String str, String str2);
|
|
}
|