|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RequestOptions | |
|---|---|
| com.google.gwt.gadgets.client.io | |
| Uses of RequestOptions in com.google.gwt.gadgets.client.io |
|---|
| Methods in com.google.gwt.gadgets.client.io that return RequestOptions | |
|---|---|
static RequestOptions |
RequestOptions.newInstance()
Returns new instance of RequestOptions. |
RequestOptions |
RequestOptions.setAuthorizationType(AuthorizationType authorizationType)
Sets the authorization method. |
RequestOptions |
RequestOptions.setContentType(ContentType contentType)
Sets a type of content of the requested resource. |
RequestOptions |
RequestOptions.setHeader(String key,
String value)
Sets HTTP headers to send to the URL. |
RequestOptions |
RequestOptions.setMethodType(MethodType methodType)
Sets the HTTP request method. |
RequestOptions |
RequestOptions.setPostData(String data)
Specifies the data to send to the URL using the POST method; defaults to null. |
RequestOptions |
RequestOptions.setRefreshInterval(int interval)
Explicitly sets the lifespan of cached content. |
| Methods in com.google.gwt.gadgets.client.io with parameters of type RequestOptions | |
|---|---|
void |
GadgetsIo.makeRequest(String url,
ResponseReceivedHandler<Object> handler,
RequestOptions options)
Makes the HTTP request and invokes the ResponseReceivedHandler.onResponseReceived(ResponseReceivedEvent)
method with the received response. |
void |
GadgetsIo.makeRequestAsDom(String url,
ResponseReceivedHandler<com.google.gwt.dom.client.ObjectElement> handler,
RequestOptions options)
Makes the HTTP request and invokes the ResponseReceivedHandler.onResponseReceived(ResponseReceivedEvent)
method with the received response. |
void |
GadgetsIo.makeRequestAsJso(String url,
ResponseReceivedHandler<? extends com.google.gwt.core.client.JavaScriptObject> handler,
RequestOptions options)
Makes the HTTP request and invokes the ResponseReceivedHandler.onResponseReceived(ResponseReceivedEvent)
method with the received response. |
void |
GadgetsIo.makeRequestAsText(String url,
ResponseReceivedHandler<String> handler,
RequestOptions options)
Makes the HTTP request and invokes the ResponseReceivedHandler.onResponseReceived(ResponseReceivedEvent)
method with the received response. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||