Class FakeRequestTransport
- java.lang.Object
-
- com.google.web.bindery.requestfactory.shared.testing.FakeRequestTransport
-
- All Implemented Interfaces:
RequestTransport
public class FakeRequestTransport extends java.lang.Object implements RequestTransport
A no-op implementation ofRequestTransportthat can be used for unit testing.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.web.bindery.requestfactory.shared.RequestTransport
RequestTransport.TransportReceiver
-
-
Constructor Summary
Constructors Constructor Description FakeRequestTransport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsend(java.lang.String payload, RequestTransport.TransportReceiver receiver)No-op.
-
-
-
Method Detail
-
send
public void send(java.lang.String payload, RequestTransport.TransportReceiver receiver)No-op.- Specified by:
sendin interfaceRequestTransport- Parameters:
payload- the String payloadreceiver- theRequestTransport.TransportReceiverinstance that will receive the payload
-
-