Class IdUTransports1
java.lang.Object
com.io7m.idstore.user_client.internal.IdUTransports1
- All Implemented Interfaces:
com.io7m.genevan.core.GenProtocolClientHandlerType
,IdUTransportFactoryType
The factory of version 1 protocol transports.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateTransport
(IdUClientConfiguration configuration, HttpClient inHttpClient, IdStrings inStrings, URI inBaseURI) Create a new transport.com.io7m.genevan.core.GenProtocolIdentifier
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 interfacecom.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 interfaceIdUTransportFactoryType
- Parameters:
configuration
- The configurationinHttpClient
- The underlying HTTP clientinStrings
- The string resourcesinBaseURI
- The base URI negotiated by the server- Returns:
- A new handler
-