java.lang.Object | |
↳ | com.google.gwt.requestfactory.client.DefaultRequestTransport |
An implementation of RequestTransport
that uses a
RequestBuilder
.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | URL | The default URL for a DefaultRequestTransport is
which may be
overridden by calling setRequestUrl(String) . |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the current URL used by this transport.
| |||||||||||
Called by the RequestFactory implementation.
| |||||||||||
Override the default URL used by this transport.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Override to change the headers sent in the HTTP request.
| |||||||||||
Creates a RequestCallback that maps the HTTP response onto the
TransportReceiver interface. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface com.google.gwt.requestfactory.shared.RequestTransport |
The default URL for a DefaultRequestTransport is
which may be
overridden by calling getHostPageBaseURL()
+ {@value #URL}setRequestUrl(String)
.
Returns the current URL used by this transport.
Called by the RequestFactory implementation.
payload | the String payload |
---|---|
receiver | a TransportReceiver instance |
Override the default URL used by this transport.
url | a String URL |
---|
Override to change the headers sent in the HTTP request.
builder | a RequestBuilder instance
|
---|
Constructs a RequestBuilder
using the POST
method sent to the URL returned from getRequestUrl()
.
RequestBuilder
instance
Creates a RequestCallback that maps the HTTP response onto the
TransportReceiver
interface.
receiver | a TransportReceiver |
---|
RequestCallback
instance