Java com.google.gwt.gears.client.httprequest HttpRequest fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.gears.client.httprequest HttpRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.gears.client.httprequest HttpRequest.

The text is from its open source code.

Method

voidabort()
Cancels the request.
intgetReadyState()
Returns the state of the request.
StringgetResponseText()
Returns the response body as a string.
intgetStatus()
Returns the status as a number (e.g.
HttpRequestUploadgetUpload()
Returns an HttpRequestUpload object for accessing properties associated with POST or PUT data uploads.
voidopen(String method, String url)
Specifies the method and URL of a request.
voidsend(Blob postData)
Sends the request.
voidsend(RequestCallback callback)
Sends the request.
voidsend(String postData)
Sends the request.
voidsetCallback(RequestCallback handler)
Sets an event handler that fires as response data is downloaded.
voidsetRequestHeader(String name, String value)
Adds the header to the set of HTTP headers to be sent.