Class IdATransports1

java.lang.Object
com.io7m.idstore.admin_client.internal.IdATransports1
All Implemented Interfaces:
com.io7m.genevan.core.GenProtocolClientHandlerType, IdATransportFactoryType

public final class IdATransports1 extends Object implements IdATransportFactoryType
The factory of version 1 protocol transports.
  • Constructor Details

    • IdATransports1

      public IdATransports1()
      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 IdATransportType createTransport(IdAClientConfiguration configuration, HttpClient inHttpClient, IdStrings inStrings, URI inBaseURI)
      Description copied from interface: IdATransportFactoryType
      Create a new transport.
      Specified by:
      createTransport in interface IdATransportFactoryType
      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
    • toString

      public String toString()
      Overrides:
      toString in class Object