Class IdAProtocolNegotiation
java.lang.Object
com.io7m.idstore.admin_client.internal.IdAProtocolNegotiation
Functions to negotiate protocols.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IdAClientProtocolHandlerTypenegotiateProtocolHandler(Locale locale, HttpClient httpClient, IdAStrings strings, URI base) Negotiate a protocol handler.
-
Method Details
-
negotiateProtocolHandler
public static IdAClientProtocolHandlerType negotiateProtocolHandler(Locale locale, HttpClient httpClient, IdAStrings strings, URI base) throws IdAClientException, InterruptedException Negotiate a protocol handler.- Parameters:
locale- The localehttpClient- The HTTP clientstrings- The string resourcesbase- The base URI- Returns:
- The protocol handler
- Throws:
IdAClientException- On errorsInterruptedException- On interruption
-