Class IdUProtocolNegotiation
java.lang.Object
com.io7m.idstore.user_client.internal.IdUProtocolNegotiation
Functions to negotiate protocols.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdUTransportType
negotiateTransport
(IdUClientConfiguration configuration, HttpClient httpClient, IdStrings strings, URI base) Negotiate a protocol transport.
-
Method Details
-
negotiateTransport
public static IdUTransportType negotiateTransport(IdUClientConfiguration configuration, HttpClient httpClient, IdStrings strings, URI base) throws IdUClientException, InterruptedException Negotiate a protocol transport.- Parameters:
configuration
- The configurationhttpClient
- The HTTP clientstrings
- The string resourcesbase
- The base URI- Returns:
- The protocol transport
- Throws:
IdUClientException
- On errorsInterruptedException
- On interruption
-