Class CATransports1
java.lang.Object
com.io7m.cardant.client.basic.internal.CATransports1
- All Implemented Interfaces:
CATransportFactoryType,com.io7m.genevan.core.GenProtocolClientHandlerType
The factory of version 1 protocol transports.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTransport(CAClientConfiguration configuration, HttpClient inHttpClient, CAStrings inStrings, URI inBaseURI) Create a new transport.com.io7m.genevan.core.GenProtocolIdentifiertoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.io7m.genevan.core.GenProtocolClientHandlerType
isCompatibleWith
-
Constructor Details
-
CATransports1
public CATransports1()The factory of version 1 protocol transports.
-
-
Method Details
-
supported
public com.io7m.genevan.core.GenProtocolIdentifier supported()- Specified by:
supportedin interfacecom.io7m.genevan.core.GenProtocolClientHandlerType
-
createTransport
public CATransportType createTransport(CAClientConfiguration configuration, HttpClient inHttpClient, CAStrings inStrings, URI inBaseURI) Description copied from interface:CATransportFactoryTypeCreate a new transport.- Specified by:
createTransportin interfaceCATransportFactoryType- Parameters:
configuration- The configurationinHttpClient- The underlying HTTP clientinStrings- The string resourcesinBaseURI- The base URI negotiated by the server- Returns:
- A new handler
-
toString
-