Package com.io7m.idstore.admin_client.internal

# Class IdAProtocolNegotiation

java.lang.Object
com.io7m.idstore.admin_client.internal.IdAProtocolNegotiation

public final class IdAProtocolNegotiation extends Object
Functions to negotiate protocols.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static IdAHandlerType`
  `negotiateProtocolHandler(IdAClientConfiguration configuration, HttpClient httpClient, IdStrings strings, URI base)`
  Negotiate a protocol handler.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### negotiateProtocolHandler

    public static IdAHandlerType negotiateProtocolHandler(IdAClientConfiguration configuration, HttpClient httpClient, IdStrings strings, URI base) throws IdAClientException, InterruptedException
    Negotiate a protocol handler.
    Parameters:
      `configuration` - The configuration
      `httpClient` - The HTTP client
      `strings` - The string resources
      `base` - The base URI
    Returns:
      The protocol handler
    Throws:
      `IdAClientException` - On errors
      `InterruptedException` - On interruption