Example usage for Java com.google.gwt.gears.client.httprequest HttpRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
void | abort() Cancels the request. |
int | getReadyState() Returns the state of the request. |
String | getResponseText() Returns the response body as a string. |
int | getStatus() Returns the status as a number (e.g. |
HttpRequestUpload | getUpload() Returns an HttpRequestUpload object for accessing properties associated with POST or PUT data uploads. |
void | open(String method, String url) Specifies the method and URL of a request. |
void | send(Blob postData) Sends the request. |
void | send(RequestCallback callback) Sends the request. |
void | send(String postData) Sends the request. |
void | setCallback(RequestCallback handler) Sets an event handler that fires as response data is downloaded. |
void | setRequestHeader(String name, String value) Adds the header to the set of HTTP headers to be sent. |