com.google.web.bindery.requestfactory.shared
Interface RequestTransport
- All Known Implementing Classes:
- DefaultRequestTransport, FakeRequestTransport, InProcessRequestTransport, UrlRequestTransport
public interface RequestTransport
Abstracts the mechanism by which a RequestFactory instance transmits its
payload to the backend.
- See Also:
DefaultRequestTransport,
FakeRequestTransport
send
void send(java.lang.String payload,
RequestTransport.TransportReceiver receiver)
- Called by the RequestFactory implementation.
- Parameters:
payload - the String payloadreceiver - the RequestTransport.TransportReceiver instance that will receive
the payload