|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.HTTPRequest
public class HTTPRequest
This class allows you to make asynchronous HTTP requests to the originating server.
Constructor Summary | |
---|---|
HTTPRequest()
|
Method Summary | |
---|---|
static boolean |
asyncGet(java.lang.String url,
ResponseTextHandler handler)
Makes an asynchronous HTTP GET to a remote server. |
static boolean |
asyncGet(java.lang.String user,
java.lang.String pwd,
java.lang.String url,
ResponseTextHandler handler)
Makes an asynchronous HTTP GET to a remote server. |
static boolean |
asyncPost(java.lang.String url,
java.lang.String postData,
ResponseTextHandler handler)
Makes an asynchronous HTTP POST to a remote server. |
static boolean |
asyncPost(java.lang.String user,
java.lang.String pwd,
java.lang.String url,
java.lang.String postData,
ResponseTextHandler handler)
Makes an asynchronous HTTP POST to a remote server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTTPRequest()
Method Detail |
---|
public static boolean asyncGet(java.lang.String url, ResponseTextHandler handler)
url
- the absolute url to GEThandler
- the response handler to be notified when either the request
fails, or is completed successfully
false
if the invocation fails to issuepublic static boolean asyncGet(java.lang.String user, java.lang.String pwd, java.lang.String url, ResponseTextHandler handler)
url
- the absolute url to GEThandler
- the response handler to be notified when either the request
fails, or is completed successfully
false
if the invocation fails to issuepublic static boolean asyncPost(java.lang.String url, java.lang.String postData, ResponseTextHandler handler)
url
- the absolute url to which the POST data is deliveredpostData
- the data to posthandler
- the response handler to be notified when either the request
fails, or is completed successfully
false
if the invocation fails to issuepublic static boolean asyncPost(java.lang.String user, java.lang.String pwd, java.lang.String url, java.lang.String postData, ResponseTextHandler handler)
url
- the absolute url to which the POST data is deliveredpostData
- the data to posthandler
- the response handler to be notified when either the request
fails, or is completed successfully
false
if the invocation fails to issue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |