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`

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static interface` | `RequestTransport.TransportReceiver` A callback interface.

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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 payload
        `receiver` - the `RequestTransport.TransportReceiver` instance that will receive the payload