Class TransportFactory

  • public final class TransportFactory
    extends java.lang.Object
    A factory for creating Transport instances. A Transport must define a TransportConfig defining the set of parameters needed to construct a new Transport instance. For example, HttpConfig defines the parameters for constructing a new HttpTransport instance when invoking build(). Below, we define a list of supported Transports. Note, when defining your own TransportConfig, the type parameter must be specified.
    • Constructor Detail

      • TransportFactory

        public TransportFactory​(@NonNull
                                @NonNull TransportConfig transportConfig)