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 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