|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.maryanovsky.gwtutils.client.net.JsonpTextRequestMaker
public class JsonpTextRequestMaker
An implementation of RequestMaker<String> that uses a
JsonpRequestBuilder
to make the request.
Constructor Summary | |
---|---|
JsonpTextRequestMaker(JsonpRequestBuilder requestBuilder,
String baseUrl)
Creates a new JsonpTextRequestMaker which will send the request
to the specified URL using the specified JsonpRequestBuilder . |
Method Summary | |
---|---|
String |
getUrl()
Returns the URL of the requested resource. |
void |
sendRequest(ResultCallback<String> callback)
Sends the request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsonpTextRequestMaker(JsonpRequestBuilder requestBuilder, String baseUrl)
JsonpTextRequestMaker
which will send the request
to the specified URL using the specified JsonpRequestBuilder
.
Method Detail |
---|
public void sendRequest(ResultCallback<String> callback)
sendRequest
in interface RequestMaker<String>
public String getUrl()
getUrl
in interface RequestMaker<String>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |