|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
org.atmosphere.gwt.client.impl.XDomainRequest
public class XDomainRequest
References: - http://blogs.msdn.com/b/ieinternals/archive/2010/04/06/comet-streaming-in-internet-explorer-with-xmlhttprequest-and-xdomainrequest.aspx - http://msdn.microsoft.com/en-us/library/cc288060(VS.85).aspx - http://blogs.msdn.com/b/ieinternals/archive/2010/05/13/xdomainrequest-restrictions-limitations-and-workarounds.aspx
| Constructor Summary | |
|---|---|
protected |
XDomainRequest()
|
| Method Summary | |
|---|---|
void |
abort()
The abort method terminates a pending send. |
void |
clearListener()
|
static XDomainRequest |
create()
|
String |
getContentType()
|
String |
getResponseText()
|
int |
getTimeout()
|
static boolean |
isSupported()
|
void |
openGET(String url)
Creates a connection with a domain's server. |
void |
openPOST(String url)
Creates a connection with a domain's server. |
void |
send()
Transmits a empty string to the server for processing. |
void |
send(String data)
Transmits a data string to the server for processing. |
void |
setListener(XDomainRequestListener listener)
|
void |
setTimeout(int timeout)
set the timeout in milliseconds |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected XDomainRequest()
| Method Detail |
|---|
public static XDomainRequest create()
public static boolean isSupported()
public final void setListener(XDomainRequestListener listener)
public final void clearListener()
public final String getContentType()
public final String getResponseText()
public final void setTimeout(int timeout)
timeout - public final int getTimeout()
public final void abort()
public final void openGET(String url)
url - public final void openPOST(String url)
url - public final void send()
public final void send(String data)
data -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||