Class CAHandlers1

java.lang.Object
com.io7m.cardant.client.basic.internal.CAHandlers1
All Implemented Interfaces:
CAHandlerFactoryType, com.io7m.genevan.core.GenProtocolClientHandlerType

public final class CAHandlers1 extends Object implements CAHandlerFactoryType
The factory of version 1 protocol handlers.
  • Constructor Details

    • CAHandlers1

      public CAHandlers1()
      The factory of version 1 protocol handlers.
  • Method Details

    • supported

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

      public CAHandlerType createHandler(CAClientConfiguration configuration, HttpClient inHttpClient, CAStrings inStrings, URI inBaseURI)
      Description copied from interface: CAHandlerFactoryType
      Create a new handler.
      Specified by:
      createHandler in interface CAHandlerFactoryType
      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