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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RequestTransport.TransportReceiver
A callback interface.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
send(java.lang.String payload, RequestTransport.TransportReceiver receiver)
Called by the RequestFactory implementation.
-
-
-
Method Detail
-
send
void send(java.lang.String payload, RequestTransport.TransportReceiver receiver)
Called by the RequestFactory implementation.- Parameters:
payload
- the String payloadreceiver
- theRequestTransport.TransportReceiver
instance that will receive the payload
-
-