Package com.io7m.idstore.user_client.internal

# Class IdUTransports1

java.lang.Object
com.io7m.idstore.user_client.internal.IdUTransports1

All Implemented Interfaces:
  `com.io7m.genevan.core.GenProtocolClientHandlerType`, `IdUTransportFactoryType`

public final class IdUTransports1 extends Object implements IdUTransportFactoryType
The factory of version 1 protocol transports.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IdUTransports1()`
  The factory of version 1 protocol transports.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `IdUTransportType`
  `createTransport(IdUClientConfiguration configuration, HttpClient inHttpClient, IdStrings inStrings, URI inBaseURI)`
  Create a new transport.
  `com.io7m.genevan.core.GenProtocolIdentifier`
  `supported()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface com.io7m.genevan.core.GenProtocolClientHandlerType

  `isCompatibleWith`

- ## Constructor Details

  - ### IdUTransports1

    public IdUTransports1()
    The factory of version 1 protocol transports.

- ## Method Details

  - ### supported

    public com.io7m.genevan.core.GenProtocolIdentifier supported()
    Specified by:
      `supported` in interface `com.io7m.genevan.core.GenProtocolClientHandlerType`

  - ### createTransport

    public IdUTransportType createTransport(IdUClientConfiguration configuration, HttpClient inHttpClient, IdStrings inStrings, URI inBaseURI)
    Description copied from interface: `IdUTransportFactoryType`
    Create a new transport.
    Specified by:
      `createTransport` in interface `IdUTransportFactoryType`
    Parameters:
      `configuration` - The configuration
      `inHttpClient` - The underlying HTTP client
      `inStrings` - The string resources
      `inBaseURI` - The base URI negotiated by the server
    Returns:
      A new handler